java.lang.NullPointerException

Google Groups | Unknown author | 7 months 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 | 2 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 org.lucee.extension.cache.eh.EHCache.init()
    2. org.lucee.extension
      EHCache.init
      1. org.lucee.extension.cache.eh.EHCache.init(EHCache.java:516)
      1 frame
    3. lucee.runtime.cache
      CacheUtil.getInstance
      1. lucee.runtime.cache.CacheConnectionImpl.getInstance(CacheConnectionImpl.java:70)
      2. lucee.runtime.cache.ServerCacheConnection.getInstance(ServerCacheConnection.java:61)
      3. lucee.runtime.cache.CacheUtil.getInstance(CacheUtil.java:260)
      3 frames
    4. lucee.runtime.type
      ScopeContext.getClientScopeEL
      1. lucee.runtime.type.scope.storage.StorageScopeCache.getCache(StorageScopeCache.java:179)
      2. lucee.runtime.type.scope.storage.StorageScopeCache._loadData(StorageScopeCache.java:128)
      3. lucee.runtime.type.scope.client.ClientCache.getInstance(ClientCache.java:68)
      4. lucee.runtime.type.scope.client.ClientCache.getInstance(ClientCache.java:87)
      5. lucee.runtime.type.scope.ScopeContext.getClientScope(ScopeContext.java:235)
      6. lucee.runtime.type.scope.ScopeContext.getClientScopeEL(ScopeContext.java:262)
      6 frames
    5. lucee.runtime
      PageContextImpl.clientScopeEL
      1. lucee.runtime.PageContextImpl.clientScopeEL(PageContextImpl.java:1367)
      1 frame
    6. lucee.runtime.type
      UndefinedImpl.reinitialize
      1. lucee.runtime.type.scope.UndefinedImpl.reinitialize(UndefinedImpl.java:597)
      1 frame
    7. lucee.runtime
      PageContextImpl.setApplicationContext
      1. lucee.runtime.PageContextImpl.setApplicationContext(PageContextImpl.java:2827)
      1 frame
    8. lucee.runtime.listener
      MixedAppListener.onRequest
      1. lucee.runtime.listener.ModernAppListener.initApplicationContext(ModernAppListener.java:442)
      2. lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:116)
      3. lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:43)
      3 frames
    9. lucee.runtime
      PageContextImpl.executeCFML
      1. lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2259)
      2. lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2251)
      3. lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2219)
      3 frames
    10. lucee.runtime.engine
      CFMLEngineImpl.serviceCFML
      1. lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:881)
      1 frame
    11. lucee.loader.engine
      CFMLEngineWrapper.serviceCFML
      1. lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:102)
      1 frame
    12. lucee.loader.servlet
      CFMLServlet.service
      1. lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62)
      1 frame
    13. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      1 frame
    14. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      2 frames
    15. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      1 frame
    16. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
      9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)
      9 frames
    17. org.apache.coyote
      AbstractAjpProcessor.process
      1. org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:872)
      1 frame
    18. Grizzly HTTP
      NioEndpoint$SocketProcessor.run
      1. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
      2. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
      3. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
      3 frames
    19. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      2 frames
    20. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    21. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame