java.lang.NullPointerException

Atlassian JIRA | Michal Szklanowski | 1 decade 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

    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
  2. 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
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 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

    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
      Catalina$CatalinaShutdownHook.run
      1. org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3316)
      2. org.apache.catalina.core.StandardContext.stop(StandardContext.java:3682)
      3. org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036)
      4. org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.java:470)
      5. org.apache.catalina.core.StandardHost.remove(StandardHost.java:868)
      6. org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:758)
      7. org.apache.catalina.startup.HostConfig.stop(HostConfig.java:738)
      8. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:360)
      9. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
      10. org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1221)
      11. org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1233)
      12. org.apache.catalina.core.StandardService.stop(StandardService.java:554)
      13. org.apache.catalina.core.StandardServer.stop(StandardServer.java:2225)
      14. org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:624)
      14 frames