java.lang.NullPointerException

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

    Automated exception search integrated into your IDE

  2. 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
  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

    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.sysman.eml.mntr.host.HostUtil.getMetricColumnTotal()
    2. oracle.sysman.eml
      HostController.prepareData
      1. oracle.sysman.eml.mntr.host.HostUtil.getMetricColumnTotal(HostUtil.java:837)
      2. oracle.sysman.eml.host.HostSitemap.setMetricDataFromEMD(HostSitemap.java:1804)
      3. oracle.sysman.eml.host.HostSitemap.<init>(HostSitemap.java:369)
      4. oracle.sysman.eml.host.HostController.prepareData(HostController.java:167)
      4 frames
    3. oracle.sysman.emSDK
      EMServlet.doGet
      1. oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:419)
      2. oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:728)
      3. oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:307)
      3 frames
    4. oracle.sysman.eml
      Console.doGet
      1. oracle.sysman.eml.app.Console.doGet(Console.java:271)
      1 frame
    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:837)
      2. com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
      3. com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
      4. com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
      5. com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
      5 frames
    7. com.evermind.util
      ReleasableResourcePooledExecutor$MyWorker.run
      1. com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
      1 frame
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:534)
      1 frame