java.lang.NullPointerException

Oracle Community | 865717 | 6 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. 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.sysman.emSDK.emd.dtd.ValueRow.getNumValue()
    2. oracle.sysman.emSDK
      ValueRow.getNumValue
      1. oracle.sysman.emSDK.emd.dtd.ValueRow.getNumValue(ValueRow.java:330)
      2. oracle.sysman.emSDK.emd.dtd.ValueRow.getNumValue(ValueRow.java:366)
      2 frames
    3. oracle.sysman.emo
      DBInstance.init
      1. oracle.sysman.emo.smap.DBInstanceInitializer.initializeFromAgent(DBInstanceInitializer.java:998)
      2. oracle.sysman.emo.smap.DBInstanceInitializer.initialize(DBInstanceInitializer.java:395)
      3. oracle.sysman.emo.smap.DBInstance.init(DBInstance.java:643)
      3 frames
    4. oracle.sysman.db
      BaseController.handleEvent
      1. oracle.sysman.db.adm.inst.SitemapController.getBean(SitemapController.java:3570)
      2. oracle.sysman.db.adm.inst.SitemapController.getInstanceBean(SitemapController.java:2963)
      3. oracle.sysman.db.adm.inst.SitemapController.logFeatureUsageHomePage(SitemapController.java:6384)
      4. oracle.sysman.db.adm.inst.SitemapController.onDoLoad(SitemapController.java:3058)
      5. oracle.sysman.db.adm.BaseController.handleEvent(BaseController.java:1306)
      5 frames
    5. oracle.sysman.emSDK
      PageHandler.handleRequest
      1. oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:577)
      1 frame
    6. oracle.sysman.db
      DBControllerResolver.handleRequest
      1. oracle.sysman.db.adm.RootController.handleRequest(RootController.java:235)
      2. oracle.sysman.db.adm.BaseController.handleRequest(BaseController.java:1238)
      3. oracle.sysman.db.adm.DBControllerResolver.handleRequest(DBControllerResolver.java:139)
      3 frames
    7. oracle.sysman.emSDK
      EMServlet.doGet
      1. oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:787)
      2. oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:343)
      2 frames
    8. oracle.sysman.eml
      Console.doGet
      1. oracle.sysman.eml.app.Console.doGet(Console.java:319)
      1 frame
    9. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      2 frames
    10. com.evermind.server
      ResourceFilterChain.doFilter
      1. com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
      1 frame
    11. oracle.sysman.eml
      EMRepLoginFilter.doFilter
      1. oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:208)
      1 frame
    12. com.evermind.server
      EvermindFilterChain.doFilter
      1. com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
      1 frame
    13. oracle.sysman.db
      HandleRepDownFilter.doFilter
      1. oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:165)
      1 frame
    14. com.evermind.server
      EvermindFilterChain.doFilter
      1. com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
      1 frame
    15. oracle.sysman.eml
      BrowserVersionFilter.doFilter
      1. oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
      1 frame
    16. com.evermind.server
      EvermindFilterChain.doFilter
      1. com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
      1 frame
    17. oracle.sysman.emSDK
      EMRedirectFilter.doFilter
      1. oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
      1 frame
    18. com.evermind.server
      EvermindFilterChain.doFilter
      1. com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
      1 frame
    19. oracle.sysman.eml
      ContextInitFilter.doFilter
      1. oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:357)
      1 frame
    20. com.evermind.server
      HttpRequestHandler.run
      1. com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
      2. com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
      3. com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
      4. com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
      5. com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
      6. com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
      7. com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
      7 frames
    21. oracle.oc4j.network
      ServerSocketReadHandler$SafeRunnable.run
      1. oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
      1 frame
    22. com.evermind.util
      ReleasableResourcePooledExecutor$MyWorker.run
      1. com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
      1 frame
    23. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame