java.lang.NullPointerException

GitHub | 3rdarm | 7 months 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 | 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.codelibs.fess.app.web.admin.webconfig.AdminWebconfigAction.lambda$getWebConfig$3593()
    2. org.codelibs.fess
      AdminWebconfigAction.lambda$getWebConfig$3593
      1. org.codelibs.fess.app.web.admin.webconfig.AdminWebconfigAction.lambda$getWebConfig$3593(AdminWebconfigAction.java:300)
      1 frame
    3. org.dbflute.optional
      OptionalEntity.map
      1. org.dbflute.optional.BaseOptional.callbackMapping(BaseOptional.java:228)
      2. org.dbflute.optional.OptionalEntity.map(OptionalEntity.java:287)
      2 frames
    4. org.codelibs.fess
      AdminWebconfigAction.update
      1. org.codelibs.fess.app.web.admin.webconfig.AdminWebconfigAction.getWebConfig(AdminWebconfigAction.java:293)
      2. org.codelibs.fess.app.web.admin.webconfig.AdminWebconfigAction.update(AdminWebconfigAction.java:229)
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    6. org.lastaflute.web
      GodHandableAction.lambda$transactionalExecute$148
      1. org.lastaflute.web.ruts.GodHandableAction.invokeExecuteMethod(GodHandableAction.java:345)
      2. org.lastaflute.web.ruts.GodHandableAction.actuallyExecute(GodHandableAction.java:316)
      3. org.lastaflute.web.ruts.GodHandableAction.doExecute(GodHandableAction.java:156)
      4. org.lastaflute.web.ruts.GodHandableAction.lambda$transactionalExecute$148(GodHandableAction.java:147)
      4 frames
    7. org.lastaflute.db
      JTATransactionStage.lambda$requiresNew$92
      1. org.lastaflute.db.jta.stage.JTATransactionStage.doPerform(JTATransactionStage.java:66)
      2. org.lastaflute.db.jta.stage.JTATransactionStage.lambda$requiresNew$92(JTATransactionStage.java:55)
      2 frames
    8. org.lastaflute.di
      JTATransactionManagerAdapter.requiresNew
      1. org.lastaflute.di.tx.adapter.JTATransactionManagerAdapter.requiresNew(JTATransactionManagerAdapter.java:60)
      1 frame
    9. org.lastaflute.db
      JTATransactionStage.selectable
      1. org.lastaflute.db.jta.stage.JTATransactionStage.requiresNew(JTATransactionStage.java:54)
      2. org.lastaflute.db.jta.stage.JTATransactionStage.selectable(JTATransactionStage.java:93)
      2 frames
    10. org.lastaflute.web
      LastaToActionFilter.doFilter
      1. org.lastaflute.web.ruts.GodHandableAction.transactionalExecute(GodHandableAction.java:146)
      2. org.lastaflute.web.ruts.GodHandableAction.godHandyExecute(GodHandableAction.java:127)
      3. org.lastaflute.web.ruts.GodHandableAction.execute(GodHandableAction.java:111)
      4. org.lastaflute.web.ruts.ActionRequestProcessor.performAction(ActionRequestProcessor.java:194)
      5. org.lastaflute.web.ruts.ActionRequestProcessor.fire(ActionRequestProcessor.java:130)
      6. org.lastaflute.web.ruts.ActionRequestProcessor.process(ActionRequestProcessor.java:101)
      7. org.lastaflute.web.servlet.filter.RequestRoutingFilter.processAction(RequestRoutingFilter.java:239)
      8. org.lastaflute.web.servlet.filter.RequestRoutingFilter.routingToAction(RequestRoutingFilter.java:191)
      9. org.lastaflute.web.servlet.filter.RequestRoutingFilter.lambda$createActionPathHandler$265(RequestRoutingFilter.java:164)
      10. org.lastaflute.web.path.ActionPathResolver.actuallyHandleActionPath(ActionPathResolver.java:269)
      11. org.lastaflute.web.path.ActionPathResolver.doHandleActionPath(ActionPathResolver.java:191)
      12. org.lastaflute.web.path.ActionPathResolver.handleActionPath(ActionPathResolver.java:111)
      13. org.lastaflute.web.servlet.filter.RequestRoutingFilter.doFilter(RequestRoutingFilter.java:104)
      14. org.lastaflute.web.servlet.filter.LastaToActionFilter.viaEmbeddedFilter(LastaToActionFilter.java:152)
      15. org.lastaflute.web.servlet.filter.LastaToActionFilter.viaInsideHookDeque(LastaToActionFilter.java:143)
      16. org.lastaflute.web.servlet.filter.LastaToActionFilter.viaInsideHook(LastaToActionFilter.java:127)
      17. org.lastaflute.web.servlet.filter.LastaToActionFilter.doFilter(LastaToActionFilter.java:119)
      17 frames
    11. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
      2 frames
    12. org.lastaflute.web
      LastaShowbaseFilter.doFilter
      1. org.lastaflute.web.servlet.filter.LastaShowbaseFilter.toNextChain(LastaShowbaseFilter.java:162)
      2. org.lastaflute.web.servlet.filter.LastaShowbaseFilter.lambda$viaEmbeddedFilter$272(LastaShowbaseFilter.java:141)
      3. org.lastaflute.web.servlet.filter.RequestLoggingFilter.actuallyFilter(RequestLoggingFilter.java:212)
      4. org.lastaflute.web.servlet.filter.RequestLoggingFilter.doFilter(RequestLoggingFilter.java:197)
      5. org.lastaflute.web.servlet.filter.LastaShowbaseFilter.viaEmbeddedFilter(LastaShowbaseFilter.java:139)
      6. org.lastaflute.web.servlet.filter.LastaShowbaseFilter.viaOutsideHookDeque(LastaShowbaseFilter.java:130)
      7. org.lastaflute.web.servlet.filter.LastaShowbaseFilter.viaOutsideHook(LastaShowbaseFilter.java:114)
      8. org.lastaflute.web.servlet.filter.LastaShowbaseFilter.doFilter(LastaShowbaseFilter.java:106)
      8 frames
    13. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
      2 frames
    14. org.codelibs.fess
      WebApiFilter.doFilter
      1. org.codelibs.fess.filter.WebApiFilter.doFilter(WebApiFilter.java:51)
      1 frame
    15. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
      2 frames
    16. org.lastaflute.web
      LastaPrepareFilter.doFilter
      1. org.lastaflute.web.servlet.filter.LastaPrepareFilter.toNextFilter(LastaPrepareFilter.java:279)
      2. org.lastaflute.web.servlet.filter.LastaPrepareFilter.viaHotdeploy(LastaPrepareFilter.java:242)
      3. org.lastaflute.web.servlet.filter.LastaPrepareFilter.viaLastaDiContext(LastaPrepareFilter.java:229)
      4. org.lastaflute.web.servlet.filter.LastaPrepareFilter.doFilter(LastaPrepareFilter.java:202)
      4 frames
    17. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
      2 frames
    18. org.codelibs.fess
      EncodingFilter.doFilter
      1. org.codelibs.fess.filter.EncodingFilter.doFilter(EncodingFilter.java:119)
      1 frame
    19. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:522)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
      9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
      9 frames
    20. Grizzly HTTP
      SocketProcessorBase.run
      1. org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:1110)
      2. org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
      3. org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:785)
      4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1425)
      5. org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      5 frames
    21. 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
    22. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    23. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame