java.lang.NullPointerException

Oracle Community | 3382 | 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. 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 | 3 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 oracle.webdb.utils.HTTPUtils.encode()
    2. oracle.webdb.utils
      HTTPUtils.encode
      1. oracle.webdb.utils.HTTPUtils.encode(Unknown Source)
      1 frame
    3. oraURLProviderInstance.makeQueryStringcle.portal
      http.<init>
      1. oraURLProviderInstance.makeQueryStringcle.portal.provider.v2.http.<init>(Unknown Source)
      1 frame
    4. oracle.portal.provider
      URLProviderInstance.initSession
      1. oracle.portal.provider.v2.http.URLProviderInstance.initSession(Unknown Source)
      1 frame
    5. oracle.webdb.provider
      ProviderAdapter.initSession
      1. oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.initSession(Unknown Source)
      2. oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.initSession(Unknown Source)
      2 frames
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    7. oracle.webdb.provider
      SOAPServlet.service
      1. oracle.webdb.provider.v2.utils.soap.SOAPProcessor.doMethodCall(Unknown Source)
      2. oracle.webdb.provider.v2.utils.soap.SOAPProcessor.processInternal(Unknown Source)
      3. oracle.webdb.provider.v2.utils.soap.SOAPProcessor.process(Unknown Source)
      4. oracle.webdb.provider.v2.adapter.SOAPServlet.doSOAPCall(Unknown Source)
      5. oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source)
      5 frames
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
      1 frame
    9. com.evermind.server
      ResourceFilterChain.doFilter
      1. com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:66)
      1 frame
    10. oracle.security.jazn
      JAZNFilter.doFilter
      1. oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:284)
      1 frame
    11. com.evermind.server
      AJPRequestHandler.run
      1. com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:539)
      2. com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:285)
      3. com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:771)
      4. com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:170)
      5. com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
      5 frames
    12. Dough Lea's util.concurrent package
      PooledExecutor$Worker.run
      1. EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:802)
      1 frame
    13. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:484)
      1 frame