java.lang.NullPointerException

Atlassian JIRA | Mark Hrynczak [Atlassian] | 7 years ago
  1. 0

    After upgrading 3.0.2 -> 3.1-beta3, shutting down tomcat gives errors in catalina.log: {noformat}Nov 20, 2009 11:24:58 AM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 Nov 20, 2009 11:24:59 AM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Nov 20, 2009 11:25:20 AM org.apache.tomcat.util.modeler.Registry unregisterComponent SEVERE: Error unregistering mbean java.lang.NullPointerException at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:243) at org.slf4j.bridge.SLF4JBridgeHandler.getSLF4JLogger(SLF4JBridgeHandler.java:159) at org.slf4j.bridge.SLF4JBridgeHandler.publish(SLF4JBridgeHandler.java:244) at java.util.logging.Logger.log(Logger.java:458) at java.util.logging.Logger.doLog(Logger.java:480) at java.util.logging.Logger.logp(Logger.java:596) at com.sun.jmx.trace.TraceManager.send(TraceManager.java:219) at com.sun.jmx.trace.Trace.send(Trace.java:110) at com.sun.jmx.mbeanserver.Repository.trace(Repository.java:72) at com.sun.jmx.mbeanserver.Repository.trace(Repository.java:77) at com.sun.jmx.mbeanserver.Repository.contains(Repository.java:472) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isRegistered(DefaultMBeanServerInterceptor.java:593) at com.sun.jmx.mbeanserver.JmxMBeanServer.isRegistered(JmxMBeanServer.java:598) at org.apache.tomcat.util.modeler.Registry.unregisterComponent(Registry.java:573) at org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:720) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4557) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:924) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1191) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1162) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:313) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1086) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448) at org.apache.catalina.core.StandardService.stop(StandardService.java:584) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744) at org.apache.catalina.startup.Catalina.stop(Catalina.java:628) at org.apache.catalina.startup.Catalina.start(Catalina.java:603) 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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Nov 20, 2009 11:25:20 AM org.apache.tomcat.util.modeler.Registry unregisterComponent SEVERE: Error unregistering mbean java.lang.NullPointerException at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:243) at org.slf4j.bridge.SLF4JBridgeHandler.getSLF4JLogger(SLF4JBridgeHandler.java:159) at org.slf4j.bridge.SLF4JBridgeHandler.publish(SLF4JBridgeHandler.java:244) at java.util.logging.Logger.log(Logger.java:458) at java.util.logging.Logger.doLog(Logger.java:480) at java.util.logging.Logger.logp(Logger.java:596) at com.sun.jmx.trace.TraceManager.send(TraceManager.java:219) at com.sun.jmx.trace.Trace.send(Trace.java:110) at com.sun.jmx.mbeanserver.Repository.trace(Repository.java:72) at com.sun.jmx.mbeanserver.Repository.trace(Repository.java:77) at com.sun.jmx.mbeanserver.Repository.contains(Repository.java:472) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isRegistered(DefaultMBeanServerInterceptor.java:593) at com.sun.jmx.mbeanserver.JmxMBeanServer.isRegistered(JmxMBeanServer.java:598) at org.apache.tomcat.util.modeler.Registry.unregisterComponent(Registry.java:573) at org.apache.catalina.loader.WebappLoader.destroy(WebappLoader.java:592) at org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:727) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4557) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:924) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1191) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1162) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:313) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1086) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448) at org.apache.catalina.core.StandardService.stop(StandardService.java:584) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744) at org.apache.catalina.startup.Catalina.stop(Catalina.java:628) at org.apache.catalina.startup.Catalina.start(Catalina.java:603) 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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Nov 20, 2009 11:25:20 AM org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8080 {noformat}

    Atlassian JIRA | 7 years ago | Mark Hrynczak [Atlassian]
    java.lang.NullPointerException
  2. 0

    After upgrading 3.0.2 -> 3.1-beta3, shutting down tomcat gives errors in catalina.log: {noformat}Nov 20, 2009 11:24:58 AM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 Nov 20, 2009 11:24:59 AM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Nov 20, 2009 11:25:20 AM org.apache.tomcat.util.modeler.Registry unregisterComponent SEVERE: Error unregistering mbean java.lang.NullPointerException at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:243) at org.slf4j.bridge.SLF4JBridgeHandler.getSLF4JLogger(SLF4JBridgeHandler.java:159) at org.slf4j.bridge.SLF4JBridgeHandler.publish(SLF4JBridgeHandler.java:244) at java.util.logging.Logger.log(Logger.java:458) at java.util.logging.Logger.doLog(Logger.java:480) at java.util.logging.Logger.logp(Logger.java:596) at com.sun.jmx.trace.TraceManager.send(TraceManager.java:219) at com.sun.jmx.trace.Trace.send(Trace.java:110) at com.sun.jmx.mbeanserver.Repository.trace(Repository.java:72) at com.sun.jmx.mbeanserver.Repository.trace(Repository.java:77) at com.sun.jmx.mbeanserver.Repository.contains(Repository.java:472) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isRegistered(DefaultMBeanServerInterceptor.java:593) at com.sun.jmx.mbeanserver.JmxMBeanServer.isRegistered(JmxMBeanServer.java:598) at org.apache.tomcat.util.modeler.Registry.unregisterComponent(Registry.java:573) at org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:720) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4557) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:924) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1191) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1162) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:313) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1086) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448) at org.apache.catalina.core.StandardService.stop(StandardService.java:584) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744) at org.apache.catalina.startup.Catalina.stop(Catalina.java:628) at org.apache.catalina.startup.Catalina.start(Catalina.java:603) 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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Nov 20, 2009 11:25:20 AM org.apache.tomcat.util.modeler.Registry unregisterComponent SEVERE: Error unregistering mbean java.lang.NullPointerException at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:243) at org.slf4j.bridge.SLF4JBridgeHandler.getSLF4JLogger(SLF4JBridgeHandler.java:159) at org.slf4j.bridge.SLF4JBridgeHandler.publish(SLF4JBridgeHandler.java:244) at java.util.logging.Logger.log(Logger.java:458) at java.util.logging.Logger.doLog(Logger.java:480) at java.util.logging.Logger.logp(Logger.java:596) at com.sun.jmx.trace.TraceManager.send(TraceManager.java:219) at com.sun.jmx.trace.Trace.send(Trace.java:110) at com.sun.jmx.mbeanserver.Repository.trace(Repository.java:72) at com.sun.jmx.mbeanserver.Repository.trace(Repository.java:77) at com.sun.jmx.mbeanserver.Repository.contains(Repository.java:472) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isRegistered(DefaultMBeanServerInterceptor.java:593) at com.sun.jmx.mbeanserver.JmxMBeanServer.isRegistered(JmxMBeanServer.java:598) at org.apache.tomcat.util.modeler.Registry.unregisterComponent(Registry.java:573) at org.apache.catalina.loader.WebappLoader.destroy(WebappLoader.java:592) at org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:727) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4557) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:924) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1191) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1162) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:313) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1086) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448) at org.apache.catalina.core.StandardService.stop(StandardService.java:584) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744) at org.apache.catalina.startup.Catalina.stop(Catalina.java:628) at org.apache.catalina.startup.Catalina.start(Catalina.java:603) 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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Nov 20, 2009 11:25:20 AM org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8080 {noformat}

    Atlassian JIRA | 7 years ago | Mark Hrynczak [Atlassian]
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.slf4j.LoggerFactory.getLogger()
    2. SLF4J API Module
      LoggerFactory.getLogger
      1. org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:243)
      1 frame
    3. JUL to SLF4J bridge
      SLF4JBridgeHandler.publish
      1. org.slf4j.bridge.SLF4JBridgeHandler.getSLF4JLogger(SLF4JBridgeHandler.java:159)
      2. org.slf4j.bridge.SLF4JBridgeHandler.publish(SLF4JBridgeHandler.java:244)
      2 frames
    4. Java RT
      Logger.logp
      1. java.util.logging.Logger.log(Logger.java:458)
      2. java.util.logging.Logger.doLog(Logger.java:480)
      3. java.util.logging.Logger.logp(Logger.java:596)
      3 frames
    5. com.sun.jmx
      Trace.send
      1. com.sun.jmx.trace.TraceManager.send(TraceManager.java:219)
      2. com.sun.jmx.trace.Trace.send(Trace.java:110)
      2 frames
    6. Java RT
      JmxMBeanServer.isRegistered
      1. com.sun.jmx.mbeanserver.Repository.trace(Repository.java:72)
      2. com.sun.jmx.mbeanserver.Repository.trace(Repository.java:77)
      3. com.sun.jmx.mbeanserver.Repository.contains(Repository.java:472)
      4. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isRegistered(DefaultMBeanServerInterceptor.java:593)
      5. com.sun.jmx.mbeanserver.JmxMBeanServer.isRegistered(JmxMBeanServer.java:598)
      5 frames
    7. Embedded GlassFish Web
      Registry.unregisterComponent
      1. org.apache.tomcat.util.modeler.Registry.unregisterComponent(Registry.java:573)
      1 frame
    8. Glassfish Core
      Catalina.start
      1. org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:720)
      2. org.apache.catalina.core.StandardContext.stop(StandardContext.java:4557)
      3. org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:924)
      4. org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1191)
      5. org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1162)
      6. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:313)
      7. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      8. org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1086)
      9. org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098)
      10. org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448)
      11. org.apache.catalina.core.StandardService.stop(StandardService.java:584)
      12. org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
      13. org.apache.catalina.startup.Catalina.stop(Catalina.java:628)
      14. org.apache.catalina.startup.Catalina.start(Catalina.java:603)
      14 frames
    9. 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
    10. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      2 frames