java.lang.NullPointerException

GitHub | joseorsini | 9 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 | 3 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 com.dotmarketing.portlets.workflows.actionlet.PushPublishActionlet.executeAction()
    2. com.dotmarketing.portlets
      WorkflowAPIImpl.fireWorkflowNoCheckin
      1. com.dotmarketing.portlets.workflows.actionlet.PushPublishActionlet.executeAction(PushPublishActionlet.java:70)[dotcms_3.3.2_fb28b98f.jar:?]
      2. com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.fireWorkflowPostCheckin(WorkflowAPIImpl.java:881)[WorkflowAPIImpl.class:?]
      3. com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.fireWorkflowNoCheckin(WorkflowAPIImpl.java:930)[WorkflowAPIImpl.class:?]
      3 frames
    3. com.dotcms.rest
      WorkflowResource.fireWorkflow
      1. com.dotcms.rest.WorkflowResource.fireWorkflow(WorkflowResource.java:144)[dotcms_3.3.2_fb28b98f.jar:?]
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_91]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_91]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_91]
      4. java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_91]
      4 frames
    5. com.dotcms.repackage
      ServletContainer.service
      1. com.dotcms.repackage.com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)[dot.jersey-server-1.12_2.jar:1.12]
      2. com.dotcms.repackage.com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)[dot.jersey-server-1.12_2.jar:1.12]
      3. com.dotcms.repackage.com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)[dot.jersey-server-1.12_2.jar:1.12]
      4. com.dotcms.repackage.com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)[dot.jersey-server-1.12_2.jar:1.12]
      5. com.dotcms.repackage.com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[dot.jersey-server-1.12_2.jar:1.12]
      6. com.dotcms.repackage.com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)[dot.jersey-server-1.12_2.jar:1.12]
      7. com.dotcms.repackage.com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[dot.jersey-server-1.12_2.jar:1.12]
      8. com.dotcms.repackage.com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)[dot.jersey-server-1.12_2.jar:1.12]
      9. com.dotcms.repackage.com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1483)[dot.jersey-server-1.12_2.jar:1.12]
      10. com.dotcms.repackage.com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1414)[dot.jersey-server-1.12_2.jar:1.12]
      11. com.dotcms.repackage.com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1363)[dot.jersey-server-1.12_2.jar:1.12]
      12. com.dotcms.repackage.com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1353)[dot.jersey-server-1.12_2.jar:1.12]
      13. com.dotcms.repackage.com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:414)[dot.jersey-servlet-1.12_2.jar:1.12]
      14. com.dotcms.repackage.com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)[dot.jersey-servlet-1.12_2.jar:1.12]
      15. com.dotcms.repackage.com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708)[dot.jersey-servlet-1.12_2.jar:1.12]
      15 frames
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:725)[servlet-api.jar:?]
      1 frame
    7. com.dotcms.rest
      ReloadableServletContainer.service
      1. com.dotcms.rest.servlet.ReloadableServletContainer.service(ReloadableServletContainer.java:119)[dotcms_3.3.2_fb28b98f.jar:?]
      1 frame
    8. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)[catalina.jar:8.0.18]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.18]
      2 frames
    9. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)[tomcat-websocket.jar:8.0.18]
      1 frame
    10. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.18]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.18]
      2 frames
    11. com.dotcms.repackage
      UrlRewriteFilter.doFilter
      1. com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:404)[dot.urlrewritefilter-4.0.3_2.jar:4.0.3]
      1 frame
    12. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.18]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.18]
      2 frames
    13. com.dotmarketing.filters
      CMSFilter.doFilter
      1. com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:214)[dotcms_3.3.2_fb28b98f.jar:?]
      1 frame
    14. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.18]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.18]
      2 frames
    15. com.dotmarketing.filters
      AutoLoginFilter.doFilter
      1. com.dotmarketing.filters.AutoLoginFilter.doFilter(AutoLoginFilter.java:61)[dotcms_3.3.2_fb28b98f.jar:?]
      1 frame
    16. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.18]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.18]
      2 frames
    17. com.dotmarketing.cms
      URLMapFilter.doFilter
      1. com.dotmarketing.cms.urlmap.filters.URLMapFilter.doFilter(URLMapFilter.java:300)[dotcms_3.3.2_fb28b98f.jar:?]
      1 frame
    18. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.18]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.18]
      2 frames
    19. com.dotmarketing.filters
      TimeMachineFilter.doFilter
      1. com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:174)[dotcms_3.3.2_fb28b98f.jar:?]
      1 frame
    20. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.18]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.18]
      2 frames
    21. com.dotmarketing.filters
      ThreadNameFilter.doFilter
      1. com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:90)[dotcms_3.3.2_fb28b98f.jar:?]
      1 frame
    22. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.18]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.18]
      2 frames
    23. com.dotmarketing.filters
      CookiesFilter.doFilter
      1. com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:33)[dotcms_3.3.2_fb28b98f.jar:?]
      1 frame
    24. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.18]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.18]
      2 frames
    25. com.dotmarketing.filters
      CharsetEncodingFilter.doFilter
      1. com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:146)[dotcms_3.3.2_fb28b98f.jar:?]
      1 frame
    26. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.18]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.18]
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)[catalina.jar:8.0.18]
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)[catalina.jar:8.0.18]
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)[catalina.jar:8.0.18]
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)[catalina.jar:8.0.18]
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[catalina.jar:8.0.18]
      8. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)[catalina.jar:8.0.18]
      9. org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:673)[catalina.jar:8.0.18]
      10. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)[catalina.jar:8.0.18]
      11. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516)[catalina.jar:8.0.18]
      11 frames
    27. Grizzly HTTP
      NioEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086)[tomcat-coyote.jar:8.0.18]
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659)[tomcat-coyote.jar:8.0.18]
      3. org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)[tomcat-coyote.jar:8.0.18]
      4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558)[tomcat-coyote.jar:8.0.18]
      5. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515)[tomcat-coyote.jar:8.0.18]
      5 frames
    28. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_91]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_91]
      2 frames
    29. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-util.jar:8.0.18]
      1 frame
    30. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[?:1.8.0_91]
      1 frame