java.lang.NullPointerException

Oracle Community | 865717 | 6 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. 0

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 7 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.util.jdk.VersionUtil.compareVersion()
    2. oracle.sysman.util
      VersionUtil.compareVersion
      1. oracle.sysman.util.jdk.VersionUtil.compareVersion(VersionUtil.java:63)
      1 frame
    3. oracle.sysman.db
      BaseController.handleEvent
      1. oracle.sysman.db.adm.inst.SitemapController.setRequestAttributes(SitemapController.java:1355)
      2. oracle.sysman.db.adm.BaseController.handleEvent(BaseController.java:1391)
      2 frames
    4. oracle.sysman.emSDK
      PageHandler.handleRequest
      1. oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:577)
      1 frame
    5. 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
    6. 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
    7. oracle.sysman.eml
      Console.doGet
      1. oracle.sysman.eml.app.Console.doGet(Console.java:319)
      1 frame
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      2 frames
    9. com.evermind.server
      ResourceFilterChain.doFilter
      1. com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
      1 frame
    10. oracle.sysman.eml
      EMRepLoginFilter.doFilter
      1. oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:208)
      1 frame
    11. com.evermind.server
      EvermindFilterChain.doFilter
      1. com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
      1 frame
    12. oracle.sysman.db
      HandleRepDownFilter.doFilter
      1. oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:165)
      1 frame
    13. com.evermind.server
      EvermindFilterChain.doFilter
      1. com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
      1 frame
    14. oracle.sysman.eml
      BrowserVersionFilter.doFilter
      1. oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
      1 frame
    15. com.evermind.server
      EvermindFilterChain.doFilter
      1. com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
      1 frame
    16. oracle.sysman.emSDK
      EMRedirectFilter.doFilter
      1. oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
      1 frame
    17. com.evermind.server
      EvermindFilterChain.doFilter
      1. com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
      1 frame
    18. oracle.sysman.eml
      ContextInitFilter.doFilter
      1. oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:357)
      1 frame
    19. 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
    20. oracle.oc4j.network
      ServerSocketReadHandler$SafeRunnable.run
      1. oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
      1 frame
    21. com.evermind.util
      ReleasableResourcePooledExecutor$MyWorker.run
      1. com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
      1 frame
    22. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame