Getting null pointer exception(please help me...its urgent)

hi,
I have cretaed ajar file on desk top which also includes a .jpg file and .txt.When i run my jar in the desktop it is runninig fine.But when i have placed this jar on my pocket pc and tried to run it ,nullpointerexception is raised at the place where iam accessing jpg and txt files...
eg:
Image img=Toolkit.getDefaultToolkit.createImage("home.jpg");
could anyone can solve my problem.
Thanks and Regards

Image
img=Toolkit.getDefaultToolkit.createImage("home.jpg");On pocketpc/java the current directory is set to "\". So if you have "home.jpg" this file is searched in "\home.jpg", not in the directory from which the apps was started.
prusak

Similar Messages

  • When passing Node to parse() method get NULL pointer exception.

    All,
    I trying to pass a Node to parse method to get the NodeType object back and getting
    null pointer exception.
    Example
    xml
    <root>
    <Test>
    <someData>ABC</someData>
    </Test>
    </root>
    if pass the Test node to get Test object back I am getting null pointer exception.
    Thanks for all ur help
    Shoeb

    file 2
    ~~~~
    import javax.swing.*;
    public class ExtendedPage extends BasePage
    private JTextField objJTextField = null;
    private JButton objJButtonBrowse = null;
    Change the line in bold to
    private JTextField objJTextField;
    And everything works.

  • I am facing problem while reading values from properties file ...i am getting null pointer exception earlier i was using jdeveloper10g now i am using 11g

    i am facing problem while reading values from properties file ...i am getting null pointer exception earlier i was using jdeveloper10g now i am using 11g

    hi TimoHahn,
    i am getting following exception in JDeveloper(11g release 2) Studio Edition Version 11.1.2.4.0 but it works perfectly fine in JDeveloper 10.1.2.1.0
    Root cause of ServletException.
    java.lang.NullPointerException
    at java.util.PropertyResourceBundle.handleGetObject(PropertyResourceBundle.java:136)
    at java.util.ResourceBundle.getObject(ResourceBundle.java:368)
    at java.util.ResourceBundle.getString(ResourceBundle.java:334)
    at org.rbi.cefa.master.actionclass.UserAction.execute(UserAction.java:163)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

  • Help please I get Null Pointer Exception with my SQL query

    The following statement gives me a null pointer exception when executed
    from the doPost of my servlet.
    rs=stmt.executeQuery(sqlQuery);
    The error message reads:
    java.lang.NullPointerException
         at stockserv.Servlet1.doPost(Servlet1.java:142)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    ===etc.
    when I execute the same statement and query (same DB and table) from a standard java
    program I do not get the error and get the propper result.
    Any obvious thing I should check?
    Thanks

    Yes line 142 is as follows
    rs=stmt.executeQuery(sqlQuery);
    I also tried it with the folowing literal statement and get the same error.
    rs=stmt.executeQuery("select * from table1 Where symbol= 'brt' ");
    Does null pointer mean I am sending a null query or something else?
    Again this same statment works from a regular java (non-server)program.
    Thanks Again

  • ViewDocument.jsp gets null pointer exception when using report token instead of docid for DHTML

    <p>The following command gets a null pointer error showing up in Tomcat log:</p><p>../../viewers/cdz_adv/viewDocument.jsp?sEntry=<%=strEntry%>&lang=en&iDocID=830&ViewType=I&kind=Webi</p><p>where sEntry is a valid report token </p><p>but works fine if the ViewType is H  or id=830 is used instead of sEntry.  When the above command is issued the drill columns are displayed correctly but no report is shown and a null pointer exception is encountered.</p>

    There is a Consulting Solution called BOInterface that Business Objects Global Services sells and that may help you if you are implementing your own "InfoView".
    A description is <a href="http://www.mnsoft.org/bointerface0.0.html">here</a>.
    Particularly, see the <a href="http://www.mnsoft.org/pmiv.0.html">Poor Man's InfoView</a> web application.
    Contact me via direct email for more information if this is interesting for you.
    HTH,
    M
    Matthias Nott -  Business Objects
    Service Line Leader Products EMEA
    [email protected]

  • Getting null pointer exception in secured web services client

    Hi all,
    I am developing client for web services. It works fine when the web service is unsecured. Its giving a null pointer exception at call.invoke when the web service is secured. I have tried setting the system properties. It did not help. any other way I can do. Can you help me with settings i need to do to be able to connect to secured server.
    Thanks

    Hi all,
    I am developing client for web services. It works fine when the web service is unsecured. Its giving a null pointer exception at call.invoke when the web service is secured. I have tried setting the system properties. It did not help. any other way I can do. Can you help me with settings i need to do to be able to connect to secured server.
    Thanks

  • Activating Object in IR - Getting Null Pointer Exception

    Hello,
    I'm having trouble activating object in my Intergration Repository.  When I activate any object I get a null pointer exception.  Below is the exception:
    #6 09:30:51 [AWT-EventQueue-0] ERROR com.sap.aii.utilxi.swing.toolkit.ExceptionDialog: Throwable
    Thrown:
    MESSAGE ID: com.sap.aii.ib.core.versioning.integration.VersionSetIntegrationException
    com.sap.aii.ib.core.clmgmt.ChangeListMgmtException: java.lang.NullPointerException
         at com.sap.aii.ib.core.clmgmt.ChangeListMgmtException.createFromException(ChangeListMgmtException.java:35)
         at com.sap.aii.ib.server.clmgmt.ChangeListMgmtImpl.submitChangeList(ChangeListMgmtImpl.java:227)
         at com.sap.aii.ib.server.clmgmt.ChangeListMgmt.submitChangeList(ChangeListMgmt.java:132)
         at com.sap.aii.ib.server.clmgmt.ChangeListMgmt.submitChangeList(ChangeListMgmt.java:124)
         at com.sap.aii.ib.sbeans.clmgmt.ChangeListMgmtBean.submitChangeList(ChangeListMgmtBean.java:92)
         at com.sap.aii.ib.sbeans.clmgmt.ChangeListMgmtRemoteObjectImpl10.submitChangeList(ChangeListMgmtRemoteObjectImpl10.java:435)
         at com.sap.aii.ib.sbeans.clmgmt.ChangeListMgmtRemoteObjectImpl10p4_Skel.dispatch(ChangeListMgmtRemoteObjectImpl10p4_Skel.java:343)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java)
    Serialized server exceptions:
    MESSAGE ID: com.sap.aii.ib.core.versioning.integration.VersionSetIntegrationException (serialized)
    com.sap.aii.ib.core.versioning.integration.VersionSetIntegrationException: java.lang.NullPointerException
         at com.sap.aii.ib.core.versioning.integration.VersionSetIntegrationException.createFromException(VersionSetIntegrationException.java:35)
         at com.sap.aii.ib.server.versioning.integration.VersionSetIntegratorImpl.integrateOpenChangeList(VersionSetIntegratorImpl.java:101)
         at com.sap.aii.ib.server.versioning.integration.VersionSetIntegrator.integrateOpenChangeList(VersionSetIntegrator.java:33)
         at com.sap.aii.ib.server.clmgmt.ChangeListMgmtImpl.releaseChangeList(ChangeListMgmtImpl.java:777)
         at com.sap.aii.ib.server.clmgmt.ChangeListMgmtImpl.submitChangeList(ChangeListMgmtImpl.java:217)
         at com.sap.aii.ib.server.clmgmt.ChangeListMgmt.submitChangeList(ChangeListMgmt.java:132)
         at com.sap.aii.ib.server.clmgmt.ChangeListMgmt.submitChangeList(ChangeListMgmt.java:124)
         at com.sap.aii.ib.sbeans.clmgmt.ChangeListMgmtBean.submitChangeList(ChangeListMgmtBean.java:92)
         at com.sap.aii.ib.sbeans.clmgmt.ChangeListMgmtRemoteObjectImpl10.submitChangeList(ChangeListMgmtRemoteObjectImpl10.java:435)
         at com.sap.aii.ib.sbeans.clmgmt.ChangeListMgmtRemoteObjectImpl10p4_Skel.dispatch(ChangeListMgmtRemoteObjectImpl10p4_Skel.java:343)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
    MESSAGE ID: java.lang.NullPointerException (serialized)
    java.lang.NullPointerException: java.lang.NullPointerException
         at com.tssap.dtr.pvc.basics.transaction.WriteSet.getObjects(WriteSet.java(Compiled Code))
         at com.tssap.dtr.pvc.basics.persistence.TransactionalComponent.rollback(TransactionalComponent.java:115)
         at com.tssap.dtr.pvc.basics.transaction.Transaction.rollback(Transaction.java(Compiled Code))
         at com.tssap.dtr.pvc.basics.transaction.Transaction.flushWriteSets(Transaction.java(Compiled Code))
         at com.tssap.dtr.pvc.versionmg.DefaultIntegrator.executeDBUpdates(DefaultIntegrator.java:370)
         at com.tssap.dtr.pvc.versionmg.DefaultIntegrator.integrate(DefaultIntegrator.java:325)
         at com.tssap.dtr.pvc.versionmg.VersionSet.integrate(VersionSet.java:180)
         at com.tssap.dtr.pvc.changemg.ChangeList.release(ChangeList.java:202)
         at com.sap.aii.ib.server.versioning.integration.VersionSetIntegratorImpl._integrateConditionally(VersionSetIntegratorImpl.java:173)
         at com.sap.aii.ib.server.versioning.integration.VersionSetIntegratorImpl.integrateOpenChangeList(VersionSetIntegratorImpl.java:84)
         at com.sap.aii.ib.server.versioning.integration.VersionSetIntegrator.integrateOpenChangeList(VersionSetIntegrator.java:33)
         at com.sap.aii.ib.server.clmgmt.ChangeListMgmtImpl.releaseChangeList(ChangeListMgmtImpl.java:777)
         at com.sap.aii.ib.server.clmgmt.ChangeListMgmtImpl.submitChangeList(ChangeListMgmtImpl.java:217)
         at com.sap.aii.ib.server.clmgmt.ChangeListMgmt.submitChangeList(ChangeListMgmt.java:132)
         at com.sap.aii.ib.server.clmgmt.ChangeListMgmt.submitChangeList(ChangeListMgmt.java:124)
         at com.sap.aii.ib.sbeans.clmgmt.ChangeListMgmtBean.submitChangeList(ChangeListMgmtBean.java:92)
         at com.sap.aii.ib.sbeans.clmgmt.ChangeListMgmtRemoteObjectImpl10.submitChangeList(ChangeListMgmtRemoteObjectImpl10.java:435)
         at com.sap.aii.ib.sbeans.clmgmt.ChangeListMgmtRemoteObjectImpl10p4_Skel.dispatch(ChangeListMgmtRemoteObjectImpl10p4_Skel.java:343)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
    #5 09:30:35 [AWT-EventQueue-0] FINE AutoLog.created.com.sap.aii.utilxi.misc.api.BaseRuntimeException: com.sap.aii.utilxi.misc.api.BaseRuntimeException: Invalid key element attribute id "NAMESPACE". Valid values are: {SWC_VENDOR,SWC_NAME,SWC_VERSION,SWC_ELTYPEID}.
         at com.sap.aii.ib.bom.gen.XiTypeInformation.validateKeyElementAttributeId(XiTypeInformation.java:890)
         at com.sap.aii.ib.bom.gen.XiTypeInformation.getKeyElementIndex(XiTypeInformation.java:905)
         at com.sap.aii.ib.bom.gen.XiKey.getPosition(XiKey.java:169)
         at com.sap.aii.ib.bom.gen.XiKey.getKeyfield(XiKey.java:162)
         at com.sap.aii.ib.bom.gen.XiKey.getNamespace(XiKey.java:157)
         at com.sap.aii.ib.gui.operations.SubmitSubsetDialog.<init>(SubmitSubsetDialog.java:74)
         at com.sap.aii.ib.gui.operations.SubmitSubsetCommand.execute(SubmitSubsetCommand.java:104)
         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.AbstractButton.doClick(Unknown Source)
         at com.sap.plaf.frog.FrogMenuItemUI$MouseInputHandler.mouseReleased(FrogMenuItemUI.java:833)
         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)
    #4 09:30:35 [AWT-EventQueue-0] DEBUG AutoLog.created.com.sap.aii.utilxi.misc.api.BaseRuntimeException: Invalid key element attribute id "NAMESPACE". Valid values are: {SWC_VENDOR,SWC_NAME,SWC_VERSION,SWC_ELTYPEID}.
    #3 09:29:40 [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.ibrep.gui.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:68)
         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:208)
         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 09:29:40 [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 09:29:40 [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.ibrep.gui.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:68)
         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:208)
         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 09:29:40 [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
    Any assistance is appreciated.
    Thanks,
    Jeff

    Hi Jeff,
    Have you seen this SAP note: 859465 ?
    some of your error message look exactly like those mentioned in this note...
    at com.tssap.dtr.pvc.basics.transaction.WriteSet.getObjects(WriteSet.java(Compiled Code))
    at com.tssap.dtr.pvc.basics.persistence.TransactionalComponent.rollback(TransactionalComponent.java:115)
    at com.tssap.dtr.pvc.basics.transaction.Transaction.rollback(Transaction.java(Compiled Code))
    at com.tssap.dtr.pvc.basics.transaction.Transaction.flushWriteSets(Transaction.java(Compiled Code))
    <b>Remember to restart the server after the changes</b>
    Regards,
    michal
    Message was edited by: Michal Krawczyk

  • While trying to send mail getting NUll Pointer exception

    Hi,
    I am trying to send email through email notification but instance doesn't through any fault but on opmn log it sends null pointer exception and doesn't send any mail. But some other flow using same SMTP server are able to send mail.
    Exceptions:
    07/11/14 16:46:25 java.lang.NullPointerException
    07/11/14 16:46:25      at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:363)
    07/11/14 16:46:25      at oracle.tip.pc.services.notification.email.EmailDriver.sendMessage(EmailDriver.java:207)
    07/11/14 16:46:25      at oracle.tip.pc.services.notification.email.EmailDriver.send(EmailDriver.java:185)
    07/11/14 16:46:25      at oracle.tip.pc.services.notification.DefaultNotificationServiceImpl.sendEmailNotification(DefaultNotificationServiceImpl.java:251)
    07/11/14 16:46:25      at oracle.tip.pc.services.notification.NotificationServiceImpl.sendEmailNotification(NotificationServiceImpl.java:271)
    07/11/14 16:46:25      at oracle.bpel.services.notification.queue.sender.MDBConsumer.deliverNotification(MDBConsumer.java:256)
    07/11/14 16:46:25      at oracle.bpel.services.notification.queue.sender.MDBConsumer.onMessage(MDBConsumer.java:137)
    07/11/14 16:46:25      at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
    07/11/14 16:46:25      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    07/11/14 16:46:25      at java.lang.reflect.Method.invoke(Method.java:585)
    07/11/14 16:46:25      at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    07/11/14 16:46:25      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    07/11/14 16:46:25      at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    07/11/14 16:46:25      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    07/11/14 16:46:25      at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
    07/11/14 16:46:25      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    07/11/14 16:46:25      at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    07/11/14 16:46:25      at com.evermind.server.ejb.MessageDrivenConsumer.onMessage(MessageDrivenConsumer.java:347)
    07/11/14 16:46:25      at com.evermind.server.ejb.MessageDrivenConsumer.processMessages(MessageDrivenConsumer.java:233)
    07/11/14 16:46:25      at com.evermind.server.ejb.MessageDrivenConsumer.run(MessageDrivenConsumer.java:169)
    07/11/14 16:46:25      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    07/11/14 16:46:25      at java.lang.Thread.run(Thread.java:595)
    Any Idea?

    Hi,
    I am also trying E-mail Activity but I am not able to receive the e-mail.
    I have set the following in the ns_emails.xml
    <EmailAccount>
    <Name>Default</Name>
    <GeneralSettings>
    <FromName>Oracle BPM</FromName>
    <FromAddress>[email protected]</FromAddress>
    </GeneralSettings>
    <OutgoingServerSettings>
    <SMTPHost>Server' IPADRESS</SMTPHost>
    <SMTPPort>25</SMTPPort>
    </OutgoingServerSettings>
    <IncomingServerSettings>
    <SMTPHost>Server' IPADRESS</SMTPHost>
    <SMTPPort>25</SMTPPort>
    </IncomingServerSettings>
    In this "[email protected]" is the user configured and "Server' IPADRESS" is the IPADDRESS of the SMTP server.
    Moreover I have also have SMTP server as the incoming server.
    Now I have a simple BPEL PROCESS having Email Activity of sending a mail.
    The "To" section has "[email protected]".
    I am not able to recive the mail and I have also cheked the SMTP server there is no mail there but BPEL Process runs fine.
    I also have one Script which can send mail to the user Ihave mentioned and it works fine.So server setting seems to be fine.Are there any other setting required.
    If you are able to send the mail then can you give me your inputs on this issue.
    Regards
    Lalit

  • Getting null pointer exception while running the UI project

    Hi,
    I created a new ADF UI project. I added a jspx, taskflow and jsff. The jsff is added in the taskflow. I dragged and dropped the TF as a region in the jspx. While running the jspx, I am getting a NPE. If I comment out the region, I see the jspx getting loaded. I tried changing the activation property of the taskflow in the page def as immediate. But I still get the exception. Please find below the complete stacktrace.
    Any pointers to this will be highly appreciated.
    java.lang.NullPointerException
    at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:740)
    at oracle.adf.model.binding.DCBindingContainerDef.initializeBindingContainer(DCBindingContainerDef.java:872)
    at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:1092)
    at oracle.adf.controller.internal.binding.RegionUtils.findOrCreateBindingContainer(RegionUtils.java:140)
    at oracle.adf.controller.internal.binding.RegionUtils.getCurrentBindingContainer(RegionUtils.java:96)
    at oracle.adf.controller.internal.binding.TaskFlowRegionModelViewPort.getCurrentBindingContainer(TaskFlowRegionModelViewPort.java:1093)
    at oracle.adf.controller.internal.binding.TaskFlowRegionModelLocal.getCurrentBindingContainer(TaskFlowRegionModelLocal.java:12)
    at oracle.adf.controller.internal.binding.TaskFlowRegionModelViewPort.doProcessBeginRegion(TaskFlowRegionModelViewPort.java:280)
    at oracle.adf.controller.internal.binding.TaskFlowRegionModelViewPort.processBeginRegion(TaskFlowRegionModelViewPort.java:157)
    at oracle.adf.controller.internal.binding.TaskFlowRegionModelLocal.processBeginRegion(TaskFlowRegionModelLocal.java:12)
    at oracle.adf.controller.internal.binding.TaskFlowRegionController.doRegionRefresh(TaskFlowRegionController.java:224)
    at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:119)
    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3211)
    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2883)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:565)
    at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:82)
    at oracle.adf.controller.v2.lifecycle.Lifecycle$9.execute(Lifecycle.java:224)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:34)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$5.before(ADFPhaseListener.java:516)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:76)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:378)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:237)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:208)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
    java.lang.NullPointerException
    at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:740)
    at oracle.adf.model.binding.DCBindingContainerDef.initializeBindingContainer(DCBindingContainerDef.java:872)
    at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:1092)
    at oracle.adf.controller.internal.binding.RegionUtils.findOrCreateBindingContainer(RegionUtils.java:140)
    at oracle.adf.controller.internal.binding.RegionUtils.getCurrentBindingContainer(RegionUtils.java:96)
    at oracle.adf.controller.internal.binding.TaskFlowRegionModelViewPort.getCurrentBindingContainer(TaskFlowRegionModelViewPort.java:1093)
    at oracle.adf.controller.internal.binding.TaskFlowRegionModelLocal.getCurrentBindingContainer(TaskFlowRegionModelLocal.java:12)
    at oracle.adf.controller.internal.binding.TaskFlowRegionModelViewPort.doProcessBeginRegion(TaskFlowRegionModelViewPort.java:280)
    at oracle.adf.controller.internal.binding.TaskFlowRegionModelViewPort.processBeginRegion(TaskFlowRegionModelViewPort.java:157)
    at oracle.adf.controller.internal.binding.TaskFlowRegionModelLocal.processBeginRegion(TaskFlowRegionModelLocal.java:12)
    at oracle.adf.controller.internal.binding.TaskFlowRegionController.doRegionRefresh(TaskFlowRegionController.java:224)
    at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:119)
    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3211)
    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2883)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:565)
    at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:82)
    at oracle.adf.controller.v2.lifecycle.Lifecycle$9.execute(Lifecycle.java:224)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:34)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$5.before(ADFPhaseListener.java:516)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:76)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:378)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:237)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:208)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <Feb 28, 2013 12:42:40 PM IST> <Error> <HTTP> <BEA-101020> <[ServletContext@162032[app:Sales module:Sales-SalesForecastingForecastsPublicUiFuse-context-root path:/Sales-SalesForecastingForecastsPublicUiFuse-context-root spec-version:2.5]] Servlet failed with Exception
    java.lang.NullPointerException
    at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:740)
    at oracle.adf.model.binding.DCBindingContainerDef.initializeBindingContainer(DCBindingContainerDef.java:872)
    at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:1092)
    at oracle.adf.controller.internal.binding.RegionUtils.findOrCreateBindingContainer(RegionUtils.java:140)
    at oracle.adf.controller.internal.binding.RegionUtils.getCurrentBindingContainer(RegionUtils.java:96)
    Truncated. see log file for complete stacktrace
    >
    Thanks,
    James

    Hi,
    it's difficult to say what is wrong while creating the region. pls read out this doc http://docs.oracle.com/cd/E21764_01/web.1111/b31974/taskflows_regions.htm for the correct steps. you can also paste your code.
    ~Abhijit

  • Getting null pointer exception when connecting to 10.2.0.4

    Hi,
    We just had some of our Oracle databases upgraded to 10.2.0.4 from 10.2.0.3. Now, I get a 'null' response with a Java stack trace. I can work with the 10.2.0.3 databases fine, it's the 10.2.0.4 databases that error when trying to open the connection. I changed the properties from network alias (10.2 client installed) to Connection Identifier and it seemed to work. The below error is what I'm getting. Just an inconvenience... does anyone know what the cause of this could be?
    java.lang.NumberFormatException: null
         at java.lang.Integer.parseInt(Integer.java:415)
         at java.lang.Integer.parseInt(Integer.java:497)
         at oracle.net.ns.NSProtocol.connect(Unknown Source)
         at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:844)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:268)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
         at oracle.jdeveloper.db.adapter.AbstractConnectionCreator.getConnection(AbstractConnectionCreator.java:153)
         at oracle.dbtools.raptor.standalone.connection.RaptorConnectionCreator.getConnection(RaptorConnectionCreator.java:59)
         at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:309)
         at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:238)
         at oracle.jdevimpl.db.adapter.CADatabaseFactory.createConnectionImpl(CADatabaseFactory.java:60)
         at oracle.javatools.db.DatabaseFactory.createConnection(DatabaseFactory.java:407)
         at oracle.javatools.db.DatabaseFactory.createDatabase(DatabaseFactory.java:126)
         at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:637)
         at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:564)
         at oracle.dbtools.raptor.utils.Connections$ConnectionInfo$ConnectRunnable.doWork(Connections.java:1144)
         at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:161)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:615)
         at java.lang.Thread.run(Thread.java:595)

    Hi,
    The error you got seems to occur because you probably type blank spaces for the password.
    If you change with a valid logon that should work!!!
    Regards,
    Mireille

  • Unable to use TestBed - getting Null Pointer exception

    I just downloaded DTTestBed.ear from http://www.banzel.com/download/DTTestBed.ear. After I deployed the war file in 10.1.2 IAS, I tried to test my Data Template. I get the following error:
    500 Internal Server Error
    java.lang.NullPointerException     at DT3.jspService(_DT3.java:450)     [SRC:/DT3.jsp:392]     at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)
    Does anyone have the latest link to download the correct TestBed war file?
    Thanks,
    Uma

    Hi,
    I am also trying E-mail Activity but I am not able to receive the e-mail.
    I have set the following in the ns_emails.xml
    <EmailAccount>
    <Name>Default</Name>
    <GeneralSettings>
    <FromName>Oracle BPM</FromName>
    <FromAddress>[email protected]</FromAddress>
    </GeneralSettings>
    <OutgoingServerSettings>
    <SMTPHost>Server' IPADRESS</SMTPHost>
    <SMTPPort>25</SMTPPort>
    </OutgoingServerSettings>
    <IncomingServerSettings>
    <SMTPHost>Server' IPADRESS</SMTPHost>
    <SMTPPort>25</SMTPPort>
    </IncomingServerSettings>
    In this "[email protected]" is the user configured and "Server' IPADRESS" is the IPADDRESS of the SMTP server.
    Moreover I have also have SMTP server as the incoming server.
    Now I have a simple BPEL PROCESS having Email Activity of sending a mail.
    The "To" section has "[email protected]".
    I am not able to recive the mail and I have also cheked the SMTP server there is no mail there but BPEL Process runs fine.
    I also have one Script which can send mail to the user Ihave mentioned and it works fine.So server setting seems to be fine.Are there any other setting required.
    If you are able to send the mail then can you give me your inputs on this issue.
    Regards
    Lalit

  • Hi: please help me its urgent

    hi all,
    i am getting the values of netwr and amount in the outout.
    but unable to find the values of matnr, arktx.i am sending the code please suggest.
    loop at it_vbrp.
    LOOP AT it_konv WHERE kposn      = it_vbrp-posnr and
                          kschl      = 'ZP01' OR
                          kschl      = 'ZP02' OR
                          kschl      = 'ZP03' OR
                          kschl      = 'ZP05' OR
                          kschl      = 'ZP06' OR
                          kschl      = 'ZP51'.
    it_item-netwr = it_konv-kwert.
    it_item-amount = it_konv-kwert * it_vbrp-fkimg.
    append it_item.
    endloop.
    endloop.
    LOOP AT it_vbrp.
    *is = sy-tabix.
      it_item-matnr = it_vbrp-matnr.
      it_item-arktx = it_vbrp-arktx.
      it_item-fkimg = it_vbrp-fkimg.
      it_item-meins = it_vbrp-meins.
    MODIFY it_item TRANSPORTING  matnr arktx fkimg meins WHERE
    matnr = it_vbrp-matnr.
    ENDLOOP.
    regards
    akmal

    Hi akmal ,
                      Your this part code is wrong .How can you modify it_item when you have looped it_item table.Follow the bold part of the code.So you don't have to start the it_vbrp loop again.
    Loop at it_vbrp.
    it_item-matnr = it_vbrp-matnr.
    it_item-arktx = it_vbrp-arktx.
    it_item-fkimg = it_vbrp-fkimg.
    it_item-meins = it_vbrp-meins.
    MODIFY it_item TRANSPORTING matnr arktx fkimg meins WHERE
    matnr = it_vbrp-matnr.
    loop at it_vbrp.
    LOOP AT it_konv WHERE kposn = it_vbrp-posnr and
    kschl = 'ZP01' OR
    kschl = 'ZP02' OR
    kschl = 'ZP03' OR
    kschl = 'ZP05' OR
    kschl = 'ZP06' OR
    kschl = 'ZP51'.
    it_item-netwr = it_konv-kwert.
    it_item-amount = it_konv-kwert * it_vbrp-fkimg.
    <b>it_item-matnr = it_vbrp-matnr.
    it_item-arktx = it_vbrp-arktx.
    it_item-fkimg = it_vbrp-fkimg.
    it_item-meins = it_vbrp-meins.</b>
    append it_item.
    endloop.
    endloop.
    Please reward if useful.

  • Please help me its urgent -  restrict field update against a condition

    Dear Friends,
    I'm new to the oracle forms .. i want to restrict a filed update against a condition in my form.
    I am using multi record block. I want to disable few fields in a row e.g. there are 10 records in the record block i want to disable three items of 2nd record on the basis of some condition. How can i do it??

    HI,
    you can use the form-built in procedure SET_ITEM_INSTANCE_PROPERTY and the appropriate property....(UPDATE_ALLOWED = PROPERTY_FALSE).
    For example:
      begin
        if <your_condition>
          then
              set_item_instance_property('<your_item1>',<record_number/CURRENT_RECORD>,UPDATE_ALLOWED ,PROPERTY_FALSE);
             set_item_instance_property('<your_item2>',<record_number/CURRENT_RECORD>,UPDATE_ALLOWED ,PROPERTY_FALSE);
         else
             set_item_instance_property('<your_item1>',<record_number/CURRENT_RECORD>,UPDATE_ALLOWED ,PROPERTY_TRUE);
             set_item_instance_property('<your_item2>',<record_number/CURRENT_RECORD>,UPDATE_ALLOWED ,PROPERTY_TRUE);
        end if;
      end;
      For more info , take a look at the on-line help....
    Greetings,
    Sim

  • Dump at if condition statement. Null pointer Exception

    hi all,
    I have a recursive node as a child node for a value node. I have created an instance of the value node.
    I also have accessed current elem of this value node. Since every elem of this value node will have recursive node also in it, I want to access the recursive node present in the elem.
    I want to do this using general node and element API - ie IWDNode and IWDNodeElement.
    No specific node name can be used coz this  is done for a generic method which takes a value node a as parameter and tries to create child elems for the node accessing the recursive node present in it.
    How can this be done ?
    I am using the following code.
    String ChildName = SourceNode.getNodeInfo().getName().split("_")[1] + "Rec";
    IWDNode childNode = SourceNode.getChildNode(ChildName, 0);
    if (childNode == null || childNode.size() == 0 ) {
    It throws a dump at if condition statement. ( Null pointer Exception)
    Any help appreciated !!
    Edited by: ymb on Mar 25, 2009 1:23 PM

    Hi,
    Its actually pity simple. If you will read the Javadocs you will find that there are various ways in which you can get the list of all chil nodes of a parent node.
    You just have to iterate over the chil nodes and get the names of the node.
    Please check this link for JAVA docs: http://help.sap.com/javadocs/nwce/current/wdr/index.html
    However for your requirement there can be following ways to get the list of the chil nodes. Please check these two code snippets:
        IWDNode node = wdContext.nodeNode1();
        Iterator itr = node.getNodeInfo().iterateChildren();
        String nodeName = null;
        String parentName = null;
        while(itr.hasNext()){
             nodeName = ((IWDNode)itr.next()).getNodeInfo().getName();
             parentName = ((IWDNode)itr.next()).getNodeInfo().getParent().getName();
             wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess("Node Name is: "
    + nodeName +"and it is under the parent Node named: " +parentName);
    Also there is another approach to do teh same, please have a look to this code snippet:
    List list = node.getNodeInfo().getChildren();
    String nodeName = null;
    String parentName = null;
    Iterator itr1 = list.iterator();
    while (itr1.hasNext()) {
         nodeName = ((IWDNode) itr1.next()).getNodeInfo().getName();;
         parentName = ((IWDNode)itr1.next()).getNodeInfo().getParent().getName();
         wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess("Node Name is: "
    + nodeName +"and it is under the parent Node named: " +parentName);
    I am sure this will all your issues and also you will not get the null pointer exception which was your initial issue.
    Please revert back in case you have any further issues.
    Thanks and Regards,
    Pravesh

  • Null Pointer exception while invoking BPEL process

    Hi all,
    I am getting following exception when I am invoking a BPEL process1 (deployed in 10.1.3.1) from another BPEL Process 2 (deployed in 10.1.3.3)
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <faultcode>env:Server</faultcode>
    <faultstring>java.lang.NullPointerException</faultstring>
    <faultactor/>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    BPEL Process 1 is working fine when given manual input (testing through console). But when invoked using BPEL Process 2, it gives the above error. I also tried invoking BPEL Process 1 (and many other webservices deployed in 10.1.3.1) using TCPMON tool and got the same error.
    Am I missing something here in configuration of 10.1.3.1 or any other issue? Please help as it is really urgent.

    Contact [email protected]
    Slava Imeshev wrote:
    Hi Ramu,
    "Ramu" <[email protected]> wrote in message
    I have just upgraded to service pack #13 on WLS 5.1 from service pack #6.I am using the same code as it was with SP #6. When I invoke finder method
    on entity bean, I get null pointer exception. The primary key object for the
    entity bean has equals() method.
    javax.ejb.FinderException: Exception executing finder:java.lang.NullPointerException
    atweblogic.ejb.internal.StatefulEJBCache.getFinderContext(StatefulEJBCache.jav
    a:264)
    atweblogic.ejb.internal.StatefulEJBCache.getEJBContext(StatefulEJBCache.java:3
    54)
    Check if equals() method can handle null parameter.
    Regards,
    Slava Imeshev--
    Rajesh Mirchandani
    Developer Relations Engineer
    BEA Support

Maybe you are looking for