java.lang.NullPointerException

Apache's JIRA Issue Tracker | Min Zhou | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Apache's JIRA Issue Tracker | 3 years ago | Min Zhou
    java.lang.NullPointerException
  2. 0

    Apache's JIRA Issue Tracker | 3 years ago | Min Zhou
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Datanode starts but not namenode

    Stack Overflow | 4 years ago | Raphael_LK
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.apache.jasper.servlet.JspServlet.destroy()
    2. GWT dev
      JspServlet.destroy
      1. org.apache.jasper.servlet.JspServlet.destroy(JspServlet.java:410)
      1 frame
    3. Jetty Server
      ServletHolder.doStop
      1. org.mortbay.jetty.servlet.ServletHolder.destroyInstance(ServletHolder.java:318)
      2. org.mortbay.jetty.servlet.ServletHolder.doStop(ServletHolder.java:289)
      2 frames
    4. Jetty Util
      AbstractLifeCycle.stop
      1. org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:78)
      1 frame
    5. Jetty Server
      ServletHandler.doStop
      1. org.mortbay.jetty.servlet.ServletHandler.doStop(ServletHandler.java:171)
      1 frame
    6. Jetty Util
      AbstractLifeCycle.stop
      1. org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:78)
      1 frame
    7. Jetty Server
      HandlerWrapper.doStop
      1. org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrapper.java:142)
      1 frame
    8. Jetty Util
      AbstractLifeCycle.stop
      1. org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:78)
      1 frame
    9. Jetty Server
      SessionHandler.doStop
      1. org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrapper.java:142)
      2. org.mortbay.jetty.servlet.SessionHandler.doStop(SessionHandler.java:124)
      2 frames
    10. Jetty Util
      AbstractLifeCycle.stop
      1. org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:78)
      1 frame
    11. Jetty Server
      WebAppContext.doStop
      1. org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrapper.java:142)
      2. org.mortbay.jetty.handler.ContextHandler.doStop(ContextHandler.java:591)
      3. org.mortbay.jetty.webapp.WebAppContext.doStop(WebAppContext.java:498)
      3 frames
    12. Jetty Util
      AbstractLifeCycle.stop
      1. org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:78)
      1 frame
    13. Hadoop
      HttpServer.stop
      1. org.apache.hadoop.http.HttpServer.stop(HttpServer.java:792)
      1 frame
    14. Apache Hadoop HDFS
      MiniDFSCluster$Builder.build
      1. org.apache.hadoop.hdfs.server.namenode.NameNodeHttpServer.stop(NameNodeHttpServer.java:160)
      2. org.apache.hadoop.hdfs.server.namenode.NameNode.stopHttpServer(NameNode.java:633)
      3. org.apache.hadoop.hdfs.server.namenode.NameNode.stopCommonServices(NameNode.java:589)
      4. org.apache.hadoop.hdfs.server.namenode.NameNode.stop(NameNode.java:732)
      5. org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:688)
      6. org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:669)
      7. org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1254)
      8. org.apache.hadoop.hdfs.MiniDFSCluster.createNameNode(MiniDFSCluster.java:893)
      9. org.apache.hadoop.hdfs.MiniDFSCluster.createNameNodesAndSetConf(MiniDFSCluster.java:784)
      10. org.apache.hadoop.hdfs.MiniDFSCluster.initMiniDFSCluster(MiniDFSCluster.java:642)
      11. org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:334)
      12. org.apache.hadoop.hdfs.MiniDFSCluster$Builder.build(MiniDFSCluster.java:316)
      12 frames
    15. org.apache.tajo
      QueryTestCaseBase.<clinit>
      1. org.apache.tajo.TajoTestingCluster.startMiniDFSCluster(TajoTestingCluster.java:195)
      2. org.apache.tajo.TajoTestingCluster.startMiniCluster(TajoTestingCluster.java:396)
      3. org.apache.tajo.TajoTestingCluster.startMiniCluster(TajoTestingCluster.java:368)
      4. org.apache.tajo.LocalTajoTestingUtility.setup(LocalTajoTestingUtility.java:71)
      5. org.apache.tajo.TpchTestBase.setUp(TpchTestBase.java:94)
      6. org.apache.tajo.TpchTestBase.<clinit>(TpchTestBase.java:51)
      7. org.apache.tajo.QueryTestCaseBase.<clinit>(QueryTestCaseBase.java:133)
      7 frames
    16. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    17. JUnit
      JUnitCore.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
      4. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
      5. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
      6. org.junit.runners.ParentRunner.run(ParentRunner.java:300)
      7. org.junit.runner.JUnitCore.run(JUnitCore.java:157)
      7 frames
    18. IntelliJ junit4 module
      JUnit4IdeaTestRunner.startRunnerWithArgs
      1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:77)
      1 frame
    19. IDEA
      JUnitStarter.main
      1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:195)
      2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:63)
      2 frames
    20. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    21. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
      1 frame