java.lang.NullPointerException

Atlassian JIRA | Jeff Turner | 1 decade ago
  1. 0

    Shutting down JBoss results in: 10:28:32,470 ERROR [[/confluence]] Exception sending context destroyed event to listener instance of class com.atlassian.confluence.util.ConfluenceContextLoaderListener java.lang.NullPointerException at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:70) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3710) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4283) at org.apache.catalina.core.ContainerBase.destroy(ContainerBase.java:1131) at org.apache.catalina.core.StandardContext.destroy(StandardContext.java:4358) 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:585) at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.web.tomcat.tc5.TomcatDeployer.performUndeployInternal(TomcatDeployer.java:436) at org.jboss.web.tomcat.tc5.TomcatDeployer.performUndeploy(TomcatDeployer.java:407) at org.jboss.web.AbstractWebDeployer.stop(AbstractWebDeployer.java:404) at org.jboss.web.WebModule.stopModule(WebModule.java:85) at org.jboss.web.WebModule.stopService(WebModule.java:51) at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:320) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:224) at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897) at $Proxy0.stop(Unknown Source) at org.jboss.system.ServiceController.stop(ServiceController.java:507)

    Atlassian JIRA | 1 decade ago | Jeff Turner
    java.lang.NullPointerException
  2. 0

    Shutting down JBoss results in: 10:28:32,470 ERROR [[/confluence]] Exception sending context destroyed event to listener instance of class com.atlassian.confluence.util.ConfluenceContextLoaderListener java.lang.NullPointerException at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:70) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3710) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4283) at org.apache.catalina.core.ContainerBase.destroy(ContainerBase.java:1131) at org.apache.catalina.core.StandardContext.destroy(StandardContext.java:4358) 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:585) at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.web.tomcat.tc5.TomcatDeployer.performUndeployInternal(TomcatDeployer.java:436) at org.jboss.web.tomcat.tc5.TomcatDeployer.performUndeploy(TomcatDeployer.java:407) at org.jboss.web.AbstractWebDeployer.stop(AbstractWebDeployer.java:404) at org.jboss.web.WebModule.stopModule(WebModule.java:85) at org.jboss.web.WebModule.stopService(WebModule.java:51) at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:320) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:224) at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897) at $Proxy0.stop(Unknown Source) at org.jboss.system.ServiceController.stop(ServiceController.java:507)

    Atlassian JIRA | 1 decade ago | Jeff Turner
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    I downloaded 2.1.1 standalone. It's not starting properly. I ran it on Sun JDK 1.5.0_06 and application got stuck during startup with no visible message on the console. I had a look at the log files and found this: 2005-12-28 16:53:44 StandardContext[]: Exception sending context destroyed event to listener instance of class com.atlassian.confluence.util.QuartzContextLoaderListener java.lang.NullPointerException at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:70) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3316) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3682) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036) at org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.java:470) at org.apache.catalina.core.StandardHost.remove(StandardHost.java:868) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:758) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:738) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:360) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1221) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1233) at org.apache.catalina.core.StandardService.stop(StandardService.java:554) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2225) at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:624) 2005-12-28 16:53:44 StandardContext[]: Exception sending context destroyed event to listener instance of class com.atlassian.confluence.util.ConfluenceContextLoaderListener java.lang.NullPointerException at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:70) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3316) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3682) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036) at org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.java:470) at org.apache.catalina.core.StandardHost.remove(StandardHost.java:868) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:758) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:738) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:360) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1221) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1233) at org.apache.catalina.core.StandardService.stop(StandardService.java:554) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2225) at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:624) I simply unpacked the app and ran it. Did not make any modifications.

    Atlassian JIRA | 1 decade ago | Michal Szklanowski
    java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.springframework.web.context.ContextLoaderListener.contextDestroyed()
    2. Spring
      ContextLoaderListener.contextDestroyed
      1. org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:70)
      1 frame
    3. Glassfish Core
      StandardContext.destroy
      1. org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3710)
      2. org.apache.catalina.core.StandardContext.stop(StandardContext.java:4283)
      3. org.apache.catalina.core.ContainerBase.destroy(ContainerBase.java:1131)
      4. org.apache.catalina.core.StandardContext.destroy(StandardContext.java:4358)
      4 frames
    4. 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:585)
      4 frames
    5. Commons Modeler
      BaseModelMBean.invoke
      1. org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      1 frame
    6. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
      2. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      2 frames
    7. org.jboss.web
      TomcatDeployer.performUndeploy
      1. org.jboss.web.tomcat.tc5.TomcatDeployer.performUndeployInternal(TomcatDeployer.java:436)
      2. org.jboss.web.tomcat.tc5.TomcatDeployer.performUndeploy(TomcatDeployer.java:407)
      2 frames
    8. JBoss Application Server Server
      WebModule.stopService
      1. org.jboss.web.AbstractWebDeployer.stop(AbstractWebDeployer.java:404)
      2. org.jboss.web.WebModule.stopModule(WebModule.java:85)
      3. org.jboss.web.WebModule.stopService(WebModule.java:51)
      3 frames
    9. JBoss Application Server System
      ServiceMBeanSupport.jbossInternalLifecycle
      1. org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:320)
      2. org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:224)
      2 frames
    10. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2 frames