Random NullPointerException on UIShell

Hi.
I'm using UIShell , and sometimes it appens the following error:
java.lang.NullPointerException
     at oracle.jbo.server.ViewRowSetIteratorImpl.scrollRange(ViewRowSetIteratorImpl.java:1232)
     at oracle.jbo.server.ViewRowSetIteratorImpl.setRangeStartWithRefresh(ViewRowSetIteratorImpl.java:2730)
     at oracle.jbo.server.ViewRowSetIteratorImpl.setRangeStart(ViewRowSetIteratorImpl.java:2715)
     at oracle.jbo.server.ViewRowSetImpl.setRangeStart(ViewRowSetImpl.java:3015)
     at oracle.jbo.server.ViewObjectImpl.setRangeStart(ViewObjectImpl.java:10678)
     at oracle.adf.model.binding.DCIteratorBinding.setRangeStart(DCIteratorBinding.java:3552)
     at oracle.adfinternal.view.faces.model.binding.RowDataManager._bringInToRange(RowDataManager.java:101)
     at oracle.adfinternal.view.faces.model.binding.RowDataManager.setRowIndex(RowDataManager.java:55)
     at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel.setRowIndex(FacesCtrlHierBinding.java:800)
     at org.apache.myfaces.trinidad.component.UIXCollection.setRowIndex(UIXCollection.java:530)
     at oracle.adf.view.rich.component.UIXTable.processStamps(UIXTable.java:199)
     at org.apache.myfaces.trinidad.component.UIXTable.processFacetsAndChildren(UIXTable.java:382)
     at org.apache.myfaces.trinidad.component.UIXCollection.decodeChildrenImpl(UIXCollection.java:206)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
     at org.apache.myfaces.trinidad.component.UIXCollection.processDecodes(UIXCollection.java:200)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:962)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.access$001(ContextSwitchingComponent.java:41)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$2.run(ContextSwitchingComponent.java:149)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.processDecodes(ContextSwitchingComponent.java:152)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:962)
     at org.apache.myfaces.trinidad.component.UIXEditableValue.processDecodes(UIXEditableValue.java:287)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:962)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:962)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:962)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:962)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:962)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:962)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:962)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:962)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:962)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.access$001(ContextSwitchingComponent.java:41)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$2.run(ContextSwitchingComponent.java:149)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.processDecodes(ContextSwitchingComponent.java:152)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:962)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:962)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.access$001(ContextSwitchingComponent.java:41)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$2.run(ContextSwitchingComponent.java:149)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.processDecodes(ContextSwitchingComponent.java:152)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:1204)
     at oracle.adf.view.rich.component.fragment.UIXRegion.decodeChildrenImpl(UIXRegion.java:635)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:1190)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:962)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1548)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnNamingContainerComponent(UIXComponentBase.java:1670)
     at oracle.adf.view.rich.component.fragment.UIXRegion.invokeOnComponent(UIXRegion.java:625)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at oracle.adf.view.rich.component.fragment.UIXInclude.invokeOnComponent(UIXInclude.java:161)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
     at org.apache.myfaces.trinidad.component.UIXDocument.invokeOnComponent(UIXDocument.java:106)
     at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:1299)
     at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:677)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:374)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
     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:173)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
     at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
     at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
     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:111)
     at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
     at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
     at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
     at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
     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:136)
     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)
This error appears to be related to the opening of a new functionality, but it is unsystematic.
My jdev is 11.1.2.1.0
Thanks

jdev version used 11.1.1.6.2 and there are more than 20 k rows in the af:table.
it can be seen in the logs when user scrolls randomly in the table and cannot be reproduced consistently

Similar Messages

  • Random NullPointerException in iStore

    We are experiencing a problem with our iStore R12 implementaion. It seems that we often get a random NullPointerException during the checkout process. I am attaching the stack trace generated below.
    This seems to be a totally random occurence because if we click on the "Return to Previous Page" button and re-submit the page, it would often go through. I have not been able to consistently reproduce the error every time.
    We have customized some iStore jsp, but only as far as the look-and-feel and nothing that deals with RequestCtx.
    Please let me know if you have run into a similar situation or if you have a resolution to my issue.
    Thanks!
    <blockquote>
         Stack:
         java.lang.NullPointerException
              at oracle.apps.ibe.util.RequestCtx.userIsAnonymous(RequestCtx.java:1379)
              at xxBanCCkpOrdReview.jspService(_xxBanCCkpOrdReview.java:582)
              at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
              at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:416)
              at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
              at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
              at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
              at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
              at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
              at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
              at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
              at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
              at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
              at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
              at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
              at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
              at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
              at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
              at java.lang.Thread.run(Thread.java:595)
    </blockquote>

    Remove the permission
    IBE_CHANGE_SHIP%
    If these is not working, you need to customize the page to disable select button.

  • Random NullPointerException on resultset.getstring

    I have been getting random NullPointerException ever since I have moved my code to a new dev server. I was using tomcat 3 and oracle 9i but moved to tomcat 6 and oracle10g express edition.
    The errors happen mostly when the server is under load.
    here is the code where is breaks
             while(rset.next()) {
                  signNum++;                                //LINE:2172
                  signed.set(rset.getString(1),"CHECKED");  //LINE:2173
                  mark.set(rset.getString(1));              //LINE:2174
              }and here is the stack trace:
    SEVERE: Servlet.service() for servlet MyServlet threw exception
    java.lang.NullPointerException
         at oracle.jdbc.driver.OracleResultSetImpl.getString(OracleResultSetImpl.java:397)
         at runner.MyServlet.getSignUp(MyServlet.java:2174)
    The exception does not happen everytime. It is also odd that the previous line was able to successfully call rset.getString but the very next line gets NullPointerException. Perhaps express edition is to blame?
    This is not the only code that gets exceptions. It happens all over seemingly random. It happens to resultset.getstring and resultset.getint.
    Frustrating

    You were right, it was a multithreading issue.
    Did a google search on "servlet multithreading" and got this article:
    http://www.javaworld.com/javaworld/jw-07-2004/jw-0712-threadsafe.html
    And I realized My servlet had a private variable that was being shared. Been a while since I have been using servlets. The funny thing is that this code ran for years w/o problem on jserv (the really old tomcat). They must not have implemented servlets with multithreading.
    Anyways, mega thanks.

  • InitSessionInfo random NullPointerException

    We are facing random NullPointerExceptions in our webapplication.
    java.lang.NullPointerException
         at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.initSessionInfo(Unknown Source)
         at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.getSessionInternal(Unknown Source)
         at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.getSession(Unknown Source)
         at weblogic.servlet.internal.ServletRequestImpl.getSession(Unknown Source)
         at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:227)
         at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:227)
    Actually this error exists since some years in our application and occurs about 2500 times per day.
    With our latest release, we introduced a kind of a wrong configuration, which rose the number of session to a 50'000 in total.
    With this amount of sessions, the NullPointerException occured more then 40'000 times within 8 h.
    Right after fixing the configuration, the session count decreased to a total of 12'000 and the error logs showed the "normal" number of 2500 NullPointerException per day.
    Disabling the keepalive flag which is often recommended is not an option, cause this leads to other problems which have bigger impact then the initial NullPointerException.
    Infrastructure stack:
    - Loadbalancer
    - Two Apache 2.2.22
    - Connection Module mod_wl_22.so
    - Four Weblogic 10.3.5.0
    Has someone faced the same problem or has a hint?
    Thanks for your help.
    André
    Edited by: 923879 on Mar 28, 2012 5:48 AM
    Edited by: 923879 on Mar 28, 2012 5:49 AM

    You were right, it was a multithreading issue.
    Did a google search on "servlet multithreading" and got this article:
    http://www.javaworld.com/javaworld/jw-07-2004/jw-0712-threadsafe.html
    And I realized My servlet had a private variable that was being shared. Been a while since I have been using servlets. The funny thing is that this code ran for years w/o problem on jserv (the really old tomcat). They must not have implemented servlets with multithreading.
    Anyways, mega thanks.

  • Wlclient and clusters

    Hi,
    We currently have an issue with the use of wlclient from a Swing app going to a weblogic 8.1 sp4 cluster.
    When the cluster has 2 servers ( our test state ) everyting works fine.
    But when the cluster has 4 servers ( our production environment ) we get random NullPointerExceptions from one one the Weblogic classes.
    The Swing app is started using SwingUtilities.InvokeLater and Security.RunAs. A thread is running doing multiple calls to the same EJB, when the application makes another EJB call from a different thread at the same time, the error appears.
    The stack trace is below.
    java.lang.NullPointerException
         at weblogic.corba.client.security.SecurityInterceptor.receive_reply(SecurityInterceptor.java:192)
         at com.sun.corba.se.internal.Interceptors.InterceptorInvoker.invokeClientInterceptorEndingPoint(InterceptorInvoker.java:274)
         at com.sun.corba.se.internal.Interceptors.PIORB.invokeClientPIEndingPoint(PIORB.java:555)
         at com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.java:457)
         at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
         at ca.gc.ccra.rhmc.tieri.ejb._RHDataCachingBroker_Stub.getString(Unknown Source)
         at ca.gc.ccra.rhmc.tieri.ejb._RHDataCachingBroker_Stub.getString(Unknown Source)
         at ca.gc.ccra.rhmc.tierc.RHRetrieverDelegate.getString(RHRetrieverDelegate.java:790)
         at ca.gc.ccra.nd.nedd.common.interfaces.corpauthority.message.LocalMessageLoader.lookupTextResourceInRH(LocalMessageLoader.java:209)
         at ca.gc.ccra.nd.nedd.common.interfaces.corpauthority.message.LocalMessageLoader.prefetchMessages(LocalMessageLoader.java:159)
         at ca.gc.ccra.nd.nedd.common.interfaces.corpauthority.message.PrefetchMessagesThread.refreshMessages(PrefetchMessagesThread.java:45)
         at ca.gc.ccra.nd.nedd.common.interfaces.corpauthority.message.PrefetchMessagesThread.run(PrefetchMessagesThread.java:29)

    Jean-Francois Cormier <> writes:
    Yeah, its a little strange. By default load-balancing should be sticky
    to avoid stateless reauthentication of every call. You might want to
    see if sp5 helps at all (both client and server). I know there was a
    bug fixed in either there or sp4 wrt reauthentication.
    andy
    Thanks,
    Here some other info, i've set the weblogic.debug.client.security flag to true. It seems as if it's re-authenticating for each call. This only happens in our production environement ( siteminder plugin for security ). If I run against my own cluster with a vanilla file realm it works ok.
    We will probably end up having to raise a case or go back to weblogic.jar.
    Here's some of the debuging output, it looks like there is always an invalid context, maybe that's why a NullPointer is thrown:
    <SecurityInterceptor> send_request(<5ac0bced>.create)
    <SecurityInterceptor> adding MessageInContext
    <SecurityInterceptor> receive_exception(create)
    <SecurityInterceptor> found SAS ContextError for create()
    <SecurityInterceptor> client context not valid, retrying
    <SecurityInterceptor> send_request(<bac8a6ee>.create)
    <SecurityInterceptor> adding security context from 1 components for Subject:
         Principal: CCRAPrincipal "prezeau"
         Private Credential: weblogic.security.auth.login.PasswordCredential@1a1399
         Private Credential: SubjectProxy[23032071]
    <SecurityInterceptor> receive_reply(create)
    <SecurityInterceptor> found SAS context for create()
    <SecurityInterceptor> send_request(<f5c5ddfd>.getString)
    <SecurityInterceptor> adding MessageInContext
    <SecurityInterceptor> receive_exception(getString)
    <SecurityInterceptor> found SAS ContextError for getString()
    <SecurityInterceptor> client context not valid, retrying
    <SecurityInterceptor> send_request(<81007eb6>.getString)
    <SecurityInterceptor> adding security context from 1 components for Subject:
         Principal: CCRAPrincipal "prezeau"
         Private Credential: weblogic.security.auth.login.PasswordCredential@1a1399
         Private Credential: SubjectProxy[23032071]
    <SecurityInterceptor> receive_reply(getString)
    <SecurityInterceptor> found SAS context for getString()
    <SecurityInterceptor> send_request(<4a952556>.create)
    <SecurityInterceptor> adding MessageInContext
    <SecurityInterceptor> receive_exception(create)
    <SecurityInterceptor> found SAS ContextError for create()
    <SecurityInterceptor> client context not valid, retrying
    <SecurityInterceptor> send_request(<7f3c180e>.create)
    <SecurityInterceptor> adding security context from 1 components for Subject:
         Principal: CCRAPrincipal "prezeau"
         Private Credential: weblogic.security.auth.login.PasswordCredential@1a1399
         Private Credential: SubjectProxy[23032071]
    <SecurityInterceptor> send_request(<157197b9>.resolve_any)
    <SecurityInterceptor> adding security context from 1 components for Subject:
         Principal: CCRAPrincipal "prezeau"
         Private Credential: weblogic.security.auth.login.PasswordCredential@1a1399
         Private Credential: SubjectProxy[23032071]

  • XML Publisher Report Bursting Program Randomly failing

    Hi,
    In our environment "XML Publisher Report Bursting Program" fails randomly and failures are very very few and random, and can not be reproduced.
    The error message is
    +++++++++++++++++++++++++++++++++++++++++++
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XDOBURSTREP module: XML Publisher Report Bursting Program
    Current system time is 16-APR-2013 14:00:42
    Exception in thread "main" java.lang.NullPointerException
    at java.util.Hashtable.put(Hashtable.java:394)
    at oracle.apps.xdo.oa.cp.CPUtil.getSessionProperties(CPUtil.java:42)
    at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:84)
    at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine
    Program exited with status 1
    Executing request completion options...
    ++++++++++++++++++++++++++++++++++++++++++++++
    Had been trying to find out any pattern, but no fix time or particular parent request.
    Only common point in failure with above error are below columns in fnd_concurrent_request
    Description - blank
    LFILE_SIZE - 1476
    & interim_status_code - Blank
    Any suggestions will be helpful

    Hi;
    Similar issue mention at below notes, Please review:
    NPE Error While Bursting Using XDOBURSTREP in EBS R12 [ID 754790.1]
    Bursting Engine Ends With Java.Lang.Nullpointerexception[Article ID 559443.1]
    XDOBURSTREP - XML Publisher Report Bursting Program Fails with InvalidPropertyValueException[Article ID 603424.1]
    If its not help I suggest rise SR
    Regard
    Helios

  • Can't figure out where NullPointerException is coming from

    I will attach the code I have below. It is almost entirely done but i am getting a NullPointerException that is driving me nuts, and I can't figure out were it is coming from.
    Help is greatly appreciated.
    First code:
    import java.util.Scanner;
    import java.io.*;
    import java.util.Random;
    import java.util.Collection;
    public class DistributionPlagiarist
         public static void main(String[] args) throws IOException
              Scanner keyboard = new Scanner(System.in);
              int keyLength=0, phraseLength=0, numberOfPhrases=0;
              String inputFileName="", keepReadingFromFile="", theFile="";
              FrequencyLibrary text = new DenseFrequencyLibrary();
              if(args.length != 4)
                   System.out.println("The command line arguments you entered do not match what is needed.  Please try again.");
                   System.exit(0);
              for(int count=0; count<args.length; count++)
                   keyLength = Integer.parseInt(args[0]);
                   phraseLength = Integer.parseInt(args[1]);
                   numberOfPhrases = Integer.parseInt(args[2]);
                   inputFileName = args[3];
              if(keyLength < 0)
                   while(keyLength < 0)
                        System.out.print("The length of the key (" + keyLength + ")" + " you entered is less than zero.\nPlease enter another key length: ");
                        keyLength = keyboard.nextInt();
                        System.out.println();
              if(phraseLength < 0)
                   while(phraseLength < 0)
                        System.out.print("The desired length of the phrase (" + phraseLength + ")" + " you entered is less than zero.\nPlease enter another phrase length: ");
                        keyLength = keyboard.nextInt();
                        System.out.println();
              if(numberOfPhrases <= 0)
                   while(numberOfPhrases <= 0)
                        System.out.print("The desired number of phrases (" + keyLength + ")" + " you entered is not applicable.\nPlease choose another number: ");
                        keyLength = keyboard.nextInt();
                        System.out.println();
              File file=new File(inputFileName);
              boolean exists = file.exists();
              if (exists == false)
                   while(exists == false)
                        System.out.println("The file you are searching for does not exist.  Please place it in this programs directory.");
                        System.out.print("Please re-enter the file name: ");
                        inputFileName = keyboard.nextLine();
                        file=new File(inputFileName);
                        exists = file.exists();
              int count=keyLength, start=0, stop=0;
              FileReader freader = new FileReader(inputFileName);
              BufferedReader inputFile = new BufferedReader(freader);
              while(keepReadingFromFile != null)
                   keepReadingFromFile = inputFile.readLine();
                   if(keepReadingFromFile == null)
                        break;
                   else
                        theFile = theFile + keepReadingFromFile;
              while(count < theFile.length())
                   String name = theFile.substring(start, keyLength+stop);
                   char singleCharacter = theFile.charAt(count);
                   text.add(name, singleCharacter);
                   start++;
                   stop++;
                   count++;
              int countNumberOfPhrases=0;
              while(numberOfPhrases > 0)
                   countNumberOfPhrases++;
                   String phrase = randomphrase(text, phraseLength, keyLength);
                   System.out.println("Phrase " + countNumberOfPhrases + ":\n" + phrase);
                   numberOfPhrases--;
         private static String randomphrase(FrequencyLibrary textLibrary, int phraseLengthToMake, int startLength)
              String startString="";
              char characterToAdd=' ';
              startLength++;
              Random generator = new Random();
              int sizeOfLibrary=textLibrary.size()/2, randomInt = generator.nextInt(sizeOfLibrary+1), value=0;
              Collection<String> stringNames = textLibrary.makeStringCollection();
              for(String stringFromCollection : stringNames)
                   if(randomInt == value)
                        startString = stringFromCollection;
                   value++;
              String thePhrase = new String(startString);
              System.out.println("INITIAL START:" + startString + "TTTT");
              int substringStart=1;
              while(startLength < phraseLengthToMake)
                   characterToAdd = textLibrary.randomUniformChoose(startString);
                   thePhrase = thePhrase + characterToAdd;
                   System.out.println("CHARACTER:" + characterToAdd + "TTTT");
                   System.out.println("PHRASE:" + thePhrase + "TTTT");
                   startString = thePhrase.substring(substringStart, thePhrase.length());
                   boolean answer = textLibrary.contains(startString);
                   System.out.println(answer);
                   System.out.println("NEW STRING:" + startString + "TTTT");
                   startLength++;
                   substringStart++;
              return thePhrase;
    }Second code:
    import java.util.Collection;
    import java.util.HashMap;
    public class DenseFrequencyLibrary implements FrequencyLibrary
         private HashMap<String, MultiSetOfChar> bookTitleAndCharacterAndIntegerHashMap = new HashMap<String, MultiSetOfChar>();
         private MultiSetOfChar keyAndValuePairs = new DenseMultiSetOfChar();
          * Creates a new DenseFrequencyLibrary with all the essential things clear;
         DenseFrequencyLibrary()
              bookTitleAndCharacterAndIntegerHashMap.clear();
          * Input the value from the creation of the DensneMultiSetOfChar into a HashMap.  If the key
          * already exists then the value associated with it is updated by one.
          * @param character a char to be used in forming the HashMap
          * @return characterMap
         private HashMap<String, MultiSetOfChar> inputIntoMap(String name, char character)
              if(!bookTitleAndCharacterAndIntegerHashMap.containsKey(name))
                   keyAndValuePairs = new DenseMultiSetOfChar(character);
              else
                   keyAndValuePairs.add(character);
              this.bookTitleAndCharacterAndIntegerHashMap.put(name, keyAndValuePairs); //input character and value
              return bookTitleAndCharacterAndIntegerHashMap; //return the new HashMap
          * Returns the number of books in the library.
          * @return |b|, ie the number of books in b
        public int size()
             int numberOfBooks=bookTitleAndCharacterAndIntegerHashMap.size();
             return numberOfBooks;
         * Searches the library for an occurrence of a given book
         * @param target the name of a book to be searched for in the library
         * @return true if and only if the argument is already a book title in the library.
        public boolean contains(String target)
             boolean bookIsInLibrary=false;
             if(bookTitleAndCharacterAndIntegerHashMap.containsKey(target))
                  bookIsInLibrary = true;
             return bookIsInLibrary;
         * Returns the MultiSetOfChar that represents the occurrences of the individual characters
         * in the text of the book indicated by the argument.
         * @param target
         * @return MultiSetOfChar
        public MultiSetOfChar getFrequencies(String target)
             MultiSetOfChar frequencyMultiSetOfChar = bookTitleAndCharacterAndIntegerHashMap.get(target);
             return frequencyMultiSetOfChar;
         * Modifies the character occurrences associated with name to include one more occurrence of element.
         * @param name string of the name of the book
         * @param element character to add to the specified book
        public void add(String name, char element)
             bookTitleAndCharacterAndIntegerHashMap = inputIntoMap(name, element);
         * Modifies the character occurrences associated with name to include one less occurrence of element.
         * @param name string of the name of the book
         * @param element character to be removed from the specified book
         * @return true if and only if the book is modified.
        public boolean remove(String name, char element)
             boolean characterWasRemovedFromBook=false;
             //if the target character is in the map then remove it
              if(bookTitleAndCharacterAndIntegerHashMap.containsKey(name))
                   MultiSetOfChar keyAndValuePairs = bookTitleAndCharacterAndIntegerHashMap.get(name);
                   keyAndValuePairs.remove(element);
                   characterWasRemovedFromBook = true; //set answer to true because the HashMap was changed
              else //target does not exist in the HashMap
                   characterWasRemovedFromBook = false; //set answer to false because the HashMap was not changed
             return characterWasRemovedFromBook;
         * Returns a random character, chosen from the same distribution as the characters appear in the book.
         * For example, if 5% of the characters in "Alice in Wonderland" are an 'A', then this method should
         * return an 'A' about 5% of the time.
         * @param name string of the name of the book to search through and remove a character
         * @return true if and only if the argument is already a book title in the library.
         public char randomUniformChoose(String name)
            MultiSetOfChar keyAndValuePairs = bookTitleAndCharacterAndIntegerHashMap.get(name);
            char randomCharacter = keyAndValuePairs.randomUniformChoose();
              return randomCharacter; //return the random character pulled out
         public Collection<String> makeStringCollection()
              Collection<String> stringCollection = bookTitleAndCharacterAndIntegerHashMap.keySet();
              return stringCollection;
    }Third code:
    import java.util.HashMap;
    import java.util.Set;
    import java.util.Collection;
    import java.util.Random;
    * DenseMultiSetOfChar implements MultiSetOfChar.
    * @mathmodel b is a finite multiset
    * @mathdef
    *  |b| is the cardinality of b
    *  ||c,b|| is the number of occurrences of element c in b
    * @author Kyle Hiltner
    public class DenseMultiSetOfChar implements MultiSetOfChar
         private char characterInput=' ';
         private HashMap<Character, Integer> characterMap = new HashMap<Character, Integer>();
          * Create a new DenseMultiSetOfChar with zero argument
         DenseMultiSetOfChar()
              characterMap.clear(); //clear static HashMap
          * Create a new DenseMultiSetOfChar with the passed in value.
          * @param newChar character input to be added to the HashMap
         DenseMultiSetOfChar(char newChar)
              this.characterInput = newChar; //set characterInput to the value passed in
              characterMap = inputIntoMap(this.characterInput); //call private procedure to add characterInput to HashMap
          * Input the value from the creation of the DensneMultiSetOfChar into a HashMap.  If the key
          * already exists then the value associated with it is updated by one.
          * @param character a char to be used in forming the HashMap
          * @return characterMap
         private HashMap<Character, Integer> inputIntoMap(char character)
              //if the character is not in the HashMap then add it with the starting value of 1
              if(!characterMap.containsKey(character))
                   characterMap.put(character, 1); //input character and value
              else //character does exist
                   int value = characterMap.get(character); //get the value for the specified key
                   value++; //increase the value so as to show that another character was added
                   characterMap.put(character, value); //place the character and new value in the HashMap
              return characterMap; //return the new HashMap
          * Returns the number of elements in this multiset (ie its cardinality).
          * Note that since multisets can include duplicates, the cardinality may be
          * larger than the number of distinct elements. Also, the total number of
          * items in the multiset is bounded above by Integer.MAX_VALUE.
          * @return |b|, ie the cardinality of b
         public int getCardinality()
              int totalElementsInMap=0;
              Collection<Integer> integerCollection = characterMap.values(); //create a collection for easy iteration
              //iterate through each value in the HashMap and compute the total number of elements in the HashMap
              for(Integer valueFromCollection : integerCollection)
                   totalElementsInMap = totalElementsInMap + valueFromCollection; //compute new value of total values
              return totalElementsInMap; //return the final total value
          * Returns the number of occurrences of a given element in the multiset. A
          * simple identity relating getElementCount and getCardinality is that the
          * sum of getElementCount for each char is equal to the cardinality of the
          * set.
          * @param target
          *            char to be counted in the multiset
          * @return ||target,b||, ie the number of occurrences of target in b
         public int getElementCount(char target)
              int numberOfGivenCharacters=0; //set initial value
              //if the HashMap contains the target character then numberOfGivenCharacters is set to the value
              if(characterMap.containsKey(target))
                   numberOfGivenCharacters = characterMap.get(target); //set numberOfGivenCharacters to the value assigned to the target character
              return numberOfGivenCharacters; //return the value for the target character
          * Returns a set such that every element in the multiset is in the set (but
          * no duplicates). The cardinality of the returned set must be less than or
          * equal to |b|. The cardinality of the two are equal if and only if b
          * contains no duplicate elements.
          * @return a set of Character, s, such that: <br />
          *         (for all (Character)i in s : (char)i in b) and <br />
          *         (for all (char)i in b : (Character)i in s)
         public Set<Character> getElementSet()
              Set<Character> characterSet = characterMap.keySet(); //create a Set from the keys of characters in the HashMap     
              return characterSet; //return the character Set
          * Adds a single element to the multiset. This operation always increases
          * the cardinality of the multiset by 1, assuming that the maximum capacity
          * of Integer.MAX_VALUE has not been reached.
          * @param item
          *            the char to be added to b
          * @requires |b| < Integer.MAX_VALUE
          * @alters b
          * @ensures b = #b union {item}
         public void add(char item)
              characterMap = inputIntoMap(item); //call the private method to add new character (item) to the HashMap
          * Removes the target, if it is present in the multiset. The method returns
          * true if and only if it changes the multiset.
          * @param target
          *            the char to be removed
          * @alters b
          * @ensures (target not in #b) ==> (b = #b) <br />
          *          (target in #b) ==> (b union {target} = #b)
          * @return target in #b
         public boolean remove(char target)
              boolean answer=false; //set initial value to false
              //if the target character is in the map then remove it
              if(characterMap.containsKey(target))
                   int value = characterMap.get(target); //find the value associated with the target character
                   //if the value is 1 call remove from the HashMap and remove key and value
                   if(value == 1)
                        characterMap.remove(target); //remove key and value from the HashMap
                   else //value is greater than 1
                        value--; //decrease value to show removal
                        characterMap.put(target, value); //replace target character with new value back into the HashMap
                   answer = true; //set answer to true because the HashMap was changed
              else //target does not exist in the HashMap
                   answer = false; //set answer to false because the HashMap was not changed
              return answer; //return answer
          * Returns a char chosen randomly based on the contents of the multiset.
          * This operation does not remove the char from the multiset or change the
          * multiset in any way. In particular, the cardinality of the multiset is
          * the same before and after this method.
          * <p>
          * Characters should be returned with a random distribution equal to the
          * distribution of characters in the multiset. That is, for a character that
          * appears N times in a multiset of cardinality M, the probability of that
          * character being returned is N / M. For example, a multiset that contains
          * only the character 'a', possibly many times, would always result in an
          * 'a' being generated. On the other hand, a multiset with an equal number
          * of 'a' and 'b' elements would return an 'a' approximately half the time
          * and a 'b' the other half.
          * @requires |b| >= 1
          * @return char c with probability p, where: <br />
          *         p = ||c,b|| / |b|
         public char randomUniformChoose()
              char randomCharacter=' ';
              Random generator = new Random();
              int totalElementsInMap=0;
              Collection<Integer> integerCollection = characterMap.values(); //create a collection for easy iteration
              //iterate through each value in the HashMap and compute the total number of elements in the HashMap. 
              //Do this in case a remove call was made
              for(Integer valueFromCollection : integerCollection)
                   totalElementsInMap = totalElementsInMap + valueFromCollection; //compute new value of total values
              int randomInt = generator.nextInt(totalElementsInMap+1), lowerValue=0, upperValue=0;
              Collection<Character> keyCollection = characterMap.keySet();
              //iterate through each value in the HashMap and compute the total number of elements in the HashMap
              for(Character keyFromCollection : keyCollection)
                 upperValue = upperValue + characterMap.get(keyFromCollection);
                 if(randomInt == upperValue)
                      randomCharacter = keyFromCollection;
                 if(randomInt >= lowerValue && randomInt <= upperValue)
                      randomCharacter = keyFromCollection;
                 lowerValue = upperValue + 1;
              return randomCharacter; //return the random character pulled out
    }The Error:
    Exception in thread "main" java.lang.NullPointerException
         at DenseFrequencyLibrary.randomUniformChoose(DenseFrequencyLibrary.java:137)
         at DistributionPlagiarist.randomphrase(DistributionPlagiarist.java:146)
         at DistributionPlagiarist.main(DistributionPlagiarist.java:112)I will attempt to explain what this does in as few words as possible. For a breakdown of the lab go urlhttp://www.cse.ohio-state.edu/~paolo/teaching/494MJ/labs/lab8.shtml{url}. If you don't feel like reading that: THe program reads in some command line arguments. From there it reads from the file provided in the command line and creates "keys" from the specified length. From there I need to create a phrase of the specified length. If i am supposed to create more then one then i do. That is pretty much it. I can't figure out where (really why) the NullPointerException error is coming from.
    Help is appreciated!!

    Post the actual error text (copy and paste, don't "interpret" it) here.
    It should include a stack trace which references a line number of the program -
    unless you suppressed the trace, in which case change your error handling
    so that the trace is produced.
    Identify which program line in your post the error is pointing to so that we can match
    the error with your program, since your post doesn't have line numbers..
    Edited by: ChuckBing on Nov 16, 2007 7:19 PM
    Also - posting large amounts of code (as you did) will reduce the chance of anyone helping

  • 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

  • NullPointerException while sending signed XML via SOAP to Axis webservice

    Hello,
    I was wondering if it was possible to change the behavior of Apache XML Security libraries and delete "ds:" namespaces while digitally signing XML files.
    We are trying to send signed XML to a local chilean IRS, as a part of an automatic autentication process. The steps to authenticate are quite straightforward and involve:
    1. Obtain from webservice 1 a "seed", which is a random number representing temporal session opened
    2. Sign this seed (in XML format) using our certificate
    3. Send signed XML to another webservice 2, which should validate it and open a permanent session, returning a "token", which is an alphanumeric string
    What happens is that steps 1 and 2 are completed without problems, while we cannot pass step 3. The webservice (as far I know mounted on Apache Axis) fails with ugly error "NullPointerException".
    The IRS says that our signed XML, although valid, seems strange to them, as it contains those "ds:" added by Apache Xml Security libraries while signing the file.
    So here comes the question: is it possible to obtain valid signed XML without those "ds:"? What other reasons may result in that NullPointerException error?
    We use simple Java class and VeriSign certificate stored in Java keystore to sign XML files, and Apache Xml Security 1.2.0 jars.
    For any clues that could help us thank you in advance.
    Jack

    Hi,
    Few months ago we had also problems with "locked user" in XI, in our case XIAPPLUSER was sometimes (b)locked.
    Perhaps note:
    721548 Changing the passwords of the XI 3.0 service users
    will help you.
    We removed and entered the service users again, with the password in CAPITALS and language blank.
    After that our problem was solved, I hope yours too.
    Regards
    Jack

  • Repeated NullPointerException in FB 4.7

    Hi,
    I've been having multiple problems with FB 4.7 - in one project, over the span of two weeks, I've had to deal with
    1) Bitmaps that do not have an alpba channell being silently skipped from the library.swc (fixed by forcing custom quality)
    2) Flash builder not presenting a password prompt during AIR publishing and then complaining about the non-password being incorrect (fixed by packaging using command line, later by resizing the window unttil it refreshes and shows the dialog)
    3) Flash builder constantly failing to compile, seemingly at random, throwing java NullPointerExceptions
    Description
    Resource
    Path
    Location
    Type
    com.google.common.collect.ComputationException: java.lang.NullPointerException
    at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingCo ncurrentHashMap.java:167)
    at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingCo ncurrentHashMap.java:116)
    at com.google.common.collect.ComputingConcurrentHashMap.apply(ComputingConcurrentHashMap.jav a:67)
    at com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:623)
    at com.adobe.flash.compiler.internal.projects.CompilerProject.getCacheForScope(CompilerProje ct.java:711)
    at com.adobe.flash.compiler.internal.scopes.ASScope.findPropertyQualified(ASScope.java:1476)
    at com.adobe.flash.compiler.internal.definitions.references.ResolvedQualifiersReference.reso lve(ResolvedQualifiersReference.java:80)
    at com.adobe.flash.compiler.internal.definitions.DefinitionBase.resolveType(DefinitionBase.j ava:1049)
    at com.adobe.flash.compiler.internal.definitions.DefinitionBase.resolveType(DefinitionBase.j ava:1089)
    at com.adobe.flash.compiler.internal.definitions.ClassDefinition.resolveBaseClass(ClassDefin ition.java:373)
    at com.adobe.flash.compiler.internal.definitions.TypeDefinitionBase$TypeIterator.pushChildre n(TypeDefinitionBase.java:284)
    at com.adobe.flash.compiler.internal.definitions.TypeDefinitionBase$TypeIterator.next(TypeDe finitionBase.java:218)
    at com.adobe.flash.compiler.internal.definitions.TypeDefinitionBase$TypeIterator.next(TypeDe finitionBase.java:176)
    at com.adobe.flash.compiler.internal.scopes.TypeScope.getPropertyForScopeChain(TypeScope.jav a:261)
    at com.adobe.flash.compiler.internal.scopes.ScopeView.getPropertyForScopeChain(ScopeView.jav a:71)
    at com.adobe.flash.compiler.internal.scopes.ASScope.findProperty(ASScope.java:1038)
    at com.adobe.flash.compiler.internal.scopes.ASScope.findProperty(ASScope.java:981)
    at com.adobe.flash.compiler.internal.scopes.ASScope.findProperty(ASScope.java:1161)
    at com.adobe.flash.compiler.internal.scopes.ASScope.findProperty(ASScope.java:919)
    at com.adobe.flash.compiler.internal.scopes.ASScopeCache.findPropertyQualified(ASScopeCache. java:267)
    at com.adobe.flash.compiler.internal.scopes.ASScope.findPropertyQualified(ASScope.java:1478)
    at com.adobe.flash.compiler.internal.definitions.references.ResolvedQualifiersReference.reso lve(ResolvedQualifiersReference.java:80)
    at com.adobe.flash.compiler.internal.definitions.DefinitionBase.resolveType(DefinitionBase.j ava:1049)
    at com.adobe.flash.compiler.internal.definitions.DefinitionBase.resolveType(DefinitionBase.j ava:1089)
    at com.adobe.flash.compiler.internal.definitions.DefinitionBase.resolveType(DefinitionBase.j ava:871)
    at com.adobe.flash.compiler.internal.definitions.DefinitionBase.resolveType(DefinitionBase.j ava:90)
    at com.adobe.flash.compiler.internal.tree.as.IdentifierNode.resolveType(IdentifierNode.java: 406)
    at com.adobe.flash.compiler.internal.tree.as.MemberAccessExpressionNode.resolveType(MemberAc cessExpressionNode.java:137)
    at com.adobe.flash.compiler.internal.semantics.MethodBodySemanticChecker.checkImplicitConver sion(MethodBodySemanticChecker.java:372)
    at com.adobe.flash.compiler.internal.semantics.MethodBodySemanticChecker.checkBinaryOperator (MethodBodySemanticChecker.java:324)
    at com.adobe.flash.compiler.internal.semantics.MethodBodySemanticChecker.checkBinaryOperator (MethodBodySemanticChecker.java:300)
    at com.adobe.flash.compiler.internal.as.codegen.ABCGeneratingReducer.checkBinaryOp(ABCGenera tingReducer.java:838)
    at com.adobe.flash.compiler.internal.as.codegen.ABCGeneratingReducer.binaryOp(ABCGeneratingR educer.java:799)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.action_448(CmcEmitter.java:6377)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.dispatchAction(CmcEmitter.java:92 11)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceAntecedent(CmcEmitter.java: 39704)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduce(CmcEmitter.java:39681)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceSubgoals(CmcEmitter.java:39 723)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceAntecedent(CmcEmitter.java: 39703)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduce(CmcEmitter.java:39681)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceSubgoals(CmcEmitter.java:39 723)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceAntecedent(CmcEmitter.java: 39703)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.dispatchAction(CmcEmitter.java:95 19)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceAntecedent(CmcEmitter.java: 39704)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduce(CmcEmitter.java:39681)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceSubgoals(CmcEmitter.java:39 732)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceAntecedent(CmcEmitter.java: 39703)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduce(CmcEmitter.java:39681)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceSubgoals(CmcEmitter.java:39 723)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceAntecedent(CmcEmitter.java: 39703)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduce(CmcEmitter.java:39681)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceSubgoals(CmcEmitter.java:39 732)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceAntecedent(CmcEmitter.java: 39703)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduce(CmcEmitter.java:39681)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceSubgoals(CmcEmitter.java:39 723)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceAntecedent(CmcEmitter.java: 39703)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduce(CmcEmitter.java:39681)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceSubgoals(CmcEmitter.java:39 732)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceAntecedent(CmcEmitter.java: 39703)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduce(CmcEmitter.java:39681)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceSubgoals(CmcEmitter.java:39 723)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceAntecedent(CmcEmitter.java: 39703)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduce(CmcEmitter.java:39681)
    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.burm(CmcEmitter.java:39983)
    at com.adobe.flash.compiler.internal.as.codegen.ABCGenerator.generateInstructions(ABCGenerat or.java:232)
    at com.adobe.flash.compiler.internal.as.codegen.ABCGenerator.generateMethodBodyForFunction(A BCGenerator.java:397)
    at com.adobe.flash.compiler.internal.as.codegen.ABCGenerator.generateMethodBodyForFunction(A BCGenerator.java:351)
    at com.adobe.flash.compiler.internal.as.codegen.ABCGenerator.generateFunction(ABCGenerator.j ava:266)
    at com.adobe.flash.compiler.internal.as.codegen.ClassDirectiveProcessor.declareFunction(Clas sDirectiveProcessor.java:646)
    at com.adobe.flash.compiler.internal.as.codegen.DirectiveProcessor.processNode(DirectiveProc essor.java:215)
    at com.adobe.flash.compiler.internal.as.codegen.DirectiveProcessor.traverse(DirectiveProcess or.java:189)
    at com.adobe.flash.compiler.internal.as.codegen.GlobalDirectiveProcessor.declareClass(Global DirectiveProcessor.java:423)
    at com.adobe.flash.compiler.internal.as.codegen.DirectiveProcessor.processNode(DirectiveProc essor.java:207)
    at com.adobe.flash.compiler.internal.as.codegen.DirectiveProcessor.traverse(DirectiveProcess or.java:189)
    at com.adobe.flash.compiler.internal.as.codegen.GlobalDirectiveProcessor.declarePackage(Glob alDirectiveProcessor.java:449)
    at com.adobe.flash.compiler.internal.as.codegen.DirectiveProcessor.processNode(DirectiveProc essor.java:224)
    at com.adobe.flash.compiler.internal.as.codegen.DirectiveProcessor.traverse(DirectiveProcess or.java:189)
    at com.adobe.flash.compiler.internal.as.codegen.ABCGenerator.generate(ABCGenerator.java:126)
    at com.adobe.flash.compiler.internal.units.ASCompilationUnit.handleABCBytesRequest(ASCompila tionUnit.java:374)
    at com.adobe.flash.compiler.internal.units.CompilationUnitBase.processABCBytesRequest(Compil ationUnitBase.java:870)
    at com.adobe.flash.compiler.internal.units.CompilationUnitBase.access$300(CompilationUnitBas e.java:107)
    at com.adobe.flash.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase. java:309)
    at com.adobe.flash.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase. java:305)
    at com.adobe.flash.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:22 8)
    at com.adobe.flash.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:22 2)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
    at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187)
    at com.google.common.collect.CustomConcurrentHashMap.hash(CustomConcurrentHashMap.java:1432)
    at com.google.common.collect.ComputingConcurrentHashMap.apply(ComputingConcurrentHashMap.jav a:66)
    at com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:623)
    at com.adobe.flash.compiler.internal.scopes.ASProjectScope.addScopeToCompilationUnitScopeLis t(ASProjectScope.java:1306)
    at com.adobe.flash.compiler.internal.projects.CompilerProject$ScopeMakerFunction.apply(Compi lerProject.java:106)
    at com.adobe.flash.compiler.internal.projects.CompilerProject$ScopeMakerFunction.apply(Compi lerProject.java:95)
    at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingCo ncurrentHashMap.java:155)
    ... 89 more
    RadialNavMenuMediator.as
    /ESEUM/src/ie/madrobot/eseum/view/mediator
    line 22
    Flex Problem
    Curiously enough, the error seems to be mostly random - whenever it happens, I switch to FDT, do some work there - maybe add a couple classes, do some refactoring, and chances are the error will disappear, just like it appeared - out of nowhere, with no rhyme or reason. It may be renaming a class, it may be a day's work - eventually it does go away.
    Other things that may make the error disappear is commenting out the offending functions.
    Apparently FB 4.7 simply hates Vectors, as they are usually causing the exception. In particular a vector's length property.
    Project uses 1 lib and 1 src folder - no externally linked projects, although a different Flash Builder Pure Actionscript project is used with Flash CC to build a component library.
    Using AIR SDK 3.8. I am able to get a working air 3.8 package (occasionally) so the SDK is probably setup OK.
    I've run accross all sorts of odd bugs and quirks of Flash so I'm pretty forgiving - but 4.7 is a trainwreck.

    I also tried with replacing -verbose-stacktraces=true with -compiler.verbose-stacktraces=true as I've seen in some examples but nothing happens.
    Next you have an example of a stacktrace missing the line numbers:
    TypeError: Error #1009
            at components.visual::BaseECView/configureComponents()
            at views.home::Home/createChildren()
            at mx.core::UIComponent/initialize()
            at spark.components::View/initialize()
            at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
            at mx.core::UIComponent/addChildAt()
            at spark.components::Group/addDisplayObjectToDisplayList()
            at spark.components::Group/http://www.adobe.com/2006/flex/mx/internal::elementAdded()
            at spark.components::Group/addElementAt()
            at spark.components::Group/addElement()
            at spark.components::SkinnableContainer/addElement()
            at spark.components::ViewNavigator/createViewInstance()
            at spark.components::ViewNavigator/commitNavigatorAction()
            at spark.components::ViewNavigator/commitProperties()
            at mx.core::UIComponent/validateProperties()
            at mx.managers::LayoutManager/validateProperties()
            at mx.managers::LayoutManager/doPhasedInstantiation()
            at mx.managers::LayoutManager/doPhasedInstantiationCallback()
            at flash.utils::Timer/tick()

  • Endless NullPointerExceptions in Flash Builder 4.5

          I've been using Flash Builder 4.5 with Flex SDK 3.5B on Mac OS X 10.8.2 for a couple months. It hasn't been a perfect experience—the software has quite a few bugs—but in general it has been working until recently.
    Our application includes two Flash Builder "projects", one of which references the other. Whenever we clone the repository, it is necessary to update the .project file of the primary project to include the new path of the secondary project.
    The last thing I did before everything broke was move the folder containing the projects to a new location. As expected, when I opened Flash Builder, it complained that it couldn't find my project files, and they were all marked as inaccessible in the "Package Explorer" view. I did not remove the inaccessible projects from my workspace, but I attempted to re-import the primary project from its new location. This marked the first time I saw a dialog that has haunted me ever since:
    The "Problems" view told me to refer to the error log...
    ...but the error log was empty!
    The "Package Explorer" view didn't change (the new project wasn't listed) so I decided to just try the import again. When I selected the project directory, Flash Builder said I couldn't import it because the project was already in the workspace. "But the Package Explorer says it isn't... maybe it'll let me try again if I restart Flash Builder," I thought. I thought wrong. When I restarted, this is what I saw:
    java.lang.NullPointerException
        at com.adobe.flexbuilder.util.PathUtils.resolveLocaleInSourcePath(PathUtils.java:297)
        at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProject.getProjectPath(ActionScriptProject.java:713)
        at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProject.getSourceContainers(ActionScriptProject.java:681)
        at com.adobe.flexbuilder.as.editor.ui.packageexplorer.content.FlexPackageExplorerContentManager.getSourceRoot(FlexPackageExplorerContentManager.java:644)
        at com.adobe.flexbuilder.as.editor.ui.packageexplorer.FlexPackageExplorerContentProvider.getWorkspaceRootChildren(FlexPackageExplorerContentProvider.java:152)
        at com.adobe.flexbuilder.as.editor.ui.packageexplorer.FlexPackageExplorerContentProvider.getChildren(FlexPackageExplorerContentProvider.java:80)
        at com.adobe.flexbuilder.as.editor.ui.packageexplorer.FlexPackageExplorerContentProvider.inputChanged(FlexPackageExplorerContentProvider.java:449)
    It couldn't even display the list of projects so I could remove the one that was causing the issue. A similar message was displayed in the "Editor" view. Deleting all of the project's files didn't help either. I was unable to fix the workspace, and the only way I could continue to use Flash Builder was by creating a new workspace.
    Since then, I have tried many different things:
    Reinstalled Flash Builder 4.5.
    Reinstalled Flex SDK 3.5B.
    Checked out a six-month old version of the project.
    Upgraded to Flash Builder 4.6.
    Created a new user profile on my computer.
    Tried to remove whatever trace files might have broken things:
    Used Instruments to monitor all files the Flash Builder process touches.
    Uninstalled Flash Builder.
    Used find to locate any files that included builder or eclipse in their name.
    Deleted all files found in (1) or (3) that seemed possibly related to Flash Builder.
    Reinstalled Flash Builder.
    Installed Flash Builder 4.5 on another Mac running Mac OS X 10.6.8.
    Installed Flash Builder 4.5 in a Windows 7 VM.
    None have made any difference. That seems impossible.
    Other members of my team have been working on this project for a couple years without running into this particular issue, yet now versions of the project from before I started appear to be broken, and even using brand new installations of Flash Builder on entirely different systems also breaks.
    I have no idea what's going on. It seems like I must have done something else and forgotten about it, because the current situation makes no sense. Has anybody encountered this issue before? Do you have any idea what might be causing it, or what I might do to fix it?   

    I tried phone support yesterday, after making this post. The support representative eventually said that phone support is no longer offered for Flash Builder 4.5, but that I could email tier-2 support at [email protected]. However, when I tried to email my inquiry to this address, it bounced:
    Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550 No such user - psmtp (state 13).
    Could you please tell me the correct email address for tier-2 support of this product?
    Are you getting the same error with Flash Builder 4.6? If not can you share the logs, I can check them and see if there are any workarounds that I can suggest.
    I'm afraid the same error happens in Flash Builder 4.6.
    Here is the log from 4.5, anyway. Curiously, the log isn't written every time this happens, it often (seemingly at random) is left empty. When it is written, it includes the same stack trace from a NullPointerException as appear in the "Project Explorer" view when I restart.
    !SESSION 2012-11-14 10:33:20.196 -----------------------------------------------
    eclipse.buildId=M20100909-0800
    java.version=1.6.0_37
    java.vendor=Apple Inc.
    BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
    Framework arguments:  -keyring /Users/jeremy/.eclipse_keyring -showlocation
    Command-line arguments:  -os macosx -ws cocoa -arch x86 -data /Users/jeremy/Documents/Adobe Flash Builder 4.5-workspace-10 -keyring /Users/jeremy/.eclipse_keyring -consoleLog -showlocation
    !ENTRY org.eclipse.ui 2 0 2012-11-14 10:33:21.522
    !MESSAGE Warnings while parsing the commands from the 'org.eclipse.ui.commands' and 'org.eclipse.ui.actionDefinitions' extension points.
    !SUBENTRY 1 org.eclipse.ui 2 0 2012-11-14 10:33:21.522
    !MESSAGE Commands should really have a category: plug-in='com.qnx.flashbuilder.multiplatform.qnx.ui', id='com.qnx.flashbuilder.multiplatform.qnx.ui.commands.OpenInfoCenter', categoryId='com.qnx.flashbuilder.multiplatform.qnx.ui.commands.category.help'
    !ENTRY org.eclipse.jface 2 0 2012-11-14 10:33:25.139
    !MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
    !SUBENTRY 1 org.eclipse.jface 2 0 2012-11-14 10:33:25.139
    !MESSAGE A conflict occurred for COMMAND+SHIFT+F12:
    Binding(COMMAND+SHIFT+F12,
         ParameterizedCommand(Command(org.eclipse.mylyn.tasks.ui.command.searchForTask,Search Repository for Task,
              Category(org.eclipse.ui.category.navigate,Navigate,null,true),
              org.eclipse.mylyn.internal.tasks.ui.search.SearchTaskHandler,
              ,,true),null),
         org.eclipse.ui.defaultAcceleratorConfiguration,
         org.eclipse.ui.contexts.window,,,system)
    Binding(COMMAND+SHIFT+F12,
         ParameterizedCommand(Command(com.adobe.flexbuilder.flashbridge.export.publish.movie,Publish Movie,
              Publish in Flash Professional,
              Category(com.adobe.flexbuilder.flashbridge.flashProCommands,&Flash Professional,null,true),
              ,,true),null),
         org.eclipse.ui.defaultAcceleratorConfiguration,
         org.eclipse.ui.contexts.window,,cocoa,system)
    !ENTRY org.eclipse.core.net 1 0 2012-11-14 10:33:25.552
    !MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16|localhost|*.localhost by an external source. This value will be overwritten using the values from the preferences
    !ENTRY org.eclipse.ui 4 0 2012-11-14 10:40:04.073
    !MESSAGE Unhandled event loop exception
    !STACK 0
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
         at org.eclipse.swt.SWT.error(SWT.java:4083)
         at org.eclipse.swt.SWT.error(SWT.java:3998)
         at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
         at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3586)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3279)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
         at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
         at com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.java:108)
         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
         at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
    Caused by: java.lang.NullPointerException
         at com.adobe.flexbuilder.util.PathUtils.resolveLocaleInSourcePath(PathUtils.java:297)
         at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProject.getProjectPath(ActionScriptProject.java:713)
         at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProject.getSourceContainers(ActionScriptProject.java:681)
         at com.adobe.flexbuilder.as.editor.ui.packageexplorer.content.FlexPackageExplorerContentManager.getSourceRoot(FlexPackageExplorerContentManager.java:644)
         at com.adobe.flexbuilder.as.editor.ui.packageexplorer.FlexPackageExplorerContentProvider.getWorkspaceRootChildren(FlexPackageExplorerContentProvider.java:152)
         at com.adobe.flexbuilder.as.editor.ui.packageexplorer.FlexPackageExplorerContentProvider.getChildren(FlexPackageExplorerContentProvider.java:80)
         at com.adobe.flexbuilder.as.editor.ui.packageexplorer.FlexPackageExplorerContentProvider.getElements(FlexPackageExplorerContentProvider.java:432)
         at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:989)
         at org.eclipse.jface.viewers.ColumnViewer.getRawChildren(ColumnViewer.java:703)
         at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1332)
         at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:391)
         at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:896)
         at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:601)
         at org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:2581)
         at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1867)
         at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:721)
         at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1842)
         at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1799)
         at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1785)
         at org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredViewer.java:1487)
         at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1422)
         at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:403)
         at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1383)
         at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1485)
         at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:537)
         at com.adobe.flexbuilder.as.editor.ui.packageexplorer.FlexPackageExplorerResourceListener$ResourceUpdate.run(FlexPackageExplorerResourceListener.java:117)
         at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
         at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
         ... 22 more
    !ENTRY com.adobe.flexbuilder.project 4 43 2012-11-14 10:40:04.231
    !MESSAGE Uncaught exception in compiler
    !STACK 0
    java.lang.NullPointerException
         at com.adobe.flexbuilder.util.PathUtils.resolveLocaleInSourcePath(PathUtils.java:297)
         at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProject.getProjectPath(ActionScriptProject.java:713)
         at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProject.getSourceContainers(ActionScriptProject.java:681)
         at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProject.resolveSourcePath(ActionScriptProject.java:1597)
         at com.adobe.flexbuilder.project.ProjectSourcePathResolver.resolve(ProjectSourcePathResolver.java:43)
         at com.adobe.flexbuilder.multisdk.compiler.internal.MoxieConfiguration$AsProjectPathResolver.resolve(MoxieConfiguration.java:212)
         at flex2.tools.oem.internal.OEMPathResolver.resolve(OEMPathResolver.java:37)
         at flex2.compiler.common.PathResolver.checkSinglePathResolvers(PathResolver.java:127)
         at flex2.compiler.common.PathResolver.resolve(PathResolver.java:54)
         at flex2.compiler.common.ConfigurationPathResolver.getVirtualFile(ConfigurationPathResolver.java:110)
         at flex2.tools.Compiler.processConfiguration(Compiler.java:605)
         at flex2.tools.Compiler.processConfiguration(Compiler.java:526)
         at flex2.tools.oem.internal.OEMUtil.getApplicationConfiguration(OEMUtil.java:235)
         at flex2.tools.oem.internal.OEMUtil.getApplicationConfiguration(OEMUtil.java:206)
         at flex2.tools.oem.Application.recompile(Application.java:866)
         at flex2.tools.oem.Application.compile(Application.java:681)
         at flex2.tools.flexbuilder.BuilderApplication.compile(BuilderApplication.java:354)
         at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder$MyBuilder.mybuild(ASApplicationBuilder.java:319)
         at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder.build(ASApplicationBuilder.java:129)
         at com.adobe.flexbuilder.multisdk.compiler.internal.ASBuilder.build(ASBuilder.java:198)
         at com.adobe.flexbuilder.multisdk.compiler.internal.ASItemBuilder.build(ASItemBuilder.java:70)
         at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildItem(FlexProjectBuilder.java:575)
         at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(FlexProjectBuilder.java:350)
         at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncrementalBuilder.java:187)
         at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
         at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
         at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
         at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
         at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
         at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
         at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
         at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
         at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
         at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
         at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    !ENTRY com.adobe.flexbuilder.project 4 43 2012-11-14 10:40:04.251
    !MESSAGE Uncaught exception in compiler
    !STACK 0
    java.lang.NullPointerException
         at com.adobe.flexbuilder.util.PathUtils.resolveLocaleInSourcePath(PathUtils.java:297)
         at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProject.getProjectPath(ActionScriptProject.java:713)
         at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProject.getSourceContainers(ActionScriptProject.java:681)
         at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProject.resolveSourcePath(ActionScriptProject.java:1597)
         at com.adobe.flexbuilder.project.ProjectSourcePathResolver.resolve(ProjectSourcePathResolver.java:43)
         at com.adobe.flexbuilder.multisdk.compiler.internal.MoxieConfiguration$AsProjectPathResolver.resolve(MoxieConfiguration.java:212)
         at flex2.tools.oem.internal.OEMPathResolver.resolve(OEMPathResolver.java:37)
         at flex2.compiler.common.PathResolver.checkSinglePathResolvers(PathResolver.java:127)
         at flex2.compiler.common.PathResolver.resolve(PathResolver.java:54)
         at flex2.compiler.common.ConfigurationPathResolver.getVirtualFile(ConfigurationPathResolver.java:110)
         at flex2.tools.Compiler.processConfiguration(Compiler.java:605)
         at flex2.tools.Compiler.processConfiguration(Compiler.java:526)
         at flex2.tools.oem.internal.OEMUtil.getApplicationConfiguration(OEMUtil.java:235)
         at flex2.tools.oem.internal.OEMUtil.getApplicationConfiguration(OEMUtil.java:206)
         at flex2.tools.oem.Application.recompile(Application.java:866)
         at flex2.tools.oem.Application.compile(Application.java:681)
         at flex2.tools.flexbuilder.BuilderApplication.compile(BuilderApplication.java:354)
         at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder$MyBuilder.mybuild(ASApplicationBuilder.java:319)
         at com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder.build(ASApplicationBuilder.java:129)
         at com.adobe.flexbuilder.multisdk.compiler.internal.ASBuilder.build(ASBuilder.java:198)
         at com.adobe.flexbuilder.multisdk.compiler.internal.ASItemBuilder.build(ASItemBuilder.java:70)
         at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildItem(FlexProjectBuilder.java:575)
         at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(FlexProjectBuilder.java:350)
         at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncrementalBuilder.java:187)
         at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
         at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
         at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
         at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
         at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
         at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
         at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
         at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
         at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
         at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
         at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    !ENTRY org.eclipse.core.resources 4 2 2012-11-14 10:40:04.260
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
    !STACK 0
    java.lang.NullPointerException
         at com.adobe.flexbuilder.util.PathUtils.resolveLocaleInSourcePath(PathUtils.java:297)
         at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProject.getProjectPath(ActionScriptProject.java:713)
         at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProject.getSourceContainers(ActionScriptProject.java:681)
         at com.adobe.flexbuilder.project.compiler.internal.BuilderUtils.copyDependents(BuilderUtils.java:438)
         at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(FlexProjectBuilder.java:393)
         at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncrementalBuilder.java:187)
         at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
         at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
         at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
         at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
         at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
         at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
         at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
         at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
         at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
         at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
         at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    !ENTRY org.eclipse.core.resources 4 75 2012-11-14 10:40:04.272
    !MESSAGE Errors occurred during the build.
    !SUBENTRY 1 com.adobe.flexbuilder.project 4 75 2012-11-14 10:40:04.272
    !MESSAGE Errors running builder 'Flex' on project 'configurator'.
    !STACK 0
    java.lang.NullPointerException
         at com.adobe.flexbuilder.util.PathUtils.resolveLocaleInSourcePath(PathUtils.java:297)
         at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProject.getProjectPath(ActionScriptProject.java:713)
         at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProject.getSourceContainers(ActionScriptProject.java:681)
         at com.adobe.flexbuilder.project.compiler.internal.BuilderUtils.copyDependents(BuilderUtils.java:438)
         at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(FlexProjectBuilder.java:393)
         at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncrementalBuilder.java:187)
         at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
         at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
         at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
         at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
         at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
         at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
         at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
         at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
         at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
         at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
         at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

  • NullPointerException in resultSet.getString()

    Hi.
    I have a ResultRest with 300,000+ rows that I am processing. After a while it suddenly throws an SQLException caused by a NullPointerException. The values that I am trying to read are not null (for sure), so I think that this might be a problem with the connection timeout, but then the exception does not make sense.
    Also, by looking at the stacktrace I can say (positively) that the problem is not with my code, since the exception is thrown in a line like this:
    String x = rs.getString("X");
    Does anyone know what the problem might be? or have you found something similar before. If anyone knows any documentation that talks about how to handle big result sets, it is greatly appreciated. Thanks.

    A NullPointerException would only occur on this line if your ResultSet was null, so it has absolutely nothing to do with the data in your database. Does the exception occur at seemingly random places in your code? If the connection was dropped, I would think you would get a SQLException, not a NullPointerException, so that doesn't seem to be the cause.

  • Java.lang.NullPointerException   at com.sap.caf.eu.gp.ui.inst.CInstantiation.getProcessTemplate(CInstantiation.java:732)

    Hi I am getting the following error on link related to Guided procedure step only for few people not for every one. Once  i delete the browser cookies are cache it is working fine. Please  let me know , if any one could had same issue or if any one know the reason, it is completely showing related to Standard GP service related exception. Also this errors are not coming all the time consistently, it is happening randomly. but when u get the error if you delete the cookies from browser and log off and login again from portal it is working fine.
    Path to object does not exist at com.sap.nw.eu.gp, the whole lookup name is sap.com/com.sap.nw.eu.gp/GPService.
    com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at com.sap.nw.eu.gp, the whole lookup name is sap.com/com.sap.nw.eu.gp/GPService.
    at com.sap.engine.services.jndi.implserver.ServerContextImpl.getLastContainer(ServerContextImpl.java:278)
    at com.sap.engine.services.jndi.implserver.ServerContextImpl.lookup(ServerContextImpl.java:627)
    at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:344)
    at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:254)
    at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:271)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at com.sap.caf.eu.gp.ui.inst.CInstantiation.wdDoInit(CInstantiation.java:161)
    at com.sap.caf.eu.gp.ui.inst.wdp.InternalCInstantiation.wdDoInit(InternalCInstantiation.java:148)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:783)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:761)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:696)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:185)
    at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
    at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:864)
    at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
    at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1362)
    at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:355)
    at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:549)
    at com.sap.portal.pb.PageBuilder.wdDoInit(PageBuilder.java:192)
    at com.sap.portal.pb.wdp.InternalPageBuilder.wdDoInit(InternalPageBuilder.java:150)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:783)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:185)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1064)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176) 
    Exception occured during processing of Web Dynpro application sap.com/caf~eu~gp~ui~inst/AInstantiation. The causing exception is nested.
    [EXCEPTION]
    java.lang.NullPointerException
    at com.sap.caf.eu.gp.ui.inst.CInstantiation.getProcessTemplate(CInstantiation.java:732)
    at com.sap.caf.eu.gp.ui.inst.wdp.InternalCInstantiation.getProcessTemplate(InternalCInstantiation.java:203)
    at com.sap.caf.eu.gp.ui.inst.VInstantiation.dispatch(VInstantiation.java:182)
    at com.sap.caf.eu.gp.ui.inst.VInstantiation.onEventShowInstantiationView(VInstantiation.java:564)
    at com.sap.caf.eu.gp.ui.inst.wdp.InternalVInstantiation.wdInvokeEventHandler(InternalVInstantiation.java:291)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
    at com.sap.tc.webdynpro.progmodel.controller.Component.fireEvent(Component.java:285)
    at com.sap.caf.eu.gp.ui.inst.wdp.InternalCInstantiationInterface.wdFireEventShowInstantiationView(InternalCInstantiationInterface.java:174)
    at com.sap.caf.eu.gp.ui.inst.CInstantiationInterface.setTemplateId(CInstantiationInterface.java:116)
    at com.sap.caf.eu.gp.ui.inst.wdp.InternalCInstantiationInterface.setTemplateId(InternalCInstantiationInterface.java:129)
    at com.sap.caf.eu.gp.ui.inst.WInstantiationInterfaceView.onPlugDefault(WInstantiationInterfaceView.java:83)
    at com.sap.caf.eu.gp.ui.inst.wdp.InternalWInstantiationInterfaceView.wdInvokeEventHandler(InternalWInstantiationInterfaceView.java:105)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingInterfaceView.invokeEventHandler(DelegatingInterfaceView.java:85)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.displayToplevelComponent(ClientComponent.java:162)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:375)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:783)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:761)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:696)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:185)
    at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
    at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:864)
    at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
    at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1362)
    at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:355)
    at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:549)
    at com.sap.portal.pb.PageBuilder.wdDoInit(PageBuilder.java:192)
    at com.sap.portal.pb.wdp.InternalPageBuilder.wdDoInit(InternalPageBuilder.java:150)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:783)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:185)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1064)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)

    Govardan,
    Thanks for the reply. We don't have any custom code related to GP or CAF. We created the GP Process and in the process, we attached the PCD objects to the callable object to call.
    In the entire error trace it is referring only sap standard classes only. Also we haven't done any customization Except GP Process creation as i mentioned above.
    com.sap.caf.eu.gp.ui.inst.CInstantiation.getProcessTemplate(CInstantiation.java:732),
    if you look at my initial report , there are two exceptions i have mentioned. before coming the above error i have observed the following error in the log file, First it is logging the following error and then next showing the above error. Looks like GPService is not able to lookup .
    Path to object does not exist at com.sap.nw.eu.gp, the whole lookup name is  sap.com/com.sap.nw.eu.gp/GPService.
    com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at com.sap.nw.eu.gp, the whole lookup name is sap.com/com.sap.nw.eu.gp/GPService.
    at com.sap.engine.services.jndi.implserver.ServerContextImpl.getLastContainer(ServerContextImpl.java:278)
    at com.sap.engine.services.jndi.implserver.ServerContextImpl.lookup(ServerContextImpl.java:627)
    at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:344)
    at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:254)
    at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:271)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at com.sap.caf.eu.gp.ui.inst.CInstantiation.wdDoInit(CInstantiation.java:161)
    at com.sap.caf.eu.gp.ui.inst.wdp.InternalCInstantiation.wdDoInit(InternalCInstantiation.java:148)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:783)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:761)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:696)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:185)
    at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
    at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:864)
    at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
    at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1362)
    at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:355)
    at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:549)
    at com.sap.portal.pb.PageBuilder.wdDoInit(PageBuilder.java:192)
    at com.sap.portal.pb.wdp.InternalPageBuilder.wdDoInit(InternalPageBuilder.java:150)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:783)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:185)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1064)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176) 
    Thanks

  • Java.lang.NullPointerException in Parser

    Hi,
    I appreciate any idea that can help me.
    I'm processing a sql sentence that can retrive 10.000 rows with XSU.
    I generate xml files with 1000 rows from the resultset and then I transform this xmls into xml files based of Onix Standard.
    I've nullpointer exception in random way, but I supose that there is a problem when the xml files are transformed.
    There are any limitation for user parser and tranformer. I supose that there is a memory problem with this because the class consume a lot of CPU memory.
    Thank in advance.

    Thank every body.
    I increase -mx stack to 200 but the NullPointerexception followed showed in my screen.
    In that moment I'm running the java program with jdk1.2.2, because Jdeveloper look like very hard.
    Some of random exception are here:
    Java.lang.NullPointerException
    void java.io.OutputStreamWriter.write(char[], int, int)
    void oracle.xml.parser.v2.XMLOutputStream.flush()
    void oracle.xml.parser.v2.XMLPrintDriver.printElement(oracle.xml.parser.v2.XMLElement)
    void oracle.xml.parser.v2.XMLPrintDriver.printChildNodes(oracle.xml.parser.v2.XMLNode)
    void oracle.xml.parser.v2.XMLPrintDriver.printElement(oracle.xml.parser.v2.XMLElement)
    void oracle.xml.parser.v2.XMLPrintDriver.printChildNodes(oracle.xml.parser.v2.XMLNode)
    void oracle.xml.parser.v2.XMLPrintDriver.printElement(oracle.xml.parser.v2.XMLElement)
    void oracle.xml.parser.v2.XMLPrintDriver.printChildNodes(oracle.xml.parser.v2.XMLNode)
    void oracle.xml.parser.v2.XMLDocument.print(oracle.xml.parser.v2.PrintDriver)
    void oracle.xml.parser.v2.XMLDocument.print(java.io.OutputStream)
    void onix.IsbnXmlProcessor.main(java.lang.String[])
    Exception in thread main
    Se genero la excepcion al instanciar un Stylesheet
    java.lang.NullPointerException
    java.lang.String java.lang.String.intern()
    java.lang.String oracle.xml.parser.v2.XSLParseString.getQname()
    int oracle.xml.parser.v2.XSLParseString.nextToken()
    oracle.xml.parser.v2.XSLExprBase oracle.xml.parser.v2.XSLNodeSetExpr.parse(oracle.xml.parser.v2.XSLParseString, boolean, boolean)
    oracle.xml.parser.v2.XSLPatternInt oracle.xml.parser.v2.XSLExprBase.createPattern(java.lang.String, oracle.xml.parser.v2.NSResolver)
    void oracle.xml.parser.v2.XSLTemplate.<init>(oracle.xml.parser.v2.XMLElement, oracle.xml.parser.v2.XSLStylesheet, int, int)
    void oracle.xml.parser.v2.XSLStylesheet.updateStylesheet(oracle.xml.parser.v2.XMLDocument, int)
    void oracle.xml.parser.v2.XSLStylesheet.initStylesheet(oracle.xml.parser.v2.XMLDocument, java.net.URL)
    void oracle.xml.parser.v2.XSLStylesheet.<init>(oracle.xml.parser.v2.XMLDocument, java.net.URL)
    void onix.XMLToFile.transform(oracle.xml.parser.v2.XMLDocument, java.lang.String, java.lang.String)
    void onix.IsbnXmlGenerator.main(java.lang.String[])
    Se genero la excepcion al procesarse el xsl
    java.lang.NullPointerException
    void oracle.xml.parser.v2.XSLProcessor.processXSL(oracle.xml.parser.v2.XSLStylesheet, oracle.xml.parser.v2.XMLDocument, java.io.OutputStream)
    void onix.XMLToFile.transform(oracle.xml.parser.v2.XMLDocument, java.lang.String, java.lang.String)
    void onix.IsbnXmlGenerator.main(java.lang.String[])
    Se genero onix_2000.xml
    java.lang.NullPointerException
    void java.lang.Runtime.gc()
    void java.lang.System.gc()
    void onix.IsbnXmlGenerator.main(java.lang.String[])
    Exception in thread main
    java.lang.NullPointerException
    java.lang.String java.lang.StringBuffer.toString()
    void oracle.xml.parser.v2.XMLPrintDriver.printEndTag(oracle.xml.parser.v2.XMLElement, boolean)
    void oracle.xml.parser.v2.XMLPrintDriver.printElement(oracle.xml.parser.v2.XMLElement)
    void oracle.xml.parser.v2.XMLPrintDriver.printChildNodes(oracle.xml.parser.v2.XMLNode)
    void oracle.xml.parser.v2.XMLPrintDriver.printElement(oracle.xml.parser.v2.XMLElement)
    void oracle.xml.parser.v2.XMLPrintDriver.printChildNodes(oracle.xml.parser.v2.XMLNode)
    void oracle.xml.parser.v2.XMLPrintDriver.printElement(oracle.xml.parser.v2.XMLElement)
    void oracle.xml.parser.v2.XMLPrintDriver.printChildNodes(oracle.xml.parser.v2.XMLNode)
    void oracle.xml.parser.v2.XMLDocument.print(oracle.xml.parser.v2.PrintDriver)
    void oracle.xml.parser.v2.XMLDocument.print(java.io.OutputStream)
    void onix.IsbnXmlGenerator.setGenerator(java.lang.String)
    void onix.IsbnXmlGenerator.<init>(java.lang.String)
    void onix.IsbnXmlProcessor.main(java.lang.String[])
    java.lang.NullPointerException
    void oracle.xml.parser.v2.XMLPrintDriver.printEndTag(oracle.xml.parser.v2.XMLElement, boolean)
    void oracle.xml.parser.v2.XMLPrintDriver.printEl ement(oracle.xml.parser.v2.XMLElement)
    void oracle.xml.parser.v2.XMLPrintDriver.printChildNodes(oracle.xml.parser.v2.XMLNode)
    void oracle.xml.parser.v2.XMLPrintDriver.printElement(oracle.xml.parser.v2.XMLElement)
    void oracle.xml.parser.v2.XMLPrintDriver.printChildNodes(oracle.xml.parser.v2.XMLNode)
    void oracle.xml.parser.v2.XMLPrintDriver.printElement(oracle.xml.parser.v2.XMLElement)
    void oracle.xml.parser.v2.XMLPrintDriver.printChildNodes(oracle.xml.parser.v2.XMLNode)
    void oracle.xml.parser.v2.XMLDocument.print(oracle.xml.parser.v2.PrintDriver)
    void oracle.xml.parser.v2.XMLDocument.print(java.io.OutputStream)
    void onix.IsbnXmlGenerator.setGenerator(java.lang.String)
    void onix.IsbnXmlGenerator.<init>(java.lang.String)
    void onix.IsbnXmlProcessor.main(java.lang.String[])
    Somebody Know how can I use OracleXMLQuery getSAX method....I appreciate an examples.
    null

  • 8350i uncaught exception java.lang.NullPointerException after hard reset

    basic info:
    8350i
    v4.6.1.204 (Platform 3.0.0.73)
    Desktop Manager 4.7
    everything is good except that i've been using two batteries, one in the phone and one in a charger. when the phone's battery is almost drained i swap it with the charged one which of course causes a hard reset.
    this procedure was working well for at least a week or two until last month when i swapped batteries - after the hard reset i got
    uncaught exception: java.lang.NullPointerException
    i could make calls but all other software seemed corrupted... virtually nothing else worked... icons missing etc.
    tried all sorts of solutions but the only thing that fixed it was a full on device software erase/reload, then a data restore from previous backup. at the time i figured it was just a random thing and was glad to learn how to do a complete software reload.
    then yesterday it happened again (again, immediately at the end of the security check after hard reset). now i'm afraid to swap batteries because it would appear that every time i hard reset there is a 10% (my guess) chance of software corruption and a complete reload takes a significant amount of time.
    has anybody else noticed this? does anybody have a solution?
    can i swap batteries without a hard reset; i.e. swap while plugged into power? i haven't tried this yet for fear of causing my BB harm.
    any help is appreciated,
    john d.
    Solved!
    Go to Solution.

    Hello, John.
    Make selective backup as it is described here:
    http://supportforums.blackberry.com/rim/board/message?board.id=8100&view=by_date_ascending&message.i...
    Backup only information that you need.
    There is described the purpose of every database you can observe when you're doing the selective backup:
    http://www.blackberry.com/btsc/KB03974
    When you have done selective backup do the following.
    On your device go to: Options - Security Options - General Settings
    Open menu and select "Wipe handheld"

Maybe you are looking for

  • My iphone 5 wont let me sign into imessage and facetime!

    I recently bought a iphone 5 from my aunt. I went to AT&T to go activate and switch over phones. (I had a iphone 3gs). I later went home and tried to log into my imessage and facetime, but it wouldnt let me. I keep trying and it says "iMessage Actava

  • ITunes won't open, but there are no error messages

    Hi, I just downloaded iTunes 6.04 and now it won't open when I click on the icon on the desktop or try to open it through programs. No error messages were given. It simply won't open. Thank you for your help. Martin Pittman

  • How to preview a page in Oracle Portal?

    Hi gurus, I'd like to know if there is anyway to preview a page in Oracle Portal 10g 9.0.4. Customer needs to preview the page (how it will looks like) before inserting new contents (image, link, url, item, portlet etc.) in it, so just the page manag

  • ITunes error message while trying to purchase music

    When I try to login or purchase music from itunes, I keep getting an error message saying: iTunes could not connect to the music store. A secure network connection could not be established. Check that your computer's date and time are correct and try

  • Can anyone explain steps in  ASAP Methodology

    Can anyone explain steps in  ASAP Methodology