java.lang.NullPointerException

Oracle Community | 3133625 | 1 year 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

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 6 years ago | Pallinder
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  2. 0

    J2ME (Java) - Null Pointer Exception caught in Display Class

    Stack Overflow | 6 years ago | Tom
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Cloud Foundry v2 in Grails

    Stack Overflow | 2 years ago | angelo087
    java.lang.NullPointerException: Cannot invoke method getAt() on null object
  5. 0

    NullPointerException in MIDlet with left soft key

    Stack Overflow | 6 years ago | berry120
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callItemListener(), bci=57 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=57 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179

    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 atg.servlet.pagecompile.StandardJavaSourceCompiler.javaToClass()
    2. atg.servlet.pagecompile
      Jsp12PageProcessor.getPageInfo
      1. atg.servlet.pagecompile.StandardJavaSourceCompiler.javaToClass(StandardJavaSourceCompiler.java:83)[_DAS_slib_sclasses.jar:]
      2. atg.servlet.pagecompile.jsp11.JSPPageProcessor.javaToClass(JSPPageProcessor.java:405)[_DAS_slib_sclasses.jar:]
      3. atg.servlet.pagecompile.PageProcessor.compilePageClass(PageProcessor.java:2437)[_DAS_slib_sclasses.jar:]
      4. atg.servlet.pagecompile.PageProcessor.getPageInfo(PageProcessor.java:1787)[_DAS_slib_sclasses.jar:]
      5. atg.servlet.pagecompile.jsp12.Jsp12PageProcessor.getPageInfo(Jsp12PageProcessor.java:324)[_DAS_slib_sclasses.jar:]
      5 frames
    3. atg.servlet.minimal
      MinimalServletContainer.compileServlet
      1. atg.servlet.minimal.MinimalServletContainer.compileServlet(MinimalServletContainer.java:153)[_DAS_slib_sclasses.jar:]
      1 frame
    4. atg.servlet.pagecompile
      PageCompileServlet.service
      1. atg.servlet.pagecompile.PageCompileServlet.service(PageCompileServlet.java:306)[_DAS_slib_sclasses.jar:]
      1 frame
    5. atg.servlet
      DynamoServlet.service
      1. atg.servlet.DynamoServlet.service(DynamoServlet.java:152)[_DAS_slib_sclasses.jar:]
      1 frame
    6. atg.servlet.pipeline
      PipelineableServletImpl.passRequest
      1. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:160)[_DAS_slib_sclasses.jar:]
      1 frame
    7. atg.droplet
      DropletEventServlet.service
      1. atg.droplet.DropletEventServlet.service(DropletEventServlet.java:696)[_DAS_slib_sclasses.jar:]
      1 frame
    8. atg.servlet.pipeline
      PipelineableServletImpl.passRequest
      1. atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:267)[_DAS_slib_sclasses.jar:]
      2. atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:253)[_DAS_slib_sclasses.jar:]
      3. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)[_DAS_slib_sclasses.jar:]
      4. atg.servlet.pipeline.MimeTyperPipelineServlet.service(MimeTyperPipelineServlet.java:228)[_DAS_slib_sclasses.jar:]
      5. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)[_DAS_slib_sclasses.jar:]
      6. atg.servlet.pipeline.FileFinderPipelineServlet.service(FileFinderPipelineServlet.java:729)[_DAS_slib_sclasses.jar:]
      7. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)[_DAS_slib_sclasses.jar:]
      8. atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:275)[_DAS_slib_sclasses.jar:]
      9. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)[_DAS_slib_sclasses.jar:]
      10. atg.servlet.pipeline.ServletPathPipelineServlet.service(ServletPathPipelineServlet.java:208)[_DAS_slib_sclasses.jar:]
      11. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)[_DAS_slib_sclasses.jar:]
      11 frames
    9. atg.security
      ExpiredPasswordAdminServlet.service
      1. atg.security.ExpiredPasswordAdminServlet.service(ExpiredPasswordAdminServlet.java:312)[_DAS_slib_sclasses.jar:]
      1 frame
    10. atg.servlet.pipeline
      PipelineableServletImpl.passRequest
      1. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)[_DAS_slib_sclasses.jar:]
      2. atg.servlet.pipeline.BasicAuthenticationPipelineServlet.service(BasicAuthenticationPipelineServlet.java:555)[_DAS_slib_sclasses.jar:]
      3. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)[_DAS_slib_sclasses.jar:]
      4. atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:491)[_DAS_slib_sclasses.jar:]
      5. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)[_DAS_slib_sclasses.jar:]
      5 frames
    11. atg.dtm
      TransactionPipelineServlet.service
      1. atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:249)[_DAS_slib_sclasses.jar:]
      1 frame
    12. atg.servlet.pipeline
      PipelineableServletImpl.service
      1. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)[_DAS_slib_sclasses.jar:]
      2. atg.servlet.pipeline.SecurityServlet.service(SecurityServlet.java:200)[_DAS_slib_sclasses.jar:]
      3. atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)[_DAS_slib_sclasses.jar:]
      4. atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1294)[_DAS_slib_sclasses.jar:]
      5. atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:963)[_DAS_slib_sclasses.jar:]
      6. atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:272)[_DAS_slib_sclasses.jar:]
      6 frames
    13. atg.nucleus.servlet
      NucleusProxyServlet.service
      1. atg.nucleus.servlet.NucleusProxyServlet.service(NucleusProxyServlet.java:238)[_DAS_slib_sclasses.jar:]
      1 frame
    14. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:847)[jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
      1 frame
    15. Glassfish Core
      StandardContextValve.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
      4 frames
    16. JBoss Web
      SecurityContextAssociationValve.invoke
      1. org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
      1 frame
    17. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
      2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
      3. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
      4. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
      4 frames
    18. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
      3 frames
    19. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)[rt.jar:1.7.0_67]
      1 frame