java.lang.NullPointerException

Icesoft | briandoran | 8 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

    Inputfile issue with Seam

    Icesoft | 8 years ago | briandoran
    java.lang.NullPointerException
  2. 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
  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. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cloud Foundry v2 in Grails

    Stack Overflow | 2 years ago | angelo087
    java.lang.NullPointerException: Cannot invoke method getAt() on null object
  6. 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.liferay.portlet.PortletRequestImpl.setAttribute()
    2. Liferay Portal Service
      PortletRequestImpl.setAttribute
      1. com.liferay.portlet.PortletRequestImpl.setAttribute(PortletRequestImpl.java:571)
      1 frame
    3. com.icesoft.faces
      AbstractCopyingAttributeMap.put
      1. com.icesoft.faces.webapp.http.portlet.PortletRequestAttributes.setAttribute(PortletRequestAttributes.java:28)
      2. com.icesoft.faces.webapp.http.portlet.PortletEnvironmentRenderRequest.setAttribute(PortletEnvironmentRenderRequest.java:167)
      3. com.icesoft.faces.webapp.http.portlet.PortletRequestAttributeMap.setAttribute(PortletRequestAttributeMap.java:31)
      4. com.icesoft.faces.context.AbstractCopyingAttributeMap.put(AbstractCopyingAttributeMap.java:22)
      4 frames
    4. Java RT
      Collections$SynchronizedMap.put
      1. java.util.Collections$SynchronizedMap.put(Collections.java:1983)
      1 frame
    5. JSF
      FacesCompositeELResolver.getValue
      1. com.sun.faces.util.RequestStateManager.getStateMap(RequestStateManager.java:281)
      2. com.sun.faces.util.RequestStateManager.set(RequestStateManager.java:223)
      3. com.sun.faces.el.FacesCompositeELResolver.setChainType(FacesCompositeELResolver.java:159)
      4. com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:71)
      4 frames
    6. org.jboss.el
      MethodExpressionImpl.invoke
      1. org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
      2. org.jboss.el.parser.AstValue.getTarget(AstValue.java:34)
      3. org.jboss.el.parser.AstValue.invoke(AstValue.java:95)
      4. org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
      4 frames
    7. org.jboss.seam
      OptionalParameterMethodExpression.invoke
      1. org.jboss.seam.el.OptionalParameterMethodExpression.invoke(OptionalParameterMethodExpression.java:39)
      1 frame
    8. Facelets
      TagMethodExpression.invoke
      1. com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
      1 frame
    9. JavaEE 7
      MethodExpressionActionListener.processAction
      1. javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:99)
      1 frame
    10. com.icesoft.faces
      MainServlet.service
      1. com.icesoft.faces.component.inputfile.InputFile.notifyDone(InputFile.java:301)
      2. com.icesoft.faces.component.inputfile.InputFile.notifyDoneSafely(InputFile.java:280)
      3. com.icesoft.faces.component.inputfile.InputFile.upload(InputFile.java:226)
      4. com.icesoft.faces.webapp.http.core.UploadServer$2.servlet(UploadServer.java:73)
      5. com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.detectEnvironment(ServletRequestResponse.java:228)
      6. com.icesoft.faces.webapp.http.core.UploadServer.service(UploadServer.java:50)
      7. com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
      8. com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160)
      9. com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:38)
      10. com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
      11. com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
      12. com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:55)
      13. com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
      14. com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:91)
      14 frames
    11. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      1 frame
    12. com.icesoft.faces
      BlockingServlet.service
      1. com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:56)
      1 frame
    13. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    14. org.jboss.seam
      SeamFilter.doFilter
      1. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
      2. org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
      3. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      4. org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
      5. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      6. org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
      7. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      8. org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
      9. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      10. org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
      10 frames
    15. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      9 frames
    16. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      3 frames
    17. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame