java.lang.NullPointerException

ICEsoft JIRA Issue Tracker | Philip Breau | 4 years ago
  1. 0

    If the associated contentStack of a contentStackMenu is in a separate form the following NullPointerException results: java.lang.NullPointerException at javax.faces.component.UIComponentBase.findComponent(UIComponentBase.java:561) at org.icefaces.mobi.component.contentmenuitem.ContentMenuItemRenderer.renderItemAsList(ContentMenuItemRenderer.java:193) at org.icefaces.mobi.component.contentmenuitem.ContentMenuItemRenderer.encodeEnd(ContentMenuItemRenderer.java:86) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875) at org.icefaces.mobi.renderkit.BaseLayoutRenderer.renderChild(BaseLayoutRenderer.java:52) at org.icefaces.mobi.renderkit.BaseLayoutRenderer.renderChildren(BaseLayoutRenderer.java:38) at org.icefaces.mobi.component.contentstackmenu.ContentStackMenuRenderer.encodeBegin(ContentStackMenuRenderer.java:123) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:820) at javax.faces.component.UIData.encodeBegin(UIData.java:1118) at org.icefaces.impl.component.UISeriesBase.encodeBegin(UISeriesBase.java:502) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1755) at javax.faces.render.Renderer.encodeChildren(Renderer.java:168) at org.icefaces.impl.renderkit.RendererWrapper.encodeChildren(RendererWrapper.java:49) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1757) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1760) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1760) at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:402) at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565) ...

    ICEsoft JIRA Issue Tracker | 4 years ago | Philip Breau
    java.lang.NullPointerException
  2. 0

    If the associated contentStack of a contentStackMenu is in a separate form the following NullPointerException results: java.lang.NullPointerException at javax.faces.component.UIComponentBase.findComponent(UIComponentBase.java:561) at org.icefaces.mobi.component.contentmenuitem.ContentMenuItemRenderer.renderItemAsList(ContentMenuItemRenderer.java:193) at org.icefaces.mobi.component.contentmenuitem.ContentMenuItemRenderer.encodeEnd(ContentMenuItemRenderer.java:86) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875) at org.icefaces.mobi.renderkit.BaseLayoutRenderer.renderChild(BaseLayoutRenderer.java:52) at org.icefaces.mobi.renderkit.BaseLayoutRenderer.renderChildren(BaseLayoutRenderer.java:38) at org.icefaces.mobi.component.contentstackmenu.ContentStackMenuRenderer.encodeBegin(ContentStackMenuRenderer.java:123) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:820) at javax.faces.component.UIData.encodeBegin(UIData.java:1118) at org.icefaces.impl.component.UISeriesBase.encodeBegin(UISeriesBase.java:502) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1755) at javax.faces.render.Renderer.encodeChildren(Renderer.java:168) at org.icefaces.impl.renderkit.RendererWrapper.encodeChildren(RendererWrapper.java:49) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1757) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1760) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1760) at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:402) at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565) ...

    ICEsoft JIRA Issue Tracker | 4 years ago | Philip Breau
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Primefaces OverlayPanel inside composite component

    Stack Overflow | 3 years ago | PierBuca
    java.lang.NullPointerException
  5. 0

    JSF 1.2 app not working with GlassFish v3

    Stack Overflow | 7 years ago | Daniel Szalay
    java.lang.NullPointerException

    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 javax.faces.component.UIComponentBase.findComponent()
    2. JavaEE 7
      UIComponentBase.findComponent
      1. javax.faces.component.UIComponentBase.findComponent(UIComponentBase.java:561)
      1 frame
    3. org.icefaces.mobi
      ContentMenuItemRenderer.encodeEnd
      1. org.icefaces.mobi.component.contentmenuitem.ContentMenuItemRenderer.renderItemAsList(ContentMenuItemRenderer.java:193)
      2. org.icefaces.mobi.component.contentmenuitem.ContentMenuItemRenderer.encodeEnd(ContentMenuItemRenderer.java:86)
      2 frames
    4. JavaEE 7
      UIComponentBase.encodeEnd
      1. javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
      1 frame
    5. org.icefaces.mobi
      ContentStackMenuRenderer.encodeBegin
      1. org.icefaces.mobi.renderkit.BaseLayoutRenderer.renderChild(BaseLayoutRenderer.java:52)
      2. org.icefaces.mobi.renderkit.BaseLayoutRenderer.renderChildren(BaseLayoutRenderer.java:38)
      3. org.icefaces.mobi.component.contentstackmenu.ContentStackMenuRenderer.encodeBegin(ContentStackMenuRenderer.java:123)
      3 frames
    6. JavaEE 7
      UIData.encodeBegin
      1. javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:820)
      2. javax.faces.component.UIData.encodeBegin(UIData.java:1118)
      2 frames
    7. org.icefaces.impl
      UISeriesBase.encodeBegin
      1. org.icefaces.impl.component.UISeriesBase.encodeBegin(UISeriesBase.java:502)
      1 frame
    8. JavaEE 7
      Renderer.encodeChildren
      1. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1755)
      2. javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
      2 frames
    9. org.icefaces.impl
      RendererWrapper.encodeChildren
      1. org.icefaces.impl.renderkit.RendererWrapper.encodeChildren(RendererWrapper.java:49)
      1 frame
    10. JavaEE 7
      UIComponent.encodeAll
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)
      2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1757)
      3. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1760)
      4. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1760)
      4 frames
    11. JSF
      LifecycleImpl.render
      1. com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:402)
      2. com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
      3. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
      4. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      5. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
      5 frames
    12. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
      1 frame
    13. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
      10 frames
    14. Grizzly HTTP
      AbstractProtocol$AbstractConnectionHandler.process
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
      2 frames