java.lang.NullPointerException

Oracle Community | 12301 | 1 decade 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

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

    Automated exception search integrated into your IDE

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

    Cloud Foundry v2 in Grails

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

    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 oracle.j2ee.ws.BinaryClassProcessor.applyClassTransformer()
    2. oracle.j2ee.ws
      BinaryClassProcessor.applyClassTransformer
      1. oracle.j2ee.ws.BinaryClassProcessor.applyClassTransformer(BinaryClassProcessor.java:15)
      1 frame
    3. oracle.aurora.ncomp
      BinaryBatchClassProcessor.processTasks
      1. oracle.aurora.ncomp.jasper.BatchClassProcessor.forEachClassApply(BatchClassProcessor.java:118)
      2. oracle.aurora.ncomp.jasper.BatchClassProcessor.applyClassTransformers(BatchClassProcessor.java:79)
      3. oracle.aurora.ncomp.jasper.BatchClassProcessor.applyTransformers(BatchClassProcessor.java:72)
      4. oracle.aurora.ncomp.jasper.BatchClassProcessor.processTasks(BatchClassProcessor.java:54)
      5. oracle.aurora.ncomp.jasper.binary.BinaryBatchClassProcessor.processTasks(BinaryBatchClassProcessor.java:57)
      5 frames
    4. oracle.j2ee.ws
      BaseWebService.doGet
      1. oracle.j2ee.ws.BinaryClassProcessor.run(BinaryClassProcessor.java:40)
      2. oracle.j2ee.ws.BinaryClassProcessor.dispatch(BinaryClassProcessor.java:66)
      3. oracle.j2ee.ws.JavaWrapperGenerator.generate(JavaWrapperGenerator.java:253)
      4. oracle.j2ee.ws.RpcWebService.generateWrapperClass(RpcWebService.java:447)
      5. oracle.j2ee.ws.RpcWebService.generate(RpcWebService.java:396)
      6. oracle.j2ee.ws.RpcWebService.getWrapper(RpcWebService.java:514)
      7. oracle.j2ee.ws.RpcWebService.doGetRequest(RpcWebService.java:613)
      8. oracle.j2ee.ws.BaseWebService.doGet(BaseWebService.java:1117)
      8 frames
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      2 frames
    6. com.evermind.server
      HttpRequestHandler.run
      1. com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:733)
      2. com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
      3. com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
      4. com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
      5. com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
      5 frames
    7. com.evermind.util
      ReleasableResourcePooledExecutor$MyWorker.run
      1. com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
      1 frame
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame