java.lang.NullPointerException

Oracle Community | christopherrued | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Global (User) Transaction Not Timing Out

    Oracle Community | 8 years ago | christopherrued
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.sun.enterprise.resource.ResourceInstaller.recoverJdbcXAResources()
    2. Connectors Runtime
      ResourceInstaller.recoverIncompleteTx
      1. com.sun.enterprise.resource.ResourceInstaller.recoverJdbcXAResources(ResourceInstaller.java:498)
      2. com.sun.enterprise.resource.ResourceInstaller.recoverIncompleteTx(ResourceInstaller.java:270)
      2 frames
    3. com.sun.enterprise
      JTSMonitorMBean.recover
      1. com.sun.enterprise.transaction.monitor.JTSMonitorMBean.recover(JTSMonitorMBean.java:548)
      1 frame
    4. Embedded GlassFish Web
      TransactionsRecoveryEventListenerImpl.processEvent
      1. com.sun.enterprise.transaction.TransactionsRecoveryEventListenerImpl.processEvent(TransactionsRecoveryEventListenerImpl.java:69)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    6. admin-util
      AdminEventMulticaster.multicastEvent
      1. com.sun.enterprise.admin.event.BaseAdminEventHandler.invokeNotification(BaseAdminEventHandler.java:90)
      2. com.sun.enterprise.admin.event.BaseAdminEventHandler.invokeNotification(BaseAdminEventHandler.java:81)
      3. com.sun.enterprise.admin.event.BaseAdminEventHandler.invokeAdminEventListener(BaseAdminEventHandler.java:110)
      4. com.sun.enterprise.admin.event.BaseAdminEventHandler.processEvent(BaseAdminEventHandler.java:72)
      5. com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:501)
      6. com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:182)
      6 frames
    7. com.sun.enterprise
      TransactionsRecoveryMBean.recoverTransactions
      1. com.sun.enterprise.admin.mbeans.TransactionsRecoveryMBean.forwardEvent(TransactionsRecoveryMBean.java:113)
      2. com.sun.enterprise.admin.mbeans.TransactionsRecoveryMBean.sendTransactionsRecoveryEvent(TransactionsRecoveryMBean.java:96)
      3. com.sun.enterprise.admin.mbeans.TransactionsRecoveryMBean.recoverTransactions(TransactionsRecoveryMBean.java:82)
      3 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    9. GlassFish Admin
      MBeanHelper.invokeOperationInBean
      1. com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:381)
      2. com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:364)
      2 frames
    10. com.sun.enterprise
      BaseConfigMBean.invoke
      1. com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:477)
      1 frame
    11. Java RT
      Method.invoke
      1. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
      2. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
      3. sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
      4. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      5. java.lang.reflect.Method.invoke(Method.java:597)
      5 frames
    12. admin-util
      ProxyClass.invoke
      1. com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
      1 frame
    13. Unknown
      $Proxy1.invoke
      1. $Proxy1.invoke(Unknown Source)
      1 frame
    14. com.sun.enterprise
      ServerHandlers.recoverTransactions
      1. com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
      2. com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
      3. com.sun.enterprise.tools.admingui.util.JMXUtil.invoke(JMXUtil.java:119)
      4. com.sun.enterprise.tools.admingui.util.JMXUtil.invoke(JMXUtil.java:75)
      5. com.sun.enterprise.tools.admingui.handlers.ServerHandlers.recoverTransactions(ServerHandlers.java:1639)
      5 frames
    15. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    16. com.sun.jsftemplating
      CommandActionListener.processAction
      1. com.sun.jsftemplating.layout.descriptors.handler.Handler.invoke(Handler.java:422)
      2. com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:424)
      3. com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:398)
      4. com.sun.jsftemplating.layout.event.CommandActionListener.invokeCommandHandlers(CommandActionListener.java:132)
      5. com.sun.jsftemplating.layout.event.CommandActionListener.processAction(CommandActionListener.java:80)
      5 frames
    17. JavaEE 7
      UICommand.broadcast
      1. javax.faces.event.ActionEvent.processListener(ActionEvent.java:77)
      2. javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:746)
      3. javax.faces.component.UICommand.broadcast(UICommand.java:368)
      3 frames
    18. com.sun.webui
      WebuiCommand.broadcast
      1. com.sun.webui.jsf.component.WebuiCommand.broadcast(WebuiCommand.java:160)
      1 frame
    19. JavaEE 7
      UIViewRoot.processApplication
      1. javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
      2. javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
      2 frames
    20. JSF
      LifecycleImpl.execute
      1. com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
      2. com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
      3. com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
      3 frames
    21. com.sun.faces
      PartialTraversalLifecycle.execute
      1. com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:80)
      1 frame
    22. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
      1 frame
    23. com.sun.enterprise
      DelayedInitFacesServlet.service
      1. com.sun.enterprise.tools.admingui.servlet.DelayedInitFacesServlet.service(DelayedInitFacesServlet.java:89)
      1 frame
    24. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
      2. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333)
      3. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      3 frames
    25. com.sun.webui
      UploadFilter.doFilter
      1. com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:240)
      1 frame
    26. Glassfish Core
      StandardPipeline.doInvoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)
      4. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
      5. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
      6. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
      7. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
      7 frames
    27. Glassfish
      PESessionLockingStandardPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
      2. com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
      2 frames
    28. Glassfish Core
      ContainerBase.invoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
      2. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
      3. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
      4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
      5. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
      6. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
      7. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
      8. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
      9. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
      10. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
      10 frames
    29. org.apache.coyote
      CoyoteAdapter.service
      1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
      1 frame
    30. Glassfish Core
      WorkerThreadImpl.run
      1. com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
      2. com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
      3. com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
      4. com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
      5. com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
      6. com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
      7. com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
      8. com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:116)
      8 frames