Java.lang.NullPointerException  when opening Message Monitoring

Hi All,
All Runtime WorkBench Monitoring components are working fine except Message Monitoring.
If i click on the Messsage Monitoring i am getting the following error.
java.lang.NullPointerException
Can any body give me solution.
Thanks & Regards
Rohit

Hi Check
SAP Note 1250954 - Internal Server Error while displaying payload of a Message
Actually Nullpointer exception comes when u acess an object
that object refers null or jvm send garbage collect request for that object. Pls refer the below links you will fine error no and search in sap notes regarding discription
http://nilkanthk.googlepages.com/XIQuestions.pdf
http://www.english.bcc.com.pl/index.php?s=504&p=2
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a04e59be-f51f-2a10-829b-dd3e5a359aa4
Regards
Abhishek
Edited by: Abhishek Agrahari on Jan 20, 2009 7:41 AM

Similar Messages

  • Java.lang.NullPointerException when trying to start UM

    I get java.lang.NullPointerException when I try to start Unified Messaging using EM on a new Windows 2000 single-box installation. Has anyone enountered this problem?

    I have also encountered same issue. Please let me know the solution in case you find it.
    In fact after configuiring Oracle files as per the document provided at Oracle OTN site 'Collaboration handbook', I am unable to connect OID. As per log it says
    2003/04/01:20:37:58[Oidmon]: Unable to connect to database, will retry after 20 sec
    2003/04/01:21:20:21Starting Monitor Process, PID=2920
    2003/04/01:21:20:21ORACLE_SID not set, setting to iasdb
    2003/04/01:21:41:22Failed to fetch Process Table. ORA-12571: TNS:packet writer failure
    I checked Listener, which was found ok, then I checked TNSPING, which executed ok.
    I have dowloaded documents troubleshooting OID, but no success. The document itself says that architecture of OID is fairly complex and the log does not suggest much insight.
    Any solution?
    Regards,
    Vipul

  • Java.lang.NullPointerException when trying to compile

    Hi everybody!
    I'm trying to compile a file using javax.tools.JavaCompiler but I get a java.lang.NullPointerException when running the program.
    Here is my code:
    public boolean CompExecFile(File filename){
              boolean compRes = false;
              try {
                   System.out.println(filename.getAbsolutePath());
                   JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
                   StandardJavaFileManager fileManager = compiler.getStandardFileManager(null, null, null); //line where I get the error
                   Iterable<? extends JavaFileObject> compilationUnits2 = fileManager.getJavaFileObjects(filename);
                   compRes = compiler.getTask(null, fileManager, null, null, null, compilationUnits2).call();
                   fileManager.close();
                 if (compRes) {
                     System.out.println ("Compilation was successful");
                 } else {
                     System.out.println ("Compilation failed");
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              return compRes;
         }There error on the line "StandardJavaFileManager fileManager = compiler.getStandardFileManager(null, null, null);":
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException+
    I've seen several examples using the parameters "null,null,null" but I don't know if it's good :(
    Many thanks for your help.

    I've found something which could maybe be what I need to do but I'm not sure:
    // Build a new ClassLoader using the given URLs, replace current Classloader
    ClassLoader oldCL = Thread.currentThread().getContextClassLoader();
    ClassLoader newCL = new URLClassLoader(myClasspathURLs, oldCL);
    Thread.currentThread().setContextClassLoader(newCL);
    System.out.println("Successfully replaced ClassLoader");
    Class fooClass = newCL.loadClass(appClass); //which replaces the line "Class<?> tempFileClass = Class.forName("TempFile");" ?!Is that what I need to do?
    EDIT: I've tried that but I still have the same problem:
                      File classFile = new File ("TempFile.class");
                      ClassLoader oldCL = Thread.currentThread().getContextClassLoader();
                      ClassLoader newCL = new URLClassLoader(new URL[] {classFile.toURL()}, oldCL);
                      Thread.currentThread().setContextClassLoader(newCL);
                      System.out.println("Successfully replaced ClassLoader");
                      Class tempFileClass = newCL.loadClass("TempFile");
                      Method main = tempFileClass.getMethod("main", String[].class);
                      main.invoke(null,new String[0]); Edited by: Foobrother on Jul 28, 2008 8:18 AM

  • Java.lang.NullPointerException when deploying a PIA

    I am having a problem deploying a PIA on PeopleTools 8.45.18 on Solaris 8 using WebLogic 8.1 sp 3. The error I experience is java.lang.NullPointerException when I run this command:
    ./setup.solaris -console -is:log /var/temp/piainstall.log
    InstallShield Wizard
    Initializing InstallShield Wizard...
    Searching for Java(tm) Virtual Machine...
    Welcome to the InstallShield Wizard for PeopleSoft Internet Architecture.
    Using the InstallShield Wizard you will install PeopleSoft Internet
    Architecture on your computer.
    Version: 8.45.18
    Note: If installing onto a BEA WebLogic Server, make sure to shutdown any
    running web servers to avoid web server corruption.
    Select Next to continue or Cancel to exit.
    Press 1 for Next, 3 to Cancel or 4 to Redisplay [1]
    Choose the setup type that best suits your needs.
    [X] 1 - BEA WebLogic Server
    [ ] 2 - IBM WebSphere Server
    To select an item enter its number, or 0 when you are finished: [0]
    Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1]
    Please select the configuration to install.
    [X] 1 - Single Server Domain
    [ ] 2 - Multi Server Domain
    [ ] 3 - Distributed Managed Server
    To select an item enter its number, or 0 when you are finished: [0] 2
    Enter 0 to continue or 1 to make another selection: [0]
    Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1]
    java.lang.NullPointerException
    An error occurred during wizard bean change notification:
    java.lang.NullPointerException
    at PSChangeSharedLibPermission.PSSearchAndSet(PSChangeSharedLibPermission.java:67)
    at PSChangeSharedLibPermission.execute(PSChangeSharedLibPermission.java:53)
    at com.installshield.wizard.StandardWizardListener.execute(StandardWizardListener.java:123)
    at com.installshield.wizard.StandardWizardListener.currentBeanChanged(StandardWizardListener.java:106)
    at com.installshield.wizard.Wizard$RunThread.run(Wizard.java:1564)
    any thoughts...

    please let me know if you have configured any RPS for the same.i faced a similar issue while i was trying to create an instance taken from oracle export dump taken from one of our client.our error got resolved when we changed the web profile to PROD. More often than not this is an issue with the webprofile. try changing the web profile one by one from dev to test to prod and kiosk.
    if none of these resolves the issue, try ruuning version app engine program. this will update the ppltools version. in correct version may also some times cause this issue.
    Please let me know if you have configured ldap.

  • Java.lang.NullPointerException when doing SQL on ms access

    I am trying to perform Insert and delete commands on an access database and I continue to get a java.lang.NullPointerException when performing the action. Everything is fine when i do a Select * FROM..., I am able to read all of the information I ask for, but when performing the Insert/Delete commands I get the error. Any help would be appreciated, I will copy and past a portion of my code below. All of the fields and variable types match with what is in the database.
    public void executeAddSecretary() throws SQLException{
    String a,b;
    a= txtSecLname.getText();
    b= txtSecFname.getText();
    statement.execute("INSERT INTO Contact_Sec (Sec_Lname,Sec_Fname) Values ('" + a + "', '" + b + "')");
    System.out.println("updated Secretary");
    public void executeDeleteContact() throws SQLException{
    String a = "a";
    statement.execute("DELETE FROM Contact WHERE Lname = ('" + a + "')");
    System.out.println("deleted contact");
    Thanks to anyone who can help me out.

    1) Use prepared statement instead of statement.
    2) Do like this ...
    PreparedStatement prepStmt = null;
    try
         String query="INSERT INTO Contact_Sec (Sec_Lname,Sec_Fname) Values (?,?)");
         prepStmt = connection.prepareStatement(query);
         prepStmt.setString(1, value1);
         prepStmt.setString(2, value2);
         prepStmt.executeUpdate();
    catch (SQLException e)
         throw e;
    catch (Exception e)
         throw e;
    finally
         try
              if (prepStmt != null)
                   prepStmt.close();
         } catch (Exception e) {}
         try
              if (connection != null)
                   connection.close();
         } catch (Exception e) {}
    }3) If you still get the null exception then put step wise System.out's
    and debug it.
    -Rohit

  • Java.lang.NoClassDefFoundError when opening Sun ONE Studio 4 CE

    Hi! I have installed Sun ONE Studio 4 CE with windows 2000 OS and when I open the runidew.exe, it's application I'm getting an error that says
    " A java.lang.NoClassDefFoundError" and ide.log messsage is this
    Log Session: Saturday, May 17, 2003 3:20:54 PM CST
    System Info: Product Version = Sun ONE Studio 4 update 1, Community Edition (Build 020923)
    IDE Versioning = IDE/1 spec=1.43.3.1 impl=020923
    Operating System = Windows 2000 version 5.0 running on x86
    Java; VM; Vendor = 1.4.0-beta; Java HotSpot(TM) Client VM 1.4.0-beta-b65; Sun Microsystems Inc.
    Java Home = C:\jdk1.4\jre
    System Locale; Encod. = en_US; Cp1252 (f4j_ce)
    Home Dir; Current Dir = C:\Documents and Settings\Administrator.ISSPG_07; e:\Program Files\s1studio\ce\bin
    IDE Install; User Dir = E:\Program Files\s1studio\ce; c:\ide-userdir
    CLASSPATH = E:\Program Files\s1studio\ce\lib\patches\openide-compat.jar;E:\Program Files\s1studio\ce\lib\locale\core_f4j.jar;E:\Program Files\s1studio\ce\lib\locale\core_f4j_ce.jar;E:\Program Files\s1studio\ce\lib\locale\openide_f4j.jar;E:\Program Files\s1studio\ce\lib\core.jar;E:\Program Files\s1studio\ce\lib\openide.jar;E:\Program Files\s1studio\ce\lib\ext\bsh-1_0-fj.jar;E:\Program Files\s1studio\ce\lib\ext\cmd.jar;E:\Program Files\s1studio\ce\lib\ext\crimson.jar;E:\Program Files\s1studio\ce\lib\ext\ddl.jar;E:\Program Files\s1studio\ce\lib\ext\fjscript.jar;E:\Program Files\s1studio\ce\lib\ext\jaas.jar;E:\Program Files\s1studio\ce\lib\ext\jaxp-api.jar;E:\Program Files\s1studio\ce\lib\ext\jh.jar;E:\Program Files\s1studio\ce\lib\ext\logger.jar;E:\Program Files\s1studio\ce\lib\ext\parser.jar;E:\Program Files\s1studio\ce\lib\ext\pbclient.jar;E:\Program Files\s1studio\ce\lib\ext\regexp.jar;E:\Program Files\s1studio\ce\lib\ext\terminalemulator.jar;E:\Program Files\s1studio\ce\lib\ext\xerces.jar;E:\Program Files\s1studio\ce\lib\ext\jdbc20x.zip;C:\jdk1.4\lib\dt.jar;C:\jdk1.4\lib\tools.jar
    Warning: the extension E:\Program Files\s1studio\ce\modules\autoload\ext\saaj-api.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\autoload\jaxrpc-ri-module.jar, E:\Program Files\s1studio\ce\modules\autoload\jaxr-ri-module.jar]
    Warning: the extension E:\Program Files\s1studio\ce\modules\autoload\ext\saaj-ri.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\autoload\jaxrpc-ri-module.jar, E:\Program Files\s1studio\ce\modules\autoload\jaxr-ri-module.jar]
    Warning: the extension E:\Program Files\s1studio\ce\modules\autoload\ext\xercesImpl.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\autoload\jaxrpc-ri-module.jar, E:\Program Files\s1studio\ce\modules\autoload\jaxr-ri-module.jar]
    Warning: the extension E:\Program Files\s1studio\ce\modules\autoload\ext\sax.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\autoload\jaxrpc-ri-module.jar, E:\Program Files\s1studio\ce\modules\autoload\jaxr-ri-module.jar]
    Warning: the extension E:\Program Files\s1studio\ce\modules\ext\jasper-runtime.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\tomcat40.jar, E:\Program Files\s1studio\ce\modules\jsp-parser.jar]
    Warning: the extension E:\Program Files\s1studio\ce\modules\ext\jasper-compiler.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\tomcat40.jar, E:\Program Files\s1studio\ce\modules\jsp-parser.jar]
    Existing modules:
         Ant [org.apache.tools.ant.module/2 2.7.3.1 020923]
         Applet [org.netbeans.modules.applet/1 1.7.4 020923]
         Auto Update [org.netbeans.modules.autoupdate/1 2.1.2.1 020923]
         Bean Patterns [org.netbeans.modules.beans/1 1.7.3.1 020923]
         Built-in CVS Client [org.netbeans.modules.cvsclient/1 1.4.3.1 020923]
         CSS Support [org.netbeans.modules.css/1 0.2.8.1 020923]
         CVS Command-Line Client Backward Compatibility [org.netbeans.modules.vcs.cmdline.compat/1 1.0.2.1 020923]
         Classfile Closure Compiler [com.sun.forte4j.modules.depclass/1 2.2 020923]
         Database Explorer [org.netbeans.modules.db/1 1.5.3.1 020923]
         Database Schema (JDBC Implementation) [com.sun.forte4j.modules.dbmodel.jdbcimpl/1 1.2.1.1 020923]
         Editor [org.netbeans.modules.editor/1 1.8.3.1 020923]
         External HTML Browser [org.netbeans.modules.extbrowser/1 0.3.4 020923]
         File Copy [org.netbeans.modules.filecopy/1 1.6.2.1 020923]
         Form Editor [org.netbeans.modules.form/2 1.7.3.1 020923]
         General Online Help [org.netbeans.modules.usersguide/1 1.9.3.1 020923]
         HTML [org.netbeans.modules.html/1 1.8.4 020923]
         HTTP Monitor [org.netbeans.modules.web.monitor/1 1.5.2 020923]
         HTTP Server [org.netbeans.modules.httpserver/1 1.7.4 020923]
         IDE Core [org.netbeans.core/1 1.1]
         Image [org.netbeans.modules.image/1 1.7.2.1 020923]
         Internationalization [org.netbeans.modules.i18n/1 1.9.3.1 020923]
         Internationalization of Form [org.netbeans.modules.i18n.form/2 1.8.3 020923]
         J2EE Common Library [com.sun.forte4j.j2ee.lib/1 1.2 020923]
         JAR Packager [org.netbeans.modules.jarpackager/2 1.9.3.1 020923]
         JDBC [org.netbeans.modules.jdbc/1 1.2.1.1 020923]
         JPDA Debugger [org.netbeans.modules.debugger.jpda/1 1.9.3.1 020923]
         JSP Parser [org.netbeans.modules.web.jspparser/1 1.0.3 020923]
         JSP Syntax Coloring [org.netbeans.modules.web.core.syntax/1 1.6.3 020923]
         JSP Tag Library Editor [org.netbeans.modules.web.taglibed/1 1.5.2 020923]
         JSP/Servlet [org.netbeans.modules.web.core/1 1.6.3 020923]
         JSP/Servlet (Advanced) [org.netbeans.modules.web.ie/1 1.6.4 020923]
         JSP/Servlet Breakpoint Support [org.netbeans.modules.web.debug/1 1.0.3 020923]
         JSP/Servlet Depl. Descriptor Editing [org.netbeans.modules.web.dd.editors/1 1.0.2 020923]
         Java Source Files [org.netbeans.modules.java/1 1.7.3.1 020923]
         Javadoc [org.netbeans.modules.javadoc/1 1.7.3.1 020923]
         Logger (TraceLogger) [org.netbeans.modules.logger/1 1.4.1.1 020923]
         PointBase Server [com.sun.forte4j.modules.pointbase/1 1.2.1.1 020923]
         Product Registration [com.sun.ffj.modules.registration/1 1.2 020923]
         Projects [org.netbeans.modules.projects/1 1.7.3.1 020923]
         Resource Bundle Syntax Coloring [org.netbeans.modules.properties.syntax/1 1.7.3 020923]
         Resource Bundles [org.netbeans.modules.properties/1 1.7.3.1 020923]
         Schema2Beans Library [org.netbeans.modules.schema2beans/1 1.2.1 020923]
         Sourceless Java Classes [org.netbeans.modules.clazz/1 1.8.3.1 020923]
         Sun ONE Studio Auto Update [org.netbeans.modules.autoupdateffj/1 1.0.1 020923]
         Text [org.netbeans.modules.text/1 1.7.3.1 020923]
         Tomcat 4.0 Server [org.netbeans.modules.web.tomcat.tomcat40/1 1.1.3 020923]
         Tomcat 4.0 Server Autocompilation Support [org.netbeans.modules.web.tomcat.tomcat40.autocompile/1 1.1.2 020923]
         Tools Debugger [org.netbeans.modules.debugger.debug/1 1.9.3.1 020923]
         User Utilities [org.netbeans.modules.utilities/1 1.7.3.1 020923]
         VCS Generic Command-Line Support [org.netbeans.modules.vcs.advanced/1 1.5.3.1 020923]
         Web module support for J2EE assembling [org.netbeans.modules.web.assemblee/1 1.0.2 020923]
         XML Backward Compatibility [org.netbeans.modules.xml/2 0.2.8 020923]
         XML Coloring Backward Compatibility [org.netbeans.modules.xml.editor.coloring/2 0.2.8 020923]
         XML Core [org.netbeans.modules.xml.core/1 0.2.8.1 020923]
         XML Entity Catalog [org.netbeans.modules.xml.catalog/1 0.2.8.1 020923]
         XML Productivity Tools [org.netbeans.modules.xml.tools/1 0.2.8.1 020923]
         XML Text Editor [org.netbeans.modules.xml.text/1 0.2.8.1 020923]
         XML Tree Editor [org.netbeans.modules.xml.tree/1 0.2.8.1 020923]
    [org.netbeans.core.modules] *********** Exception occurred ************
    Sat May 17 15:21:39 CST 2003: org.netbeans.core.modules.InvalidException: Module[org.netbeans.modules.debugger.debug]: Dependency failed on package sun.tools.debug[DebuggerCallback]
    org.netbeans.core.modules.InvalidException: Module[org.netbeans.modules.debugger.debug]: Dependency failed on package sun.tools.debug[DebuggerCallback]
         at org.netbeans.core.modules.ModuleManager.enable(ModuleManager.java:513)
    [catch] at org.netbeans.core.modules.ModuleList.installNew(ModuleList.java:474)
         at org.netbeans.core.modules.ModuleList.trigger(ModuleList.java:418)
         at org.netbeans.core.modules.ModuleSystem.scanForNewAndRestore(ModuleSystem.java:263)
         at org.netbeans.core.NonGui.run(NonGui.java:519)
         at org.netbeans.core.Main.run(Main.java:213)
         at org.openide.TopManager.initializeTopManager(TopManager.java:120)
         at org.openide.TopManager.getDefault(TopManager.java:81)
         at org.netbeans.core.Main.main(Main.java:346)
         at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:87)
         at java.lang.Thread.run(Thread.java:579)
    *********** Exception occurred ************
    Sat May 17 15:23:06 CST 2003: java.lang.NullPointerException: <no message>
    java.lang.NullPointerException
         at java.awt.dnd.DropTarget.addNotify(DropTarget.java:454)
         at java.awt.Component.addNotify(Component.java:5271)
         at java.awt.Container.addNotify(Container.java:1949)
         at javax.swing.JComponent.addNotify(JComponent.java:4141)
         at java.awt.Container.addNotify(Container.java:1957)
         at javax.swing.JComponent.addNotify(JComponent.java:4141)
         at java.awt.Container.addNotify(Container.java:1957)
         at javax.swing.JComponent.addNotify(JComponent.java:4141)
         at java.awt.Container.addImpl(Container.java:486)
         at java.awt.Container.add(Container.java:368)
         at org.netbeans.core.ui.ModuleSelectionPanel.initComponents(ModuleSelectionPanel.java:145)
         at org.netbeans.core.ui.ModuleSelectionPanel.addNotify(ModuleSelectionPanel.java:74)
         at org.netbeans.core.ui.ModuleSelectionPanel.readSettings(ModuleSelectionPanel.java:221)
         at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:450)
         at org.netbeans.core.ui.SetupWizard$InitializedWizardDescriptor.updateState(SetupWizard.java:403)
         at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:948)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1722)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1775)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:414)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:253)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:261)
         at java.awt.Component.processMouseEvent(Component.java:4906)
         at java.awt.Component.processEvent(Component.java:4732)
         at java.awt.Container.processEvent(Container.java:1337)
         at java.awt.Component.dispatchEventImpl(Component.java:3476)
         at java.awt.Container.dispatchEventImpl(Container.java:1399)
         at java.awt.Component.dispatchEvent(Component.java:3343)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3302)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3014)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2967)
         at java.awt.Container.dispatchEventImpl(Container.java:1373)
         at java.awt.Window.dispatchEventImpl(Window.java:1459)
         at java.awt.Component.dispatchEvent(Component.java:3343)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
    [catch] at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
         at java.awt.Dialog.show(Dialog.java:498)
         at org.netbeans.core.NbPresenter.superShow(NbPresenter.java:672)
         at org.netbeans.core.NbPresenter.run(NbPresenter.java:695)
         at org.openide.util.Mutex.doEventAccess(Mutex.java:917)
         at org.openide.util.Mutex.readAccess(Mutex.java:162)
         at org.netbeans.core.NbPresenter.show(NbPresenter.java:676)
         at org.netbeans.core.ui.SetupWizard.show(SetupWizard.java:287)
         at org.netbeans.core.ui.SetupWizard.showSetupWizard(SetupWizard.java:364)
         at org.netbeans.core.NonGui$2.run(NonGui.java:555)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:160)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
         at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    *********** Exception occurred ************
    Sat May 17 15:23:17 CST 2003: java.lang.NullPointerException: <no message>
    java.lang.NullPointerException
         at org.netbeans.core.ui.ModuleSelectionPanel.storeSettings(ModuleSelectionPanel.java:236)
         at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:439)
         at org.netbeans.core.ui.SetupWizard$InitializedWizardDescriptor.updateState(SetupWizard.java:403)
         at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:948)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1722)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1775)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:414)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:253)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:261)
         at java.awt.Component.processMouseEvent(Component.java:4906)
         at java.awt.Component.processEvent(Component.java:4732)
         at java.awt.Container.processEvent(Container.java:1337)
         at java.awt.Component.dispatchEventImpl(Component.java:3476)
         at java.awt.Container.dispatchEventImpl(Container.java:1399)
         at java.awt.Component.dispatchEvent(Component.java:3343)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3302)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3014)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2967)
         at java.awt.Container.dispatchEventImpl(Container.java:1373)
         at java.awt.Window.dispatchEventImpl(Window.java:1459)
         at java.awt.Component.dispatchEvent(Component.java:3343)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
    [catch] at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
         at java.awt.Dialog.show(Dialog.java:498)
         at org.netbeans.core.NbPresenter.superShow(NbPresenter.java:672)
         at org.netbeans.core.NbPresenter.run(NbPresenter.java:695)
         at org.openide.util.Mutex.doEventAccess(Mutex.java:917)
         at org.openide.util.Mutex.readAccess(Mutex.java:162)
         at org.netbeans.core.NbPresenter.show(NbPresenter.java:676)
         at org.netbeans.core.ui.SetupWizard.show(SetupWizard.java:287)
         at org.netbeans.core.ui.SetupWizard.showSetupWizard(SetupWizard.java:364)
         at org.netbeans.core.NonGui$2.run(NonGui.java:555)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:160)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
         at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    *********** Exception occurred ************
    Sat May 17 15:23:22 CST 2003: java.lang.NullPointerException: <no message>
    java.lang.NullPointerException
         at org.netbeans.core.ui.ModuleSelectionPanel.storeSettings(ModuleSelectionPanel.java:236)
         at org.openide.WizardDescriptor.resetWizard(WizardDescriptor.java:662)
         at org.openide.WizardDescriptor.access$700(WizardDescriptor.java:49)
         at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:970)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1722)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1775)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:414)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:253)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:261)
         at java.awt.Component.processMouseEvent(Component.java:4906)
         at java.awt.Component.processEvent(Component.java:4732)
         at java.awt.Container.processEvent(Container.java:1337)
         at java.awt.Component.dispatchEventImpl(Component.java:3476)
         at java.awt.Container.dispatchEventImpl(Container.java:1399)
         at java.awt.Component.dispatchEvent(Component.java:3343)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3302)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3014)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2967)
         at java.awt.Container.dispatchEventImpl(Container.java:1373)
         at java.awt.Window.dispatchEventImpl(Window.java:1459)
         at java.awt.Component.dispatchEvent(Component.java:3343)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
    [catch] at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
         at java.awt.Dialog.show(Dialog.java:498)
         at org.netbeans.core.NbPresenter.superShow(NbPresenter.java:672)
         at org.netbeans.core.NbPresenter.run(NbPresenter.java:695)
         at org.openide.util.Mutex.doEventAccess(Mutex.java:917)
         at org.openide.util.Mutex.readAccess(Mutex.java:162)
         at org.netbeans.core.NbPresenter.show(NbPresenter.java:676)
         at org.netbeans.core.ui.SetupWizard.show(SetupWizard.java:287)
         at org.netbeans.core.ui.SetupWizard.showSetupWizard(SetupWizard.java:364)
         at org.netbeans.core.NonGui$2.run(NonGui.java:555)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:160)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
         at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    *********** Exception occurred ************
    Sat May 17 15:23:29 CST 2003: java.lang.NoClassDefFoundError: java/awt/KeyEventPostProcessor
    java.lang.NoClassDefFoundError: java/awt/KeyEventPostProcessor
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:495)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:110)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:249)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:57)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:196)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:189)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:304)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:287)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:260)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:130)
         at org.netbeans.core.windows.frames.NbFocusManager.install(NbFocusManager.java:58)
         at org.netbeans.core.windows.frames.SplitContainerImpl.<init>(SplitContainerImpl.java:116)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:33)
         at sun.reflect.InflatableConstructorAccessorImpl.newInstance(InflatableConstructorAccessorImpl.java:38)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:273)
         at java.lang.Class.newInstance0(Class.java:290)
         at java.lang.Class.newInstance(Class.java:249)
         at org.netbeans.core.windows.frames.WindowTypesManager.createInstance(WindowTypesManager.java:179)
         at org.netbeans.core.windows.frames.WindowTypesManager.createInstance(WindowTypesManager.java:162)
         at org.netbeans.core.windows.frames.WindowTypesManager.createContainer(WindowTypesManager.java:64)
         at org.netbeans.core.windows.ModeImpl.createContainer(ModeImpl.java:1822)
         at org.netbeans.core.windows.ModeImpl.addToContainer(ModeImpl.java:1765)
         at org.netbeans.core.windows.ModeImpl.access$400(ModeImpl.java:77)
         at org.netbeans.core.windows.ModeImpl$1.performCommand(ModeImpl.java:396)
         at org.netbeans.core.windows.DeferredPerformer.processCommand(DeferredPerformer.java:186)
         at org.netbeans.core.windows.DeferredPerformer.putRequest(DeferredPerformer.java:83)
         at org.netbeans.core.windows.ModeImpl.dockInto(ModeImpl.java:377)
         at org.netbeans.core.windows.ModeImpl.dockInto(ModeImpl.java:357)
         at org.netbeans.core.windows.ModeImpl.dockInto(ModeImpl.java:345)
         at org.netbeans.core.windows.WindowManagerImpl$TopComponentManager.doOpen(WindowManagerImpl.java:1456)
         at org.netbeans.core.windows.WindowManagerImpl$TopComponentManager.open(WindowManagerImpl.java:1413)
         at org.openide.windows.TopComponent.open(TopComponent.java:212)
         at org.openide.explorer.ExplorerPanel.open(ExplorerPanel.java:88)
         at org.netbeans.core.NbMainExplorer$ExplorerTab.open(NbMainExplorer.java:536)
         at org.netbeans.core.NbMainExplorer$MainTab.open(NbMainExplorer.java:763)
         at org.netbeans.core.windows.layers.TCRefImpl.performCommand(TCRefImpl.java:163)
         at org.netbeans.core.windows.DeferredPerformer.processCommand(DeferredPerformer.java:186)
         at org.netbeans.core.windows.DeferredPerformer.stateChanged(DeferredPerformer.java:155)
         at org.netbeans.core.windows.StateManager.fireStateChanged(StateManager.java:117)
         at org.netbeans.core.windows.StateManager.setVisibilityState(StateManager.java:142)
         at org.netbeans.core.windows.StateManager.propertyChange(StateManager.java:164)
         at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
         at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:260)
         at java.awt.Component.firePropertyChange(Component.java:6476)
         at org.netbeans.core.windows.MainWindow.doShowWindow(MainWindow.java:232)
         at org.netbeans.core.windows.MainWindow.access$300(MainWindow.java:57)
         at org.netbeans.core.windows.MainWindow$4.run(MainWindow.java:207)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:167)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
    [catch] at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    Log Session: Saturday, May 17, 2003 5:23:51 PM CST
    System Info: Product Version = Sun ONE Studio 4 update 1, Community Edition (Build 020923)
    IDE Versioning = IDE/1 spec=1.43.3.1 impl=020923
    Operating System = Windows 2000 version 5.0 running on x86
    Java; VM; Vendor = 1.4.0-beta; Java HotSpot(TM) Client VM 1.4.0-beta-b65; Sun Microsystems Inc.
    Java Home = C:\jdk1.4\jre
    System Locale; Encod. = en_US; Cp1252 (f4j_ce)
    Home Dir; Current Dir = C:\Documents and Settings\Administrator.ISSPG_07; e:\Program Files\s1studio\ce\bin
    IDE Install; User Dir = E:\Program Files\s1studio\ce; c:\ide-userdir
    CLASSPATH = E:\Program Files\s1studio\ce\lib\patches\openide-compat.jar;E:\Program Files\s1studio\ce\lib\locale\core_f4j.jar;E:\Program Files\s1studio\ce\lib\locale\core_f4j_ce.jar;E:\Program Files\s1studio\ce\lib\locale\openide_f4j.jar;E:\Program Files\s1studio\ce\lib\core.jar;E:\Program Files\s1studio\ce\lib\openide.jar;E:\Program Files\s1studio\ce\lib\ext\bsh-1_0-fj.jar;E:\Program Files\s1studio\ce\lib\ext\cmd.jar;E:\Program Files\s1studio\ce\lib\ext\crimson.jar;E:\Program Files\s1studio\ce\lib\ext\ddl.jar;E:\Program Files\s1studio\ce\lib\ext\fjscript.jar;E:\Program Files\s1studio\ce\lib\ext\jaas.jar;E:\Program Files\s1studio\ce\lib\ext\jaxp-api.jar;E:\Program Files\s1studio\ce\lib\ext\jh.jar;E:\Program Files\s1studio\ce\lib\ext\logger.jar;E:\Program Files\s1studio\ce\lib\ext\parser.jar;E:\Program Files\s1studio\ce\lib\ext\pbclient.jar;E:\Program Files\s1studio\ce\lib\ext\regexp.jar;E:\Program Files\s1studio\ce\lib\ext\terminalemulator.jar;E:\Program Files\s1studio\ce\lib\ext\xerces.jar;E:\Program Files\s1studio\ce\lib\ext\jdbc20x.zip;C:\jdk1.4\lib\dt.jar;C:\jdk1.4\lib\tools.jar
    Warning: the extension E:\Program Files\s1studio\ce\modules\autoload\ext\saaj-api.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\autoload\jaxrpc-ri-module.jar, E:\Program Files\s1studio\ce\modules\autoload\jaxr-ri-module.jar]
    Warning: the extension E:\Program Files\s1studio\ce\modules\autoload\ext\saaj-ri.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\autoload\jaxrpc-ri-module.jar, E:\Program Files\s1studio\ce\modules\autoload\jaxr-ri-module.jar]
    Warning: the extension E:\Program Files\s1studio\ce\modules\autoload\ext\xercesImpl.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\autoload\jaxrpc-ri-module.jar, E:\Program Files\s1studio\ce\modules\autoload\jaxr-ri-module.jar]
    Warning: the extension E:\Program Files\s1studio\ce\modules\autoload\ext\sax.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\autoload\jaxrpc-ri-module.jar, E:\Program Files\s1studio\ce\modules\autoload\jaxr-ri-module.jar]
    Warning: the extension E:\Program Files\s1studio\ce\modules\ext\jasper-runtime.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\tomcat40.jar, E:\Program Files\s1studio\ce\modules\jsp-parser.jar]
    Warning: the extension E:\Program Files\s1studio\ce\modules\ext\jasper-compiler.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\tomcat40.jar, E:\Program Files\s1studio\ce\modules\jsp-parser.jar]
    Existing modules:
         Ant [org.apache.tools.ant.module/2 2.7.3.1 020923]
         Applet [org.netbeans.modules.applet/1 1.7.4 020923]
         Auto Update [org.netbeans.modules.autoupdate/1 2.1.2.1 020923]
         Bean Patterns [org.netbeans.modules.beans/1 1.7.3.1 020923]
         Built-in CVS Client [org.netbeans.modules.cvsclient/1 1.4.3.1 020923]
         CSS Support [org.netbeans.modules.css/1 0.2.8.1 020923]
         CVS Command-Line Client Backward Compatibility [org.netbeans.modules.vcs.cmdline.compat/1 1.0.2.1 020923]
         Classfile Closure Compiler [com.sun.forte4j.modules.depclass/1 2.2 020923]
         Database Explorer [org.netbeans.modules.db/1 1.5.3.1 020923]
         Database Schema (JDBC Implementation) [com.sun.forte4j.modules.dbmodel.jdbcimpl/1 1.2.1.1 020923]
         Editor [org.netbeans.modules.editor/1 1.8.3.1 020923]
         External HTML Browser [org.netbeans.modules.extbrowser/1 0.3.4 020923]
         File Copy [org.netbeans.modules.filecopy/1 1.6.2.1 020923]
         Form Editor [org.netbeans.modules.form/2 1.7.3.1 020923]
         General Online Help [org.netbeans.modules.usersguide/1 1.9.3.1 020923]
         HTML [org.netbeans.modules.html/1 1.8.4 020923]
         HTTP Monitor [org.netbeans.modules.web.monitor/1 1.5.2 020923]
         HTTP Server [org.netbeans.modules.httpserver/1 1.7.4 020923]
         IDE Core [org.netbeans.core/1 1.1]
         Image [org.netbeans.modules.image/1 1.7.2.1 020923]
         Internationalization [org.netbeans.modules.i18n/1 1.9.3.1 020923]
         Internationalization of Form [org.netbeans.modules.i18n.form/2 1.8.3 020923]
         J2EE Common Library [com.sun.forte4j.j2ee.lib/1 1.2 020923]
         JAR Packager [org.netbeans.modules.jarpackager/2 1.9.3.1 020923]
         JDBC [org.netbeans.modules.jdbc/1 1.2.1.1 020923]
         JPDA Debugger [org.netbeans.modules.debugger.jpda/1 1.9.3.1 020923]
         JSP Parser [org.netbeans.modules.web.jspparser/1 1.0.3 020923]
         JSP Syntax Coloring [org.netbeans.modules.web.core.syntax/1 1.6.3 020923]
         JSP Tag Library Editor [org.netbeans.modules.web.taglibed/1 1.5.2 020923]
         JSP/Servlet [org.netbeans.modules.web.core/1 1.6.3 020923]
         JSP/Servlet (Advanced) [org.netbeans.modules.web.ie/1 1.6.4 020923]
         JSP/Servlet Breakpoint Support [org.netbeans.modules.web.debug/1 1.0.3 020923]
         JSP/Servlet Depl. Descriptor Editing [org.netbeans.modules.web.dd.editors/1 1.0.2 020923]
         Java Source Files [org.netbeans.modules.java/1 1.7.3.1 020923]
         Javadoc [org.netbeans.modules.javadoc/1 1.7.3.1 020923]
         Logger (TraceLogger) [org.netbeans.modules.logger/1 1.4.1.1 020923]
         PointBase Server [com.sun.forte4j.modules.pointbase/1 1.2.1.1 020923]
         Product Registration [com.sun.ffj.modules.registration/1 1.2 020923]
         Projects [org.netbeans.modules.projects/1 1.7.3.1 020923]
         Resource Bundle Syntax Coloring [org.netbeans.modules.properties.syntax/1 1.7.3 020923]
         Resource Bundles [org.netbeans.modules.properties/1 1.7.3.1 020923]
         Schema2Beans Library [org.netbeans.modules.schema2beans/1 1.2.1 020923]
         Sourceless Java Classes [org.netbeans.modules.clazz/1 1.8.3.1 020923]
         Sun ONE Studio Auto Update [org.netbeans.modules.autoupdateffj/1 1.0.1 020923]
         Text [org.netbeans.modules.text/1 1.7.3.1 020923]
         Tomcat 4.0 Server [org.netbeans.modules.web.tomcat.tomcat40/1 1.1.3 020923]
         Tomcat 4.0 Server Autocompilation Support [org.netbeans.modules.web.tomcat.tomcat40.autocompile/1 1.1.2 020923]
         User Utilities [org.netbeans.modules.utilities/1 1.7.3.1 020923]
         VCS Generic Command-Line Support [org.netbeans.modules.vcs.advanced/1 1.5.3.1 020923]
         Web module support for J2EE assembling [org.netbeans.modules.web.assemblee/1 1.0.2 020923]
         XML Backward Compatibility [org.netbeans.modules.xml/2 0.2.8 020923]
         XML Coloring Backward Compatibility [org.netbeans.modules.xml.editor.coloring/2 0.2.8 020923]
         XML Core [org.netbeans.modules.xml.core/1 0.2.8.1 020923]
         XML Entity Catalog [org.netbeans.modules.xml.catalog/1 0.2.8.1 020923]
         XML Productivity Tools [org.netbeans.modules.xml.tools/1 0.2.8.1 020923]
         XML Text Editor [org.netbeans.modules.xml.text/1 0.2.8.1 020923]
         XML Tree Editor [org.netbeans.modules.xml                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    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

  • Java.lang.NullPointerException: When Get the PDF File Name

    Hi,
    i try to follow the blog on <b>Handling FileUpload and FileDownload in NetWeaver Developer Studio(NWDS) 2004S</b> on /people/rekha.malavathu2/blog/2006/12/12/handling-fileupload-and-filedownload-in-netweaver-developer-studionwds-2004s
    as i create a fileupload and i wish to get the file name and the pdf, then i to run and deploy it but i get <b>java.lang.NullPointerException</b>
    the code are as below when i click on send email button
    IPrivateEmail.IFileUploadNodeNode node = wdContext.nodeFileUploadNode();
    IPrivateEmail.IFileUploadNodeElement fileUploadEle = node.createFileUploadNodeElement();
         try{
         IWDResource resource = WDResourceFactory.createResource(wdContext.currentContextElement().getFileUploadUI().read(true), wdContext.currentContextElement().getFileUploadUI().getResourceName(), WDWebResourceType.PDF, true);
         fileUploadEle.setFileUploadAttr(resource);
         fileUploadEle.setFileUploadName(wdContext.currentContextElement().getFileUploadUI().getResourceName());
         node.addElement(fileUploadEle);
         }catch(Exception e){
         wdComponentAPI.getMessageManager().reportSuccess("ERROR"+e.getMessage());
    but i wonder which part of the code i did wrongly.. as i wish to insert into my send email code
    Properties props = new Properties();
              String host = "SMTP HOST";
              props.put("mail.smtp.host", host);
              Session session = Session.getInstance(props, null);
              MimeMessage message = new MimeMessage(session);
              Address toAddress = new InternetAddress();
              Address fromAddress = new InternetAddress();
              Address ccAddress = new InternetAddress();
              Address bccAddress = new InternetAddress();
              try
                   MimeMultipart multipart = new MimeMultipart();
                   BodyPart messageBodyPart = new MimeBodyPart();
                   if (! wdContext.currentEmailElement().getFrom().equals(""))
                        fromAddress = new InternetAddress(wdContext.currentEmailElement().getFrom());               
                        message.setFrom(fromAddress);
                   if (! wdContext.currentEmailElement().getTo().equals(""))
                        toAddress = new InternetAddress(wdContext.currentEmailElement().getTo());
                        message.setRecipient(Message.RecipientType.TO, toAddress);
                   if (! wdContext.currentEmailElement().getCc().equals(""))
                        ccAddress = new InternetAddress(wdContext.currentEmailElement().getCc());
                        message.setRecipient(Message.RecipientType.CC, ccAddress);
                   if (! wdContext.currentEmailElement().getBcc().equals(""))
                        bccAddress = new InternetAddress(wdContext.currentEmailElement().getBcc());
                        message.setRecipient(Message.RecipientType.BCC, bccAddress);
                   if (! wdContext.currentEmailElement().getSubject().equals(""))
                        message.setSubject(wdContext.currentEmailElement().getSubject());
                   if (! wdContext.currentEmailElement().getBody().equals(""))
                        messageBodyPart.setText(wdContext.currentEmailElement().getBody());
                   multipart.addBodyPart(messageBodyPart);
                   messageBodyPart = new MimeBodyPart();
                   String filename = IWDResource.getResourceName();
                   DataSource source = new FileDataSource(filename);
                   messageBodyPart.setDataHandler(new DataHandler(source));
                   messageBodyPart.setFileName(source.getName());                    
                   messageBodyPart.setHeader("Content-Type","application/pdf");
                   multipart.addBodyPart(messageBodyPart);
                   message.setContent(multipart);
                   Transport.send(message);
              catch (AddressException e)
                   wdComponentAPI.getMessageManager().reportWarning(e.getLocalizedMessage());
                   e.printStackTrace();
              catch (SendFailedException e)
                   wdComponentAPI.getMessageManager().reportWarning(e.getLocalizedMessage());
                   e.printStackTrace();
              catch (MessagingException e)
                   wdComponentAPI.getMessageManager().reportWarning(e.getLocalizedMessage());
                   e.printStackTrace();
    so i wonder could anyone help me out.. as i need to get the pdf filename order to put into the variable call <b>filename</b> at the send mail code.
    below is the error message
    java.lang.NullPointerException
         at com.sap.example.uploademail.Email.wdDoInit(Email.java:124)
         at com.sap.example.uploademail.wdp.InternalEmail.wdDoInit(InternalEmail.java:146)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:295)
         at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.show(ApplicationWindow.java:183)
         at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:178)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:748)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:283)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:759)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
         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.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         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: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:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

    facing same issue.
    jdev 10.1.3.3.0, on expanding the database connection, I get a null pointer exception.
    On the testing the connection it says 'success' though.
    any inputs ?

  • Java.lang.NullPointerException when capture schema

    When I try to capture schema from MySQL (WIN) to Oracle 10G R2 (unix), I have a exeption error: java.lang.NullPointerException
    The tables are captured in the repository but columns and others objects don't.
    The last line in the java log is:
    unnable.run(AbstractMigrationProgressRunnable.java:159)
    at oracle.dbtools.migration.workbench.core.ui.MigrationProgressBar.run(M
    igrationProgressBar.java:532)
    Message was edited by:
    user567049

    I have also encountered same issue. Please let me know the solution in case you find it.
    In fact after configuiring Oracle files as per the document provided at Oracle OTN site 'Collaboration handbook', I am unable to connect OID. As per log it says
    2003/04/01:20:37:58[Oidmon]: Unable to connect to database, will retry after 20 sec
    2003/04/01:21:20:21Starting Monitor Process, PID=2920
    2003/04/01:21:20:21ORACLE_SID not set, setting to iasdb
    2003/04/01:21:41:22Failed to fetch Process Table. ORA-12571: TNS:packet writer failure
    I checked Listener, which was found ok, then I checked TNSPING, which executed ok.
    I have dowloaded documents troubleshooting OID, but no success. The document itself says that architecture of OID is fairly complex and the log does not suggest much insight.
    Any solution?
    Regards,
    Vipul

  • Java.lang.NullPointerException when running JHeadstart Application Generato

    When I run the Generator I get
    java.lang.NullPointerException
    In my console I get (after many DRAG OVER/DRAG EXIT messages):
    (xml.XmlBeanDefinitionReader 150 ) Loading XML bean definitions from file [D:\work\Meld\ViewController\templates\config\jag-config.xml]
    (xml.XmlBeanFactory 222 ) Creating shared instance of singleton bean 'pgItemModelHelper'
    (xml.XmlBeanFactory 222 ) Creating shared instance of singleton bean 'velocityInitializer'
    (xml.XmlBeanFactory 222 ) Creating shared instance of singleton bean 'formGroupLayoutFactory'
    (xml.XmlBeanFactory 222 ) Creating shared instance of singleton bean 'formPageNameFormat'
    (xml.XmlBeanFactory 222 ) Creating shared instance of singleton bean 'tableGroupLayoutFactory'
    (xml.XmlBeanFactory 222 ) Creating shared instance of singleton bean 'tablePageNameFormat'
    java.lang.NullPointerException
    at oracle.jheadstart.dt.jag.bindinggenerator.PageUIModelGenerator.generateGroupBindings(PageUIModelGenerator.java:743)
    at oracle.jheadstart.dt.jag.bindinggenerator.PageUIModelGenerator.generateInternal(PageUIModelGenerator.java:390)
    at oracle.jheadstart.dt.jag.bindinggenerator.PageUIModelGenerator.generate(PageUIModelGenerator.java:249)
    at oracle.jheadstart.dt.jag.JhsApplicationGenerator.generate(JhsApplicationGenerator.java:332)
    at oracle.jheadstart.dt.jag.JhsApplicationGenerator.generate(JhsApplicationGenerator.java:361)
    at oracle.jheadstart.dt.jag.jdev.JagRunner$1.run(JagRunner.java:80)
    at java.lang.Thread.run(Thread.java:595)
    JagRunner$1[103]: Invoking garbage collector
    I am using JDeveloper 10.1.3.3.0.4157
    and JHS 10.1.3.0.97
    What could be the problem?
    Thanks in advance,
    Lebbol

    Ok, I don't understand much from your stack dump there, but the ONLY time I've ever got a NullPointerException with the JAG is when I've deleted my bc4j.xcfg files from my ADF BC project in my application. I've fixed this by regenerating these files; which seems to occur when I open up my Application Module and then close it.
    It's worth a shot I guess.

  • Java.lang.NullPointerException ADF_FACES-60097 message ***WITH SOLUTION***

    Hi Everyone:
    We are on JDeveloper 11.1.2 & JHeadstart 11.1.2. When testing an application that had previously been written in 10g and migrated to 11g, then migrated again to 11.1.2 because our database has logical composite keys, we have found that if we manually inputted an invalid value into the inputtext box of a primary key that has an LOV on it, the following message came up.
    "java.lang.NullPointerException
    ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #"
    with a random number displayed. We wondered where the java.lang.NullPointerException was coming from and then on a whim, tried to see if it couldn't find the error messages that were previously found in ApplicationResources_en.properties file in 10g. So I manually copied all of the error messages found in the ApplicationResources_en.properties file in 10g, into the end of the ApplicationResources_en.properties file on 11.1.2. There were only about 100+ messages in the 11g version of the ApplicationResources_en.properties file when there were almost 3,000+ messages in the 10g version of the ApplicationResources_en.properties. I then re-ran the job, and the proper error message comes out with no java.lang.NullPointerException message when I input an invalid value into the primary key (+Artransactioncode with this TransCode does not exist).+
    Is this a known issue when converting from 10g to 11g?
    Mary
    UofW

    Hi Everyone:
               I have done some further testing.  We are using a re-usable Business Components .jar file to access our entities.  We import the .jar file into the project and create the ViewObjects and ViewLinks from that .jar file.
                It APPEARS that a test case using the HRSchema and using the Entities & Associates generates the constraint error messages, but when I use the .jar file of re-usable business components imported into the project, those constraint error messages are not created in the ApplicationResources_en.properties file.  I have created two testcases as well as the re-usable .jar file that I can send to you to show what I mean. 
                This behaviour seems to have shown up in 11.1.2 as there was no problem before this.
                 Please let me know where you'd like me to upload the testcases.
                 Thank you.
    Mary
    UofW

  • Error: java.lang.nullPointerException when process is complete

    Hello,
    I keep getting the below error in the log file when the process is complete, does any one has this error before?  The error does not affect the process but it is kind of annoying when looking at the log file.  I try to use the other component beside the Foundation>DecisionPoint>execute but I still get the same error.
    [5/16/11 14:57:19:047 CDT] 00000047 AWS           E com.adobe.workflow.engine.ProcessEngineBMTBean stallAction stalling action-instance: 40746 with message: javax.ejb.TransactionRolledbackLocalException:  ; nested exception is: java.lang.NullPointerException
    Can any one please advise on how to fix the error above to stop showing in the log file. I am still using LC ES 8.2.1 with SP3.
    Thanks,
    Han Dao

    If you could give a little more info it would help. The web.xml for example, if your mapping it correctly, etc...

  • Java.lang.NullPointerException when trying to preview an iVew in EP

    We have set up a portal federation with a BI portal as the producer and a enterprise portal as the consumer. When we try to do a preview on iView which is based on BW 7 based contents from producer portal, we get java.lang.NullPointerException. The 3x based reports are being displayed fine on the consumer side. I have put excerpt from the default_trace from producer portal that gives some error messages but I am not able to figure out where the problem might be.
    Any help is greatly appriciated.
    Thanks
    -Sujeet
    default_trace:
    l.ivs.globalPortal.com.sap.portal.ivs.global.jndibridge.serializers.runtime.plugins.GetPropertyAttributeSer.execute#snaru#769##
    ashland.namerica_BID_106146150#snaru#0837f580ddbf11dd9ba5001a4b084cca#SAPEngine_Application_Thread[impl:3]_21##0#0#Debug##Java#
    ##Found for attribute of property the value #3#inheritance#System#NONFINAL#
    #1.5^H#001A4B084CCA007C0000001000006F9100045FFE190F0017#1231444853688#com.sap.portal.ivs.semantic.systemLandscape#sap.com/irj#c
    om.sap.portal.ivs.semantic.systemLandscape.SystemLandscapePlugin: handleRequest()#snaru#769##ashland.namerica_BID_106146150#sna
    ru#0837f580ddbf11dd9ba5001a4b084cca#SAPEngine_Application_Thread[impl:3]_19##0#0#Debug##Java###Request for System Landscape plu
    gin received##
    #1.5^H#001A4B084CCA007C0000001100006F9100045FFE190F00B6#1231444853689#com.sap.portal.ivs.semantic.systemLandscape#sap.com/irj#c
    om.sap.portal.ivs.semantic.systemLandscape.SystemLandscapePlugin: handleRequest()#snaru#769##ashland.namerica_BID_106146150#sna
    ru#0837f580ddbf11dd9ba5001a4b084cca#SAPEngine_Application_Thread[impl:3]_19##0#0#Debug##Java###Request for handleGetSystemId()
    received##
    #1.5^H#001A4B084CCA007C0000001200006F9100045FFE190F017E#1231444853689#com.sap.portal.ivs.semantic.systemLandscape#sap.com/irj#c
    om.sap.portal.ivs.semantic.systemLandscape.get alias registry entry#snaru#769##ashland.namerica_BID_106146150#snaru#0837f580ddb
    f11dd9ba5001a4b084cca#SAPEngine_Application_Thread[impl:3]_19##0#0#Debug##Java###Failed to get alias '' from the Portal Regi
    stry#1#SAP_BW#
    #1.5^H#001A4B084CCA007C0000001300006F9100045FFE190F0206#1231444853689#com.sap.portal.ivs.semantic.systemLandscape#sap.com/irj#c
    om.sap.portal.ivs.semantic.systemLandscape.getSystemId#snaru#769##ashland.namerica_BID_106146150#snaru#0837f580ddbf11dd9ba5001a
    4b084cca#SAPEngine_Application_Thread[impl:3]_19##0#0#Debug##Java###System could not be resolved dynamically, use default PCD r
    esolution##
    #1.5^H#001A4B084CCA00700000002200006F9100045FFE190FA7F5#1231444853731#com.sap.portal.ivs.globalPortal#sap.com/irj#com.sap.porta
    l.ivs.globalPortal.com.sap.portal.ivs.global.jndibridge.processor.getaspect.BaseGetAspectProcessor.getProcessor#snaru#769##ashl
    and.namerica_BID_106146150#snaru#0837f580ddbf11dd9ba5001a4b084cca#SAPEngine_Application_Thread[impl:3]_22##0#0#Debug##Java###Fo
    und processor: #1#com.sap.portal.pcm.Administration#

    I've found something which could maybe be what I need to do but I'm not sure:
    // Build a new ClassLoader using the given URLs, replace current Classloader
    ClassLoader oldCL = Thread.currentThread().getContextClassLoader();
    ClassLoader newCL = new URLClassLoader(myClasspathURLs, oldCL);
    Thread.currentThread().setContextClassLoader(newCL);
    System.out.println("Successfully replaced ClassLoader");
    Class fooClass = newCL.loadClass(appClass); //which replaces the line "Class<?> tempFileClass = Class.forName("TempFile");" ?!Is that what I need to do?
    EDIT: I've tried that but I still have the same problem:
                      File classFile = new File ("TempFile.class");
                      ClassLoader oldCL = Thread.currentThread().getContextClassLoader();
                      ClassLoader newCL = new URLClassLoader(new URL[] {classFile.toURL()}, oldCL);
                      Thread.currentThread().setContextClassLoader(newCL);
                      System.out.println("Successfully replaced ClassLoader");
                      Class tempFileClass = newCL.loadClass("TempFile");
                      Method main = tempFileClass.getMethod("main", String[].class);
                      main.invoke(null,new String[0]); Edited by: Foobrother on Jul 28, 2008 8:18 AM

  • Java.lang.NullPointerException when calling getServletContext

    Hi All,
    When calling getServletContext from my servlet, i'm getting the following exception to my web client:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    java.lang.NullPointerException
         javax.servlet.GenericServlet.getServletContext(GenericServlet.java:159)
         amdocs.checklist.UserPage.service(UserPage.java:126)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         amdocs.checklist.LoginFilter.doFilter(LoginFilter.java:65)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.0.27 logs.
    My code is:
    ServletContext sc = getServletContext();
    RequestDispatcher rd = getServletContext().getRequestDispatcher("/Header");
    rd.include(request, response);
    It couldn't pass the call of getServletContext, Any idea why?
    Thanks.

    I haven't looked at the source yet, but I remember the api specs talking about the init(ServletConfig) method being called by the container.
    The servlet will the set up it's references to objects (eg. the ServletContext) and calls the init() method.
    So, if you override the init(ServletConfig) method the references will never be set up, and you will get null calling getServletContext().
    So always use the init() method for any initialization of servlets.

  • Java.lang.NullPointerException when extending controller

    Hi,
    I am working in Oracle Internet expenses module. My requirement is to check 2 values in a page and if any of them is NULL, i need to throw an error message on the page. Code snippet in the extended controller is:
    (In the method 'processFormRequest')
    1 if("goto".equals(s) && "OIENavBar".equals(s1) && "ExpenseAllocationsPG".equals(s6))
    2 {
    3 if(NavigationUtility.isNextClicked(oapagecontext))
    4 {
    5 if (oapagecontext.getParameter("ProjectId").equals("null") || oapagecontext.getParameter"TaskId").equals("null"))
    6 {
    7 // my logic goes here
    8 }
    9 }
    10 }
    When I use this extended controller, I am getting java.lang.NullPointerException at the line 5. Can someone tell me where I am going wrong?
    Regards,
    Gowthami.

    Hi,
    Change the condition at line5 in the following way.
    5 if ((oapagecontext.getParameter("ProjectId") == null) || (oapagecontext.getParameter("TaskId") == null))
    HTH,
    Syed

  • Java.lang.NullPointerException when shutting down database

    Hello
    I am using sqldeveloper 1.5.1.
    I created a connection as sysdba . When I click on "Shutdown" button (in "manage database"), I get the following exception :
    java.lang.NullPointerException
         at java.util.Hashtable.put(Hashtable.java:396)
         at java.util.Properties.setProperty(Properties.java:128)
         at oracle.dbtools.raptor.status.StatusPanel.shutdown(StatusPanel.java:104)
         at oracle.dbtools.raptor.status.StatusPanel.access$100(StatusPanel.java:43)
         at oracle.dbtools.raptor.status.StatusPanel$1.doWork(StatusPanel.java:132)
         at oracle.dbtools.raptor.controls.progress.DelayedProgressRunnable$RunnerThread.run(DelayedProgressRunnable.java:163)
    Is it a known issue, or how can I fix it ?
    In advance thank you for your help
    Message was edited by:
    pverbois
    Message was edited by:
    pverbois
    Message was edited by:
    pverbois

    did anybody get any solution to this because I am facing the same problem.
    I have installed oracle 10g on my machine where OS has no username password and when I try to shutdown the database I get screen of Host Credentials and I do not what username and password it is asking for I get stuck up there ?
    any advise
    please reply asap

Maybe you are looking for

  • How to make Text Input in Sales Order Trigger Change Event

    Hi Gurus, I have a project going on where when a sales order is created, changed or cancelled, an IDoc is FTP to our freight company. Now the issues is when we change a sales order text input (for example, shipping note). Nothing happens. The system

  • Aging calculation with Special periods

    Hi all, I have a asset cube (Cumulative movements) to store values by fiscalyear/period including special period (P13-P16) and requirements to get aging report based on fiscal year/period and report as follows.                                 Curent

  • How do I determine what text encoding a database is using?

    Hello, How can I determine the multibyte text encoding (UTF8, UTF16, etc.) that a database is using? I presume that I can query a system table, but I haven't been able to determine which one. Thanks. Bob

  • Profit Center valuation without mateiral ledger activation in the ECC 6 ver

    Dear Experts, I would like to know whether it is necessary to activate material ledger in ECC 6 to derive profit center valuation by transfer pricing and the relavance of the new gl related to the profit center valuation. Best Regards Surya

  • Execute query with in workbook

    How to execute query with in workbook?? Regards, Vivek Please search the forum Edited by: Pravender on Apr 26, 2011 1:03 PM