java.lang.NullPointerException

Oracle Community | 755441 | 7 years 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. 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:790)
      2. oracle.sysman.eml.host.HostSitemap.setMetricDataFromEMD(HostSitemap.java:1816)
      3. oracle.sysman.eml.host.HostSitemap.<init>(HostSitemap.java:365)
      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:315)
      2. oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:670)
      3. oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:273)
      3 frames
    4. oracle.sysman.eml
      Console.doGet
      1. oracle.sysman.eml.app.Console.doGet(Console.java:152)
      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:795)
      2. com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
      3. com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:794)
      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(Thread.java:536)
      1 frame