NullPointerException Error

Hello, I hope you can help me out with a Java excercise I am working on. I am using "Learn to Program with Java by John Smiley.
It involves error checking to see if the user clicks cancel without sending a required string or sending an empty string on a JOptionPane
prompt.
If you look at the code you will see what I mean. On my machine
it compiles fine. But when I run it, instead of returning a string with
message "You clicked on CANCEL button" or you sent an empty screen the program bombs
Specifically when click Cancel I get
NullPointerException error.
When I click OK on an empty string the program bombs black screen without any error messages.
Here is the code:
import javax.swing.JOptionPane;
class Excercise6_1
          static double adjustment=0;
          static double balance =0;
          static double newBalance=0;
     public static void main(String args[])
          String response;
          String moreBankingBusiness;
          moreBankingBusiness=JOptionPane.showInputDialog
          ("Do you want to do some banking?");
          moreBankingBusiness=moreBankingBusiness.toUpperCase();
          while(moreBankingBusiness.equals("YES"))
               response=JOptionPane.showInputDialog
               ("***Select Banking Options***\n\n"+
               "1 for deposit" + "\n"+"2 for withdrawal"+
               "\n" +"3 for balance query");
          response=JOptionPane.showInputDialog
          ("Enter subject number,(English:1,Maths:2,Science:3");
          if(response==null)
               JOptionPane.showMessageDialog
               (null,"You clicked CANCEL");
               System.exit(0);
          else if(response.equals(""))
               JOptionPane.showMessageDialog
               (null,"You sent and empty string");
               System.exit(0);
          }// end of while
     } // end of main
}// end of class
The curious thing is that the program actually worked initially which lead me to think it had to do with SDK getting corrupt.
I have reinstalled JDK and the IDE JCreator several times and still get
the same problem.
Would you be kind enough to provide some insight into the problem.?
I thank you in advance for your support and co-operation.
Regards
SS

The solution is already given but why it doesn't happen when pressed ok is because at that condition it returns an empty string i.e("") whereas if you press cancel it returns a null value.Try replacing the code below and you can understand everything.
try
moreBankingBusiness=JOptionPane.showInputDialog
("Do you want to do some banking?");
if(moreBankingBusiness.equals(""))
System.out.println("empty String");
System.exit(0);
moreBankingBusiness=moreBankingBusiness.toUpperCase();
catch(NullPointerException e)
System.out.println("we caught it");
System.exit(0);
}

Similar Messages

  • Cry for HELP!! -- ArrayList NullPointerException Error

    All,
    I keep getting a NullPointerException error when I attempt to add an object to an ArrayList. I have debugged in every possible place. The transfer of data between servlets and classes is good, because I'm printing them out to System.out (for debug purposes)... but adding the instantiated object to the arraylist keeps throwing NullPointer Error. Please review codes to help me determine error. I just can't figure this out! And this is due yesterday. Pls help!!!!
    the class Code:
    ===================================================
    import java.util.ArrayList;
    import java.lang.Long;
    import java.lang.Double;
    public class CellieRator
    public CellieRator()
    (just attributes initializations here. didn't initialize arraylist to null)
    ArrayList myfactors;
    class FactorsList
    long div;
    double safeCred;
    double ccp;
    double incLimit;
    double deductibleCredit;
    double schedDebCred;
    double drugCred;
    double ppdiscount;
    double waiversubrogation;
    double expenseconstant;
    double tria;
    double dtec;
    FactorsList()
    public void addMyFactors(long divin, Double safeCredin, Double ccpin, Double incLimitin, Double deductibleCreditin, Double schedDebCredin, Double drugCredin, Double ppdiscountin, Double waiversubrogationin, Double expenseconstantin, Double triain, Double dtecin)
    FactorsList fl = new FactorsList();
    fl.div = divin;
    fl.safeCred = safeCredin != null ? safeCredin.doubleValue() : 0.0;
    fl.incLimit = incLimitin != null ? incLimitin.doubleValue() : 0.0;
    fl.deductibleCredit = deductibleCreditin != null ? deductibleCreditin.doubleValue() : 0.0;
    fl.schedDebCred = schedDebCredin != null ? schedDebCredin.doubleValue() : 0.0;
    fl.drugCred = drugCredin != null ? drugCredin.doubleValue() : 0.0;
    fl.ppdiscount = ppdiscountin != null ? ppdiscountin.doubleValue() : 0.0;
    fl.waiversubrogation = waiversubrogationin != null ? waiversubrogationin.doubleValue() : 0.0;
    fl.expenseconstant = expenseconstantin != null ? expenseconstantin.doubleValue() : 0.0;
    fl.tria = triain != null ? triain.doubleValue() : 0.0;
    fl.dtec = dtecin != null ? dtecin.doubleValue() : 0.0;
    fl.ccp = ccpin != null ? ccpin.doubleValue() : 0.0;
    if(fl == null)
         System.out.println("fl object is null BUDDY!");
    else
         System.out.println("fl.ppdiscount == "+fl.ppdiscount);
         System.out.println("fl.expenseconstant == "+fl.expenseconstant);
         System.out.println("fl.ccp == "+fl.ccp);
         myfactors.add(fl); <<<<<nullpointerexception here>>>>>>
    servlet code:
    ================================
    CellieRator rator = new CellieRator();
    long factordiv = bipoldiv.getDivision().getId();
    Double expenseconstant = new Double(0.0);
    Double safetyCredit = bipoldiv.getSafetyCredit();
    if(safetyCredit == null)
    throw new Exception("safetyCredit IS NULL.");
    Double ccpAp = bipoldiv.getCcpAp();
    if(ccpAp == null)
         throw new Exception("ccpAp IS NULL.");
    Double incLimit = bipoldiv.getLiabilityFactor();
    if(incLimit == null)
         throw new Exception("incLimit IS NULL.");
    Double deductibleCredit = bipoldiv.getDeductFactor();
    if(deductibleCredit == null)
         throw new Exception("deductibleCredit IS NULL.");
    Double schedDebCred = bipoldiv.getScheduledDebitCreditFactor();
    if(schedDebCred == null)
         throw new Exception("schedDebCred IS NULL.");
    Double ppdiscount = bipoldiv.getPromptPaymentDiscount();
    if(ppdiscount == null)
         throw new Exception("ppdiscount IS NULL.");
    Double drugCred = bipoldiv.getDrugFree();
    if(drugCred == null)
         throw new Exception("drugCred IS NULL.");
    Double waiversubrogation = bipoldiv.getWaiverSubro();
    if(waiversubrogation == null)
         throw new Exception("waiversubrogation IS NULL.");
    Double tria = bipoldiv.getLcm();
    if(tria == null)
         throw new Exception("tria IS NULL.");
    Double dtec = bipoldiv.getLcm();
    if(dtec == null)
         throw new Exception("dtec IS NULL.");
    System.out.print(factordiv+" "+safetyCredit+" "+ccpAp+" "+incLimit+" "+deductibleCredit+" "+schedDebCred+" "+drugCred+" "+ppdiscount+" "+waiversubrogation+" "+expenseconstant+" "+tria+" "+dtec);
    rator.addMyFactors(factordiv, safetyCredit, ccpAp, incLimit, deductibleCredit, schedDebCred, drugCred, ppdiscount, waiversubrogation, expenseconstant, tria, dtec);<<<<<<<<<and nullpointerexception here>>>>>>>>>>>>>>>>>>>>>

    dude... fresh eyes always work... thanks... I thought i had already done that... but thanks again for the heads up

  • Help with NullPointerException error.

    Hey
    Im trying to learn java and im doing by creating a simpel text game, but im stock at this NullPointerException error.
    What i want to do is to set the currentRoom a player is in. The room objects i create in my game class and then i want to set outside as the startRoom of the game.
    Here is some of my game script:
    public class Game
        private Parser parser;
        private Item item;
        private Player player;
        private Room startRoom;
         * Create the game and initialise its internal map.
        public Game()
            createRooms();
            parser = new Parser();
         * Create all the rooms and link their exits together.
        private void createRooms()
            Room outside, theatre, pub, lab, office, cellar;
            Item knife, ball, rock, gun;
            Player player1;
            // create the players
            player1 = new Player("JJohnsenDK");
            // create the rooms
            outside = new Room("outside the main entrance of the university");
            pub = new Room("in the campus pub");
            lab = new Room("in a computing lab");
            office = new Room("in the computing admin office");
            // create the items
            knife = new Item("Spicey knife", "Instance kill, if hit in leg.", 1);
            ball = new Item("Glas ball", "Spreads poison in the air, if broken.", 1);
            rock = new Item("Giant rock", "Can't be lifted.", 500);
            gun = new Item("Colt rifel", "American army rifel.", 3);
            // initialise room exits
            outside.setExit("east", theatre);
            outside.setExit("south", lab);
            outside.setItem(rock, outside);
            pub.setExit("east", outside);
            pub.setItem(ball, pub);
            lab.setExit("north", outside);
            lab.setItem(gun, lab);
            office.setExit("west", lab);
            player1.setNextRoom(outside);
    private void printWelcome()
            System.out.println();
            System.out.println("Welcome to the World of Zuul!");
            System.out.println("World of Zuul is a new, incredibly boring adventure game.");
            System.out.println("Type 'help' if you need help.");
            System.out.println();
            System.out.println(player.getCurrentRoom().getLongDescription());
        }i get the error in this line: System.out.println(player.getCurrentRoom().getLongDescription());
    any help would be much appreciated.

    here is the part of the Player class that is used:
    public class Player
        private String username;
        private Room currentRoom;
        private boolean dropItem;
        private boolean pickUpItem;
        private HashMap<String, Item> inventory;
        private Item item;
        private Game game;
         * Constructor for objects of class Player
        public Player(String username)
            this.username = username;
            inventory = new HashMap<String, Item>();
        public void setNextRoom(Room room)
            currentRoom = room;  
         * Returns the current room that the player is in.
        public Room getCurrentRoom()
            return currentRoom;  
        }

  • Problem with a NullPointerException error

    Here is my code (it is only one class out of a program but I thought maybe I could get some help without haveing to post the whole program since it is fairly long.):
    import java.util.Formatter;
    import java.io.FileNotFoundException;
    public class PrintPage
         public Formatter output;
    public void Header()
         TodaysDate day = new TodaysDate();
              System.out.printf("%47s", "Robotics Design Report");
              System.out.println();
              System.out.printf("%49s", "Erik Lindow, Design Manager");
              System.out.println();
              System.out.printf("%39s", "Report Date ");
              day.DayShort();
              System.out.println("\n");
    public void Header2()
              System.out.printf("%41s%9s%21s\n", "Airplane", "Wing", "Minimum Air Speed");
              System.out.printf("%40s%10s%9s%10s\n", "Weight", "Area", "m/2", "mph");
              System.out.printf("------------------------------" + "%13s%10s", "-----------", "---------");
              System.out.printf("%10s%10s\n", "---------", "---------");
    public void FileHeader1()
              TodaysDate day = new TodaysDate();
              output.format("%47s", "Robotics Design Report" + "\n");
              output.format("%49s", "Erik Lindow, Design Mangaer" + "\n");
              output.format("%39s", "Report Date ");
              day.DayShort();
              output.format("\n\n");     
    public void FileHeader2()
              output.format("%41s%9s%21s\n", "Airplane", "Wing", "Minimum Air Speed");
              output.format("%40s%10s%9s%10s\n", "Weight", "Area", "m/2", "mph");
              output.format("------------------------------" + "%13s%10s", "-----------", "---------");
              output.format("%10s%10s\n", "---------", "---------");
    The problem I am having is that when I run the program I get a NullPointerException error at this line:
    output.format("%47s", "Robotics Design Report" + "\n");
    I don't know why I am getting the error. Also, I am trying to use Formatter to print out the results of this to a file that can be printed....is this the right syntax to do this?
    Thanks
    Erik

    Sorry about this but I am actually in a Java classAnd they asked you to write a fairly long program without teaching you how to instantiate objects in Java? Doesn't look good at all. Consider reading a good book on the subject, like Thinking In Java. The electronic version of the book is free.
    Also, the Java Developer's Almanac has extensive code samples.

  • Getting "java.lang.NullPointerException" error message when trying to run an OATS OpenScript file from Eclipse to Create a record in Oracle EBS

    Hello,
    I'm trying to run a simple OpenScript script in Eclipse that creates a record (a Supplier in this case) in Oracle E-Business Suite. So I copied the the script file from OpenScript and created it as a Class in Eclipse.  Then I created a main class to call the methods within the script class but no matter what method I call (initialize, run or finalize) I'm getting the java.lang.NullPointerException message. The error doesn't seem to be related with any specific line in the script but with the way that I'm calling it.
    Should I call the OpenScript class from my main class in a different way? (see my examples below)
    BTW, all external .jar files coming with OATS have been added to my project in Eclipse.
    1) Here's the main class I created to call the OpenScript method (Eclipse auto-corrected my main class adding a Try and Catch around the method call):
    public class Test {
        public static void main(String[] args) {
            nvscript nvs = new nvscript();
            try {
                nvs.initialize();
            } catch (Exception e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
    2) Here's the script from OpenScript (the actual script has more steps but I'm just using the first one for a proof of concept):
    import oracle.oats.scripting.modules.basic.api.*;
    import oracle.oats.scripting.modules.browser.api.*;
    import oracle.oats.scripting.modules.functionalTest.api.*;
    import oracle.oats.scripting.modules.utilities.api.*;
    import oracle.oats.scripting.modules.utilities.api.sql.*;
    import oracle.oats.scripting.modules.utilities.api.xml.*;
    import oracle.oats.scripting.modules.utilities.api.file.*;
    import oracle.oats.scripting.modules.webdom.api.*;
    import oracle.oats.scripting.modules.formsFT.api.*;
    import oracle.oats.scripting.modules.applet.api.*;
    public class nvscript extends IteratingVUserScript {
        @ScriptService oracle.oats.scripting.modules.utilities.api.UtilitiesService utilities;
        @ScriptService oracle.oats.scripting.modules.browser.api.BrowserService browser;
        @ScriptService oracle.oats.scripting.modules.functionalTest.api.FunctionalTestService ft;
        @ScriptService oracle.oats.scripting.modules.webdom.api.WebDomService web;
        @ScriptService oracle.oats.scripting.modules.applet.api.AppletService applet;
        @ScriptService oracle.oats.scripting.modules.formsFT.api.FormsService forms;
        public void initialize() throws Exception {
            this.getSettings().set("formsft.useformsonly",true);
            browser.launch();
        public void run() throws Exception {
            beginStep(
                    "[1] E-Business Suite Home Page Redirect (/ebs12cloud.winshuttle.com:8000/)",
                    0);
                web.window(2, "/web:window[@index='0' or @title='about:blank']")
                        .navigate("http://ebs12.xxxxxxx.com:8000/");
                web.window(4, "/web:window[@index='0' or @title='Login']")
                        .waitForPage(null);
                    think(4.969);
                web.textBox(
                        7,
                        "/web:window[@index='0' or @title='Login']/web:document[@index='0']/web:form[@id='DefaultFormName' or @name='DefaultFormName' or @index='0']/web:input_text[@id='usernameField' or @name='usernameField' or @index='0']")
                        .setText("winshuttle_user");
                    think(2.0);
                web.textBox(
                        8,
                        "/web:window[@index='0' or @title='Login']/web:document[@index='0']/web:form[@id='DefaultFormName' or @name='DefaultFormName' or @index='0']/web:input_password[@id='passwordField' or @name='passwordField' or @index='0']")
                        .click();
                    think(1.109);
                web.textBox(
                        9,
                        "/web:window[@index='0' or @title='Login']/web:document[@index='0']/web:form[@id='DefaultFormName' or @name='DefaultFormName' or @index='0']/web:input_password[@id='passwordField' or @name='passwordField' or @index='0']")
                        .setPassword(deobfuscate("kjhkjhkj=="));
                    think(1.516);
                web.button(
                        10,
                        "/web:window[@index='0' or @title='Login']/web:document[@index='0']/web:form[@id='DefaultFormName' or @name='DefaultFormName' or @index='0']/web:button[@id='SubmitButton' or @value='Login' or @index='0']")
                        .click();
            endStep();
        public void finish() throws Exception {       
    3) Here's the error messages I'm getting based on the method I call from my main class:
    3.a) when calling Initialize():
    java.lang.NullPointerException
        at oracle.oats.scripting.modules.basic.api.IteratingVUserScript.getSettings(IteratingVUserScript.java:723)
        at nvscript.initialize(nvscript.java:22)
        at Test.main(Test.java:9)
    3 b) when calling Run():
    java.lang.NullPointerException
        at oracle.oats.scripting.modules.basic.api.IteratingVUserScript.beginStep(IteratingVUserScript.java:260)
        at nvscript.run(nvscript.java:30)
        at Test.main(Test.java:9)
    Any help and/or constructive comment will be appreciated it.
    Thanks.
    Federico.

    UPDATE
    Compiling from command line I found out that the class definition for oracle.oats.scripting.modules.basic.api.IteratingVUserScript is missing. Do you know what .jar file contains this class?
    Thanks.
    Fede.

  • XML Publisher NullPointerException error

    Please can anyone tell me how to deploy xml publisher Matrix(Cross tab) report in oracle EBS R12 server. If i removed pivot table the report works fine but with pivot table,it gives error.
    when i preview the pivot report in my local system, the report works fine but when i upload it to EBS server it gives error.after searching through internet,i found that we need to change the report format from "RTF" to "XSL-FO" (XML Publisher Templates) in order to publish XML publisher files that uses pivot table and also upload the document to "xsl" format.
    but still when i submit the report for printing it gives following error:
    XDO Data Engine Version No: 5.6.3
    Resp: 51184
    Org ID : 84
    Request ID: 1949261
    All Parameters: P_ORGID=84:P_AUCTIONID=111048
    Data Template Code: XXPBAD_RFQ2
    Data Template Application Short Name: PON
    Debug Flag: N
    {P_ORGID=84, P_AUCTIONID=111048}
    Calling XDO Data Engine...
    java.lang.NullPointerException
    at oracle.apps.xdo.oa.util.DataTemplate.getDataTemplate(DataTemplate.java:379)
    at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:226)
    at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:283)
    at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    I am calling a standard java concurrent program"XML Publisher Data Template Executable (XDODTEXE ) " to call the report. Any help?

    I am totally stuck on this. Please can anyone tell me how to deploy xml publisher Matrix(Cross tab) report in oracle EBS R12 server. If i removed pivot table the report works fine but with pivot table,it gives error.
    when i preview the pivot report in my local system, the report works fine but when i upload it to EBS server it gives error.

  • NullPointerException Error when loading a JPG file...

    I started a new job recently and have enherited some new JAVA code. I understand most of what is going on here (with the help of several good books). I can compile the code (with this code snippit) with no errors, but I get a NullPointerException during runtime. The error comes when I try to load "images/plasticslogo.jpg". The filename and path all appear to be correct. There is a Java Package created (called images) with the image in there. I have come to the end of my resources to resolve this problem. Can anyone help???
    ERROR MESSAGE:
    java.lang.NullPointerException
            at javax.swing.ImageIcon.<init>(ImageIcon.java:138)
            at lhp.LHPSplashScreen.initComponents(LHPSplashScreen.java:64)
            at lhp.LHPSplashScreen.<init>(LHPSplashScreen.java:11)
            at lhp.LHPEventViewer.main(LHPEventViewer.java:71)
    END ERROR MESSAGE
    private void initComponents() {
            pnlMain = new JPanel();
            lblTitle = new JLabel();
            lblVerLabel = new JLabel();
            lblVersion = new JLabel();
            lblAuthor = new JLabel();
            lblImage = new JLabel();
            getContentPane().setLayout(null);
            setBackground(java.awt.Color.white);
            addWindowListener(new java.awt.event.WindowAdapter() {
                public void windowClosing(java.awt.event.WindowEvent evt) {
                    exitForm(evt);
            pnlMain.setLayout(null);
            pnlMain.setBackground(new java.awt.Color(255, 255, 255));
            pnlMain.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(0, 0, 0), 2));
            lblTitle.setFont(new java.awt.Font("Arial", 1, 18));
            lblTitle.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
            lblTitle.setText("Line Hour Productivity");
            pnlMain.add(lblTitle);
            lblTitle.setBounds(0, 70, 200, 22);
            lblVerLabel.setFont(new java.awt.Font("Arial", 0, 12));
            lblVerLabel.setText("Version:");
            pnlMain.add(lblVerLabel);
            lblVerLabel.setBounds(3, 87, 50, 20);
            lblVersion.setFont(new java.awt.Font("Arial", 0, 12));
            pnlMain.add(lblVersion);
            lblVersion.setBounds(50, 87, 50, 20);
            lblAuthor.setFont(new java.awt.Font("Tahoma", 0, 10));
            lblAuthor.setText("Written By: Granite Services, Inc.");
            pnlMain.add(lblAuthor);
            lblAuthor.setBounds(100, 87, 156, 20);
    lblImage.setIcon(new ImageIcon(getClass().getResource("images/plasticslogo.jpg")));       
            pnlMain.add(lblImage);
            lblImage.setBounds(2, 10, 198, 64);
            getContentPane().add(pnlMain);
            pnlMain.setBounds(0, 0, 256, 107);
        }

    Hiwa,
    Please note that the code usesClass.getResource().
    This 'small change' is not necessary for a simple
    resource stored in a subdirectory.Actually, if you dont add the '/' prefix, then the package name will the
    prepended. i.e it would search for the image file under abc.xyz. images
    package, where abc.xyz is the package name for the current class.
    Javadoc for Class.getStream..
    public URL getResource(String name)
    Finds a resource with a given name. This method returns null if no resource with this name is found. The rules for searching resources associated with a given class are implemented by the * defining class loader of the class.
    This method delegates the call to its class loader, after making these changes to the resource name: if the resource name starts with "/", it is unchanged; otherwise, the package name is prepended to the resource name after converting "." to "/". If this object was loaded by the bootstrap loader, the call is delegated to ClassLoader.getSystemResource.

  • Java.lang.NullPointerException errors when creating an object in Int.Build.

    We are on XI 7.0 AIX 64bit
    When we try to create an object in Integration Builder we get following errors:
    Internal Problem Occured (Internal Problem)
    java.lang.NullPointerException
    I have seen similar topics reported. They pointed to problems with SDK 1.4.2_10
    We have downgraded our Java 64 on AIX from SR6 back to SR5. So I guess we are back on SDK 1.4.2_2 (in AIX versions are slightly different and the version of SDK is shown as 1.4.2.75 as oposed to previous 1.4.2.100)
    Unfortunately downgrade of JAVA did not fix our problem. Did anyone managed to fix this? This is pretty much stopping us from doing anything on XI:(
    Here is the detailed log we are getting:
    #12 11:33:53 [AWT-EventQueue-0] FINE AutoLog.created.com.sap.aii.utilxi.swing.framework.FrameworkException: com.sap.aii.utilxi.swing.framework.FrameworkException: Internal problem occurred
         at com.sap.aii.utilxi.swing.toolkit.ExceptionDialog.init(ExceptionDialog.java:116)
         at com.sap.aii.utilxi.swing.toolkit.ExceptionDialog.<init>(ExceptionDialog.java:93)
         at com.sap.aii.utilxi.swing.toolkit.Guitilities.showExceptionDialog(Guitilities.java:1137)
         at com.sap.aii.utilxi.swing.framework.ExecutionContext.executeSafe(ExecutionContext.java:162)
         at com.sap.aii.ibdir.gui.scenario.wizard.CACreatePanel.postCreate(CACreatePanel.java:201)
         at com.sap.aii.utilxi.swing.framework.CreateDialog.doFakeCreate(CreateDialog.java:408)
         at com.sap.aii.utilxi.swing.framework.CreateDialog.doCreate(CreateDialog.java:392)
         at com.sap.aii.utilxi.swing.framework.CreateDialog.access$100(CreateDialog.java:50)
         at com.sap.aii.utilxi.swing.framework.CreateDialog$CreateAction.actionPerformed(CreateDialog.java:382)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.Dialog$1.run(Unknown Source)
         at java.awt.Dialog.show(Unknown Source)
         at com.sap.aii.utilxi.swing.toolkit.BaseDialog.show(BaseDialog.java:320)
         at java.awt.Component.show(Unknown Source)
         at java.awt.Component.setVisible(Unknown Source)
         at com.sap.aii.utilxi.swing.framework.CreateDialog.showDialog(CreateDialog.java:149)
         at com.sap.aii.utilxi.swing.framework.cmd.CreateCommand.execute(CreateCommand.java:110)
         at com.sap.aii.utilxi.swing.framework.ExecutionContext.execute(ExecutionContext.java:196)
         at com.sap.aii.utilxi.swing.framework.ExecutionContext.executeSafe(ExecutionContext.java:134)
         at com.sap.aii.utilxi.swing.framework.CommandAction.actionPerformed(CommandAction.java:69)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    #11 11:33:53 [AWT-EventQueue-0] DEBUG AutoLog.created.com.sap.aii.utilxi.swing.framework.FrameworkException: Internal problem occurred
    #10 11:33:53 [AWT-EventQueue-0] FINE AutoLog.created.java.lang.NullPointerException: java.lang.NullPointerException
         at com.sap.aii.ibdir.gui.scenario.wizard.page.PageFactory.createPageById(PageFactory.java:477)
         at com.sap.aii.ibdir.gui.scenario.wizard.page.PageFactory.getPageById(PageFactory.java:516)
         at com.sap.aii.ibdir.gui.scenario.wizard.page.PageFactory.getPageByNumber(PageFactory.java:527)
         at com.sap.aii.ibdir.gui.scenario.wizard.page.ProxyPage.update(ProxyPage.java:55)
         at com.sap.aii.ibdir.gui.scenario.wizard.core.WizardContext.publishPage(WizardContext.java:2022)
         at com.sap.aii.ibdir.gui.scenario.wizard.core.WizardContext.processPageEvent(WizardContext.java:285)
         at com.sap.aii.utilxi.swing.framework.wizard.BasicWizard.firePageEvent(BasicWizard.java:64)
         at com.sap.aii.utilxi.swing.framework.wizard.BasicWizard.setCurrentPage(BasicWizard.java:123)
         at com.sap.aii.utilxi.swing.framework.wizard.BasicWizardDialog$WizardSelect.valueChanged(BasicWizardDialog.java:308)
         at javax.swing.JList.fireSelectionValueChanged(Unknown Source)
         at javax.swing.JList$ListSelectionHandler.valueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
         at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
         at javax.swing.DefaultListSelectionModel.setSelectionInterval(Unknown Source)
         at com.sap.aii.utilxi.swing.framework.wizard.BasicWizardDialog$StepListModel.setSelectionInterval(BasicWizardDialog.java:337)
         at javax.swing.JList.setSelectedIndex(Unknown Source)
         at com.sap.aii.utilxi.swing.framework.wizard.BasicWizardDialog.setInitPages(BasicWizardDialog.java:152)
         at com.sap.aii.utilxi.swing.framework.wizard.BasicWizardDialog.showDialog(BasicWizardDialog.java:74)
         at com.sap.aii.ibdir.gui.scenario.wizard.ConfigurationWizardCommand.execute(ConfigurationWizardCommand.java:80)
         at com.sap.aii.utilxi.swing.framework.ExecutionContext.execute(ExecutionContext.java:196)
         at com.sap.aii.utilxi.swing.framework.ExecutionContext.executeSafe(ExecutionContext.java:134)
         at com.sap.aii.ibdir.gui.scenario.wizard.CACreatePanel.postCreate(CACreatePanel.java:201)
         at com.sap.aii.utilxi.swing.framework.CreateDialog.doFakeCreate(CreateDialog.java:408)
         at com.sap.aii.utilxi.swing.framework.CreateDialog.doCreate(CreateDialog.java:392)
         at com.sap.aii.utilxi.swing.framework.CreateDialog.access$100(CreateDialog.java:50)
         at com.sap.aii.utilxi.swing.framework.CreateDialog$CreateAction.actionPerformed(CreateDialog.java:382)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.Dialog$1.run(Unknown Source)
         at java.awt.Dialog.show(Unknown Source)
         at com.sap.aii.utilxi.swing.toolkit.BaseDialog.show(BaseDialog.java:320)
         at java.awt.Component.show(Unknown Source)
         at java.awt.Component.setVisible(Unknown Source)
         at com.sap.aii.utilxi.swing.framework.CreateDialog.showDialog(CreateDialog.java:149)
         at com.sap.aii.utilxi.swing.framework.cmd.CreateCommand.execute(CreateCommand.java:110)
         at com.sap.aii.utilxi.swing.framework.ExecutionContext.execute(ExecutionContext.java:196)
         at com.sap.aii.utilxi.swing.framework.ExecutionContext.executeSafe(ExecutionContext.java:134)
         at com.sap.aii.utilxi.swing.framework.CommandAction.actionPerformed(CommandAction.java:69)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    #9 11:33:53 [AWT-EventQueue-0] DEBUG AutoLog.created.java.lang.NullPointerException: null
    #8 11:33:53 [AWT-EventQueue-0] ERROR com.sap.aii.utilxi.swing.toolkit.ExceptionDialog: Throwable
    Thrown:
    java.lang.NullPointerException: null
         at com.sap.aii.ibdir.gui.scenario.wizard.page.PageFactory.createPageById(PageFactory.java:477)
         at com.sap.aii.ibdir.gui.scenario.wizard.page.PageFactory.getPageById(PageFactory.java:516)
         at com.sap.aii.ibdir.gui.scenario.wizard.page.PageFactory.getPageByNumber(PageFactory.java:527)
         at com.sap.aii.ibdir.gui.scenario.wizard.page.ProxyPage.update(ProxyPage.java:55)
         at com.sap.aii.ibdir.gui.scenario.wizard.core.WizardContext.publishPage(WizardContext.java:2022)
         at com.sap.aii.ibdir.gui.scenario.wizard.core.WizardContext.processPageEvent(WizardContext.java:285)
         at com.sap.aii.utilxi.swing.framework.wizard.BasicWizard.firePageEvent(BasicWizard.java:64)
         at com.sap.aii.utilxi.swing.framework.wizard.BasicWizard.setCurrentPage(BasicWizard.java:123)
         at com.sap.aii.utilxi.swing.framework.wizard.BasicWizardDialog$WizardSelect.valueChanged(BasicWizardDialog.java:308)
         at javax.swing.JList.fireSelectionValueChanged(Unknown Source)
         at javax.swing.JList$ListSelectionHandler.valueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
         at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
         at javax.swing.DefaultListSelectionModel.setSelectionInterval(Unknown Source)
         at com.sap.aii.utilxi.swing.framework.wizard.BasicWizardDialog$StepListModel.setSelectionInterval(BasicWizardDialog.java:337)
         at javax.swing.JList.setSelectedIndex(Unknown Source)
         at com.sap.aii.utilxi.swing.framework.wizard.BasicWizardDialog.setInitPages(BasicWizardDialog.java:152)
         at com.sap.aii.utilxi.swing.framework.wizard.BasicWizardDialog.showDialog(BasicWizardDialog.java:74)
         at com.sap.aii.ibdir.gui.scenario.wizard.ConfigurationWizardCommand.execute(ConfigurationWizardCommand.java:80)
         at com.sap.aii.utilxi.swing.framework.ExecutionContext.execute(ExecutionContext.java:196)
         at com.sap.aii.utilxi.swing.framework.ExecutionContext.executeSafe(ExecutionContext.java:134)
         at com.sap.aii.ibdir.gui.scenario.wizard.CACreatePanel.postCreate(CACreatePanel.java:201)
         at com.sap.aii.utilxi.swing.framework.CreateDialog.doFakeCreate(CreateDialog.java:408)
         at com.sap.aii.utilxi.swing.framework.CreateDialog.doCreate(CreateDialog.java:392)
         at com.sap.aii.utilxi.swing.framework.CreateDialog.access$100(CreateDialog.java:50)
         at com.sap.aii.utilxi.swing.framework.CreateDialog$CreateAction.actionPerformed(CreateDialog.java:382)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.Dialog$1.run(Unknown Source)
         at java.awt.Dialog.show(Unknown Source)
         at com.sap.aii.utilxi.swing.toolkit.BaseDialog.show(BaseDialog.java:320)
         at java.awt.Component.show(Unknown Source)
         at java.awt.Component.setVisible(Unknown Source)
         at com.sap.aii.utilxi.swing.framework.CreateDialog.showDialog(CreateDialog.java:149)
         at com.sap.aii.utilxi.swing.framework.cmd.CreateCommand.execute(CreateCommand.java:110)
         at com.sap.aii.utilxi.swing.framework.ExecutionContext.execute(ExecutionContext.java:196)
         at com.sap.aii.utilxi.swing.framework.ExecutionContext.executeSafe(ExecutionContext.java:134)
         at com.sap.aii.utilxi.swing.framework.CommandAction.actionPerformed(CommandAction.java:69)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    #7 11:33:23 [AWT-EventQueue-0] FINE AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "ConfAsstntHelp" is not registered in the service class Type Service - Type Information
         at com.sap.aii.ib.core.service.ServiceBase.getServiceImpl(ServiceBase.java:71)
         at com.sap.aii.ib.bom.gen.TypeServiceImpl.getTypeInformation(TypeServiceImpl.java:82)
         at com.sap.aii.ib.gui.xiitem.services.InternalXiItemService.getTypeInfo(InternalXiItemService.java:23)
         at com.sap.aii.ib.gui.xiitem.services.InternalXiItemService.createEmptyXiItem(InternalXiItemService.java:92)
         at com.sap.aii.ib.gui.xiitem.services.XiItemServiceProvider.createEmptyXiItem(XiItemServiceProvider.java:97)
         at com.sap.aii.ib.gui.xiitem.services.InternalXiItemServiceBase.<init>(InternalXiItemServiceBase.java:38)
         at com.sap.aii.ib.gui.xiitem.services.InternalXiItemServiceBase.<init>(InternalXiItemServiceBase.java:25)
         at com.sap.aii.ibdir.gui.xiitem.DirInternalXiItemService$ForConfAssistantHelp.<init>(DirInternalXiItemService.java:607)
         at com.sap.aii.ibdir.gui.applcomp.StartupCodeEntry.localStartup(StartupCodeEntry.java:119)
         at com.sap.aii.ibdir.gui.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:73)
         at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33)
         at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponentImpl.startup(ExplicitApplicationComponentImpl.java:116)
         at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponents.startup(ExplicitApplicationComponents.java:383)
         at com.sap.aii.ib.core.applcomp.ApplicationComponent.startup(ApplicationComponent.java:209)
         at com.sap.aii.ib.gui.login.SplashLoginFrame$6.run(SplashLoginFrame.java:429)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    #6 11:33:23 [AWT-EventQueue-0] DEBUG AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "ConfAsstntHelp" is not registered in the service class Type Service - Type Information
    #5 11:33:23 [AWT-EventQueue-0] FINE AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "TypeGroupFolder" is not registered in the service class Type Service - Type Information
         at com.sap.aii.ib.core.service.ServiceBase.getServiceImpl(ServiceBase.java:71)
         at com.sap.aii.ib.bom.gen.TypeServiceImpl.getTypeInformation(TypeServiceImpl.java:82)
         at com.sap.aii.ib.gui.xiitem.services.InternalXiItemService.getTypeInfo(InternalXiItemService.java:23)
         at com.sap.aii.ib.gui.xiitem.services.InternalXiItemService.createEmptyXiItem(InternalXiItemService.java:92)
         at com.sap.aii.ib.gui.xiitem.services.XiItemServiceProvider.createEmptyXiItem(XiItemServiceProvider.java:97)
         at com.sap.aii.ib.gui.xiitem.services.InternalXiItemServiceBase.<init>(InternalXiItemServiceBase.java:38)
         at com.sap.aii.ib.gui.xiitem.services.InternalXiItemServiceBase.<init>(InternalXiItemServiceBase.java:25)
         at com.sap.aii.ibdir.gui.xiitem.DirInternalXiItemService$ForFolder.<init>(DirInternalXiItemService.java:752)
         at com.sap.aii.ibdir.gui.applcomp.StartupCodeEntry.localStartup(StartupCodeEntry.java:113)
         at com.sap.aii.ibdir.gui.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:73)
         at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33)
         at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponentImpl.startup(ExplicitApplicationComponentImpl.java:116)
         at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponents.startup(ExplicitApplicationComponents.java:383)
         at com.sap.aii.ib.core.applcomp.ApplicationComponent.startup(ApplicationComponent.java:209)
         at com.sap.aii.ib.gui.login.SplashLoginFrame$6.run(SplashLoginFrame.java:429)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    #4 11:33:23 [AWT-EventQueue-0] DEBUG AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "TypeGroupFolder" is not registered in the service class Type Service - Type Information
    #3 11:33:22 [AWT-EventQueue-0] FINE AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "TypeConntestObj" is not registered in the service class Type Service - Type Information
         at com.sap.aii.ib.core.service.ServiceBase.getServiceImpl(ServiceBase.java:71)
         at com.sap.aii.ib.bom.gen.TypeServiceImpl.getTypeInformation(TypeServiceImpl.java:82)
         at com.sap.aii.ib.gui.xiitem.services.InternalXiItemService.getTypeInfo(InternalXiItemService.java:23)
         at com.sap.aii.ib.gui.xiitem.services.InternalXiItemService.createEmptyXiItem(InternalXiItemService.java:92)
         at com.sap.aii.ib.gui.xiitem.services.XiItemServiceProvider.createEmptyXiItem(XiItemServiceProvider.java:97)
         at com.sap.aii.ib.gui.xiitem.InternalXiItemServiceForNameNamespaceObjects.addType(InternalXiItemServiceForNameNamespaceObjects.java:68)
         at com.sap.aii.ib.gui.xiitem.InternalXiItemServiceForNameNamespaceObjects.<init>(InternalXiItemServiceForNameNamespaceObjects.java:55)
         at com.sap.aii.ib.gui.applcomp.StartupCodeEntry.guiStartup(StartupCodeEntry.java:151)
         at com.sap.aii.ib.gui.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:108)
         at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33)
         at com.sap.aii.ibdir.gui.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:52)
         at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33)
         at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponentImpl.startup(ExplicitApplicationComponentImpl.java:116)
         at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponents.startup(ExplicitApplicationComponents.java:383)
         at com.sap.aii.ib.core.applcomp.ApplicationComponent.startup(ApplicationComponent.java:209)
         at com.sap.aii.ib.gui.login.SplashLoginFrame$6.run(SplashLoginFrame.java:429)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    #2 11:33:22 [AWT-EventQueue-0] DEBUG AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "TypeConntestObj" is not registered in the service class Type Service - Type Information
    #1 11:33:22 [AWT-EventQueue-0] FINE AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "versConflList" is not registered in the service class Type Service - Type Information
         at com.sap.aii.ib.core.service.ServiceBase.getServiceImpl(ServiceBase.java:71)
         at com.sap.aii.ib.bom.gen.TypeServiceImpl.getTypeInformation(TypeServiceImpl.java:82)
         at com.sap.aii.ib.gui.xiitem.services.InternalXiItemService.getTypeInfo(InternalXiItemService.java:23)
         at com.sap.aii.ib.gui.xiitem.services.InternalXiItemServiceBase.<init>(InternalXiItemServiceBase.java:44)
         at com.sap.aii.ib.gui.xiitem.CommonInternalXiItemService$ForVersionConflictList.<init>(CommonInternalXiItemService.java:326)
         at com.sap.aii.ib.gui.applcomp.StartupCodeEntry.guiStartup(StartupCodeEntry.java:147)
         at com.sap.aii.ib.gui.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:108)
         at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33)
         at com.sap.aii.ibdir.gui.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:52)
         at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33)
         at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponentImpl.startup(ExplicitApplicationComponentImpl.java:116)
         at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponents.startup(ExplicitApplicationComponents.java:383)
         at com.sap.aii.ib.core.applcomp.ApplicationComponent.startup(ApplicationComponent.java:209)
         at com.sap.aii.ib.gui.login.SplashLoginFrame$6.run(SplashLoginFrame.java:429)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    #0 11:33:22 [AWT-EventQueue-0] DEBUG AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "versConflList" is not registered in the service class Type Service - Type Information

    Hi Robert,
    For the same issue I follwed as below.Hope to sort out this problem.
    1)check after installing J2sdk1.4.2.13(you are with 1.42.75(might be some problem with upgrade version.I am not sure)
    2)Restart the J2EE engine.
    3)check the post installation steps again.
    Atlast, I solved this problem after Re-doing the post installation steps and above 2 process. I am not sure from which process it was resolved.
    Regards
    Sridhar

  • Exception in thread "main" java.lang.NullPointerException error JDeveloper 12c

    Hello,
    I am trying to call a java stored procedure in java application. I am using ORACLE database and JDeveloper.
    I am getting error "Exception in thread "main" java.lang.NullPointerException. I have no idea what have I been doing wrong.
    I have a table "Beer" and I want to select all the data out with a stored procedure which I call out of Java app.
    I have a java.class file Store_A.java which I have loaded into the ORACLE database with LOADJAVA :
        import java.sql.*;
        import java.io.*;
        public class Store_a {
          public static void apskatit ()
            throws SQLException
            { String sql =
              "SELECT * FROM Beer";
            try { Connection conn = DriverManager.getConnection("jdbc:default:connection:");
              PreparedStatement pstmt = conn.prepareStatement(sql);
              ResultSet rset = pstmt.executeQuery();
              rset.close();
              pstmt.close();
            catch (SQLException e) {System.err.println(e.getMessage());
    Then I have created a procedure which I plan to call out in java:
        CREATE OR REPLACE PACKAGE Store_a AS
        PROCEDURE apskatit;
        END Store_a;
        CREATE OR REPLACE PACKAGE BODY Store_a AS
        PROCEDURE apskatit AS LANGUAGE JAVA
        NAME 'Store_a.apskatit()';
        END Store_a;
    And I have a java file that I have created with JDeveloper 12c:
        import java.sql.Connection;
        import java.sql.DriverManager;
        import java.sql.ResultSet;
        import java.sql.SQLException;
        public class Class1 {
             * @param args
            public static void main(String[] args) throws SQLException {
                Connection conn = null;
                try {
                    Class.forName("oracle.jdbc.driver.OracleDriver");
                    //Izveidojam savienojumu
                    conn = DriverManager.getConnection("jdbc.oracle.thin:@localhost:1521", "SYSTEM", "asdasd");
                    // Izveidojam callable statement
                    CallableStatement stmt = conn.prepareCall("CALL Store_a.apskatit()");
                    ResultSet resul = stmt.executeQuery();
                    while (resul.next()) {
                        System.out.println(resul.getInt(1) + "\t" + resul.getString(2));
                } catch (ClassNotFoundException e) {
                    e.printStackTrace();
                } finally {
                    try {
                        conn.close();
                    } catch (SQLException e) {
                        e.printStackTrace();
    When I try to run the java file, I get this error "Exception in thread "main" java.lang.NullPointerException at client.Class1.main(Class1.java:29).
    So the line I get error in is "conn.close();"
    How to fix this?
    Thank you very much in advance.

    I am trying to call a java stored procedure in java application. I am using ORACLE database and JDeveloper.
    I am getting error "Exception in thread "main" java.lang.NullPointerException. I have no idea what have I been doing wrong.
    Maybe you haven't read it yet but I told you in your other thread what you were doing wrong and, step by step, how to address the problem.
    https://forums.oracle.com/thread/2611124
    I'm not going to repeat everything again just this one main piece of advice:
    Until you get you code working outside the database don't even bother trying to load it into the DB and create a Java stored procedure.
    You are trying to deal with too many different issues at the same time. Unless you solve your primary Java problem by fixing the code outside the DB you will have nothing but problems loading it into the DB.
    And just get rid of this line of code - you don't need it anymore and it hasn't been done like that for many years now:
    Class.forName("oracle.jdbc.driver.OracleDriver");

  • Java.lang.NullPointerException  error in ESS Leave Request

    Hi,
       I had configured ESS and i'am trying to apply Leave through Leave Request iview which is available through ESS,i had enterd data into the fields and i had defined Approver in back end system,Now when i click on review button it is throwing me this error
    "The initial exception that caused the request to fail, was:
       java.lang.NullPointerException
        at com.sap.tc.webdynpro.repository.model.DelegatorRepositoryModelClass.setRelatedModelObject(DelegatorRepositoryModelClass.java:668)
        at com.sap.tc.webdynpro.progmodel.repository.IWDViewUsageInfo$Implementation.setComponentUsageInternal(IWDViewUsageInfo.java:413)
        at com.sap.tc.webdynpro.progmodel.repository.IWDViewUsageInfo$Implementation.setComponentUsage(IWDViewUsageInfo.java:698)
        at com.sap.pcuigp.xssfpm.wd.FPMComponent.buildNextViewAssembly(FPMComponent.java:300)
        at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.buildNextViewAssembly(InternalFPMComponent.java:153)
    java.lang.NullPointerException
    *     at com.sap.tc.webdynpro.repository.model.DelegatorRepositoryModelClass.setRelatedModelObject(DelegatorRepositoryModelClass.java:668)*
    *     at com.sap.tc.webdynpro.progmodel.repository.IWDViewUsageInfo$Implementation.setComponentUsageInternal(IWDViewUsageInfo.java:413)*
    *     at com.sap.tc.webdynpro.progmodel.repository.IWDViewUsageInfo$Implementation.setComponentUsage(IWDViewUsageInfo.java:698)*
    *     at com.sap.pcuigp.xssfpm.wd.FPMComponent.buildNextViewAssembly(FPMComponent.java:300)*
    *     at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.buildNextViewAssembly(InternalFPMComponent.java:153)*
    *     at com.sap.pcuigp.xssfpm.wd.AssemblyModificationView.onPlugIn(AssemblyModificationView.java:128)*
    *     at com.sap.pcuigp.xssfpm.wd.wdp.InternalAssemblyModificationView.wdInvokeEventHandler(InternalAssemblyModificationView.java:130)*
    *     at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)*
    *     at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:826)*
    *     at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:873)*
    *     at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)*
    *     at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)*
    *     at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)*
    *     at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)*
    *     at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)*
    *     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:731)*
    *     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:667)*
    *     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)*
    *     at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)*
    *     at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)*
    *     at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:879)*
    *     at com.sap.tc.webdynpro.portal.pb.impl.localwd.LocalApplicationProxy.sendDataAndProcessAction(LocalApplicationProxy.java:77)*
    *     at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1291)*
    *     at com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:325)*
    *     at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:831)*
    *     at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)*
    *     at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)*
    *     at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)*
    *     at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)*
    *     at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)*
    *     at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)*
    *     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)*
    *     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)*
    *     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)*
    *     at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)*
    *     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)*
    *     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)*
    *     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)*
    *     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)*
    *     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)*
    *     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)*
    *     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)*
    *     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)*
    *     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)*
    *     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)*
    *     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)*
    *     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)*
    *     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)*
    *     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)*
    *     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)*
    *     at java.security.AccessController.doPrivileged(Native Method)*
    *     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)*
    *     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)*"
    Please guide me in this issue .
    With Regards
    Praveen

    http://help.sap.com/saphelp_erp2005vp/helpdata/en/f6/263359f8c14ef98384ae7a2becd156/frameset.htm
    complete the configuration from the link.
    Check out the prerequisites section ... you will find the node that u need to configure.
    Cheers!!
    Ashutosh

  • Java.lang.NullPointerException Error in Leave Request tab of ESS in Portal

    Hello All,
    I have configurted ESS/MSS on EP 7.01 SP03, but it is giving error in almost every tab.
    When i navigate in to Employee Self Service < Working Time < Leave Request tab it ends up with error pasted below.
    java.lang.NullPointerException
    Same error appears for other tabs like Employee Self Service < Working Time <Quote Overview/Clocl In/Out Corrections
    Any help to solve this issue will be highly appretiated.
    Thanks
    Vinit

    Full exception chanin from NWA is as below
    Exception occured during processing of Web Dynpro application sap.com/ess~lea/LeaveRequest. The causing exception is nested.
    [EXCEPTION]
    java.lang.NullPointerException
    at com.sap.pcuigp.tracking.BTrackingComp.isValuePackSystem(BTrackingComp.java:290)
    at com.sap.pcuigp.tracking.BTrackingComp.onInit(BTrackingComp.java:206)
    at com.sap.pcuigp.tracking.wdp.InternalBTrackingComp.onInit(InternalBTrackingComp.java:173)
    at com.sap.pcuigp.tracking.BTrackingCompInterface.onInit(BTrackingCompInterface.java:115)
    at com.sap.pcuigp.tracking.wdp.InternalBTrackingCompInterface.onInit(InternalBTrackingCompInterface.java:124)
    at com.sap.pcuigp.tracking.wdp.InternalBTrackingCompInterface$External.onInit(InternalBTrackingCompInterface.java:198)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:922)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:891)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.attachComponentToUsage(FPMComponent.java:1084)
    at com.sap.pcuigp.xssutils.pernr.FcEmployeeServices.onInit(FcEmployeeServices.java:219)
    at com.sap.pcuigp.xssutils.pernr.wdp.InternalFcEmployeeServices.onInit(InternalFcEmployeeServices.java:273)
    at com.sap.pcuigp.xssutils.pernr.FcEmployeeServicesInterface.onInit(FcEmployeeServicesInterface.java:135)
    at com.sap.pcuigp.xssutils.pernr.wdp.InternalFcEmployeeServicesInterface.onInit(InternalFcEmployeeServicesInterface.java:198)
    at com.sap.pcuigp.xssutils.pernr.wdp.InternalFcEmployeeServicesInterface$External.onInit(InternalFcEmployeeServicesInterface.java:258)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:922)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:891)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.attachComponentToUsage(FPMComponent.java:1084)
    at com.sap.xss.essceservices.vcceassignmentselection.VcCEAssignmentSelection.onInit(VcCEAssignmentSelection.java:235)
    at com.sap.xss.essceservices.vcceassignmentselection.wdp.InternalVcCEAssignmentSelection.onInit(InternalVcCEAssignmentSelection.java:174)
    at com.sap.xss.essceservices.vcceassignmentselection.VcCEAssignmentSelectionInterface.onInit(VcCEAssignmentSelectionInterface.java:162)
    at com.sap.xss.essceservices.vcceassignmentselection.wdp.InternalVcCEAssignmentSelectionInterface.onInit(InternalVcCEAssignmentSelectionInterface.java:144)
    at com.sap.xss.essceservices.vcceassignmentselection.wdp.InternalVcCEAssignmentSelectionInterface$External.onInit(InternalVcCEAssignmentSelectionInterface.java:220)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:564)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196)
    at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:754)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:289)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
    at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
    at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
    at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
    at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1289)
    at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:356)
    at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:549)
    at com.sap.portal.pb.PageBuilder.wdDoRefresh(PageBuilder.java:593)
    at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:865)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:319)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:684)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Edited by: Vinit Soni on Aug 27, 2010 7:59 AM

  • Why do i get NullPointerException errors when i move my screen?

    My GUI program compiles and runs fine without errors. However, when i click the top of the GUI and click/drag it around somewhere, i get all these nullpointerexceptions in my dos screen, where my program was compiled and run. Any ideas?

    Could you provide full stack trace for this exception?

  • I have  NullPointerException error

    Hello,
    I am new to this forum, so if I make any code-of-conduct blunders please forgive me. I am doing a program in java for an intro to programming class at the University of South Alabama. The objective is to create a program that will manage a fictional inventory of software items bieng stored in an array of objects. I have a to use an instance method and driver method. (I am a complete novice, so i hope all this is making sense.)I am using the JOptionPane.showOptionDialog, and i have only been shown one example of it. In the showOptionDialog, i am giving the user options on how the array should be sorted.
    This is a sample of my code that i am getting the run time error in.
         public static void viewInventory(Application a[])
              //Allows the user to choose how the inventory should be displayed.
              String sorts[]={"By Title","By Price","By Quantity","Exit"};
              int choice;
              do
                   choice = JOptionPane.showOptionDialog(null,"How should the inventory be sorted?",
                        "View Inventory",JOptionPane.DEFAULT_OPTION, JOptionPane.QUESTION_MESSAGE,null,
                        sorts,sorts[0]);
                   switch(choice)
                        case 0:
                             sortByTitle(a);
                             break;
                        case 1:
                             sortByPrice(a);
                             break;
                        case 2:
                             sortByQuantity(a);
                             break;
              }while(choice < 3);     
         }//End viewInventory method.
    This is the error message i am given:
    java.lang.NullPointerException
         at SoftwareInventory.sortByQuantity(SoftwareInventory.java:101)
         at SoftwareInventory.viewInventory(SoftwareInventory.java:59)
         at SoftwareInventory.main(SoftwareInventory.java:25)
    Any help on what i might be doing wrong or some general information on the showOptionsDialog method would be greatly appreciated.
    Thank you.

    It looks like the Application array 'a' may be empty.
    Before you do your switch statement add the following
    line:
    System.out.println("Application array has this many
    items: " + a.lenght);Let us know what was printed out.ok, I was wrong when I said that the array was empty.We have not done the println in a while, I forgot that it would not just show up in a dialog box( i'm working in the jgrasp ide) I missed it earlier. I think I know what the problem is, but I'm not sure how to fix it. We have been working with arrays that are declared and "automatically" sized to the information we put in them. In this case, we have to declare an array of a certain size[100] that we can add information too.
    We are to put 6 items in the array and then design methods that will allow a user to view the array, edit information in the array, or add a new item to the array.
    How do I deal with an array that has several null spaces in it? (The array has to be big enough for the 100 items, it was one of the specs of the assignment)
    Here is the program so far:(I hope this does not make the post so big that it is a problem)
         public static void main( String args[])
              Application inventory[] = new Application[100];
              inventory[0] = new Application("Jumpstart Toddlers", 19.99, 500);
              inventory[1] = new Application("Norton Antivirus 2003", 49.99, 1200);
              inventory[2] = new Application("Roller Coaster Tycoon", 19.99, 1000);
         inventory[3] = new Application("Quick Books Basic 2002",179.99, 750);
              inventory[4] = new Application("Jumpstart 1st Grade", 19.99,680);
         inventory[5] = new Application("300 Best Arcade Games",9.99,975);
              String options[]={"View"};//,"Add","Edit","Exit"};
              int choice;
              do
                   choice = JOptionPane.showOptionDialog(null,"Choose one of the following options",
                        "Main Menu",JOptionPane.DEFAULT_OPTION, JOptionPane.PLAIN_MESSAGE, null,
                        options,options[0]);
                   switch(choice)
                        case 0:
                             viewInventory(inventory);
                             break;
                   /*     case 1:
                             addItem(inventory);
                             break;
                        case 2:
                             editItem(inventory);
                             break;*/
              }while(choice < 3);//choice 3 is exit condition of the loop.*/
              System.exit(0);
         }//End of main method.
         //Method for viewing the inventory.
         public static void viewInventory(Application a[])
              //Allows the user to choose how the inventory should be displayed.
              String sorts[]={"By Title","By Price","By Quantity","Exit"};
              int choice;
              do
                   choice = JOptionPane.showOptionDialog(null,"How should the inventory be sorted?",
                        "View Inventory",JOptionPane.DEFAULT_OPTION, JOptionPane.QUESTION_MESSAGE,null,
                        sorts,sorts[0]);
              //     System.out.println("Application array has this many items: " + a.length);
                   switch(choice)
                        case 0:
                             sortByTitle(a);
                             break;
                        case 1:
                             sortByPrice(a);
                             break;
                        case 2:
                             sortByQuantity(a);
                             break;
              }while(choice < 3);     
         }//End viewInventory method.
         //Method for sorting by the title of the application.     
         public static void sortByTitle(Application b[] )
              for (int i = 1; i < b.length -1; i++)
                   for (int j = 0; j < b.length - 1; j++)
                        if (b[j].getTitle().compareTo ( b[j+1].getTitle())>0)
                             swap(b, j, j+1);
              displayArray(b);
         //Method for sorting by the price of the application.
         public static void sortByPrice(Application b[])
              for (int i = 1; i < b.length -1; i++)
                   for (int j = 0; j < b.length - 1; j++)
                        if (b[j].getPrice() > b[j+1].getPrice())
                             swap(b, j, j+1);
              displayArray(b);
         //Method for sorting by the quantity of the application.
         public static void sortByQuantity(Application b[])
              for (int i = 1; i < b.length -1; i++)
                   for (int j = 0; j < b.length - 1; j++)
                        if (b[j].getQuantity() > b[j+1].getQuantity())
                             swap(b, j, j+1);
              displayArray(b);
         //Method for sorting the array.
         public static void swap(Application c[], int index1, int index2)
              Application temp = new Application(c[index1].getTitle(),c[index1].getPrice(),
                   c[index1].getQuantity());
              c[index1] = new Application(c[index2].getTitle(),c[index2].getPrice(),
                   c[index2].getQuantity());
              c[index2] = new Application(temp.getTitle(), temp.getPrice(), temp.getQuantity());
         public static void displayArray(Application d[])
              String output =" ";
              for (int i=0; i <d.length; i++)
                   output += d[i] + "\n\n";
              JTextArea text = new JTextArea(15,35);
              text.setText (output);
              JScrollPane scroller = new JScrollPane (text);
              JOptionPane.showMessageDialog(null, scroller, "dammit",JOptionPane.PLAIN_MESSAGE);

  • Cisco UC560 java.lang.NullPointerException error when opening "auto attendant" CCA

    Hi Guys,
    In CCA i get the error:java.lang.NullPointerException and it is only when selecting "Auto Attendant".
    No Configuration has been done via CLI
    Cisco IOS Software, UC500 Software (UC500-ADVIPSERVICESK9-M), Version 15.1(4)M5, RELEASE SOFTWARE (fc1)
    CCA version 3.2(2)
    Attaching CCA logs
    Any Ideas ?

    I would suggest downloading the latest version of the IDE (v. 5.0) which is available at:
    http://wwws.sun.com/software/sundev/jde/index.html

  • Getting ORA-29532 NullPointerException Error

    Running Oracle 8.1.7.2.0 and installed the JVM by running initjvm.sql script. Got the following error in the trace file:
    java.lang.NullPointerException
    at oracle.jdbc.xa.XANative.start(XANative.java)
    at oracle.jdbc.xa.server.OracleWrapXAResource.start(OracleWrapXAResource.java)
    Have a Web Logic web server that shows the following in the error logs:
    java.sql.SQLException: ORA-29532: Java call terminated by uncaught Java
    exception: java.lang.NullPointerException ORA-06512: at "SYS.JAVA_XA", line 0
    XA error: XAER_RMFAIL : Resource manager is unavailable start() failed on
    resource '[system]Pool' Internal error: XAResource '[system]Pool' is unavailable> .
    Puzzled as to why the Web Logic server loses connection to the database. What could possibly cause the Resource Manager to lose connections? The web server did not go down nor is it a network issue between the Web Server and the database server.

    There is a bug in the Java class:
    oracle.ewt.lwAWT.lwWindow.laf.TitleBar
    In the method:
    _createComponents
    That class is obviously from an Oracle library. So, one of two things happened:
    1) The Oracle code itself has a bug.
    2) Code written by someone else using that Oracle class made improper use of the Oracle class.
    I would guess #1... a NullPointerException should never arise in good code, even when it is used in an unexpected way.
    If you have a contract with Oracle (or if you are Oracle) for this library, you should report this problem to your contact for this library.
    Yes, it may be a language problem, but there is no way anyone in this discussion group can ever be sure of that without looking at the source for that Oracle class. Since it's probably a closed library, that's not bloody likely.
    So, go call the people who sold you that library and raise some hell (or maybe just some heck). Good luck!

Maybe you are looking for

  • Structure is not getting filled in the subroutine

    Hi Gurus, I'm working on a Z-report ZMB52 for fetching Reserved Stock and showing it in a column. The following code in a subroutine I've written for the same. DATA: GS_RESB LIKE LINE OF GT_RESB.     CLEAR: BESTAND.     IF BESTAND[] IS NOT INITIAL.  

  • Simplest way to see Standard Sale price and associated COGS?

    Hi there, I'm working with some end users and analysts in the MM module and they want to have a really simple way of viewing all of their SKUs (to simplify this scenario assume 1 plant and 1 company code, single values for all key fields). They want

  • OID filter to restrict ocs user in calendar, files, mail

    We are trying to setup some filter in OID in order to restrict some search screen and list of value in calendar, mail and files so that our users doesn't see the users under another subtree of OID. We have the following in OID: orcldefaultsubscriber:

  • Automatic GR by Third Party delivery throug shipping notification?

    Hi, What is the best scenario if the third party vendor sends goods directly to the end customer? The vendor can send me a shipping notification. Can I post automatically (only for third party and direct delivery to end customer) a GR when I receive

  • Mail won't load messages, spinning ball

    Can't get my mail to load messages, shows it trying too but just spins. Can't get into my mail preferences either as I get the spinning ball and have to force quit mail.  Any suggestions?