java.lang.NullPointerException

Icesoft | scottji | 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

    Error with MenuRenderer

    Icesoft | 8 years ago | scottji
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.icesoft.faces.renderkit.dom_html_basic.MenuRenderer.renderOption()
    2. com.icesoft.faces
      MenuRenderer.encodeEnd
      1. com.icesoft.faces.renderkit.dom_html_basic.MenuRenderer.renderOption(MenuRenderer.java:303)
      2. com.icesoft.faces.renderkit.dom_html_basic.MenuRenderer.renderOptions(MenuRenderer.java:470)
      3. com.icesoft.faces.renderkit.dom_html_basic.MenuRenderer.renderSelect(MenuRenderer.java:394)
      4. com.icesoft.faces.renderkit.dom_html_basic.MenuRenderer.encodeEnd(MenuRenderer.java:110)
      5. com.icesoft.faces.component.ext.renderkit.MenuRenderer.encodeEnd(MenuRenderer.java:51)
      5 frames
    3. JavaEE 7
      UIComponentBase.encodeEnd
      1. javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:861)
      1 frame
    4. com.icesoft.faces
      GridRenderer.encodeChildren
      1. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:362)
      2. com.icesoft.faces.renderkit.dom_html_basic.GridRenderer.encodeChildren(GridRenderer.java:203)
      2 frames
    5. JavaEE 7
      UIComponentBase.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
      1 frame
    6. com.icesoft.faces
      GroupRenderer.encodeChildren
      1. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:352)
      2. com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:92)
      2 frames
    7. JavaEE 7
      UIComponentBase.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
      1 frame
    8. com.icesoft.faces
      PanelStackRenderer.encodeChildren
      1. com.icesoft.faces.component.util.CustomComponentUtils.renderChild(CustomComponentUtils.java:339)
      2. com.icesoft.faces.component.panelstack.PanelStackRenderer.encodeChildren(PanelStackRenderer.java:112)
      2 frames
    9. JavaEE 7
      UIComponentBase.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
      1 frame
    10. com.icesoft.faces
      GroupRenderer.encodeChildren
      1. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:352)
      2. com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:92)
      2 frames
    11. JavaEE 7
      UIComponentBase.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
      1 frame
    12. com.icesoft.faces
      PanelLayoutRenderer.encodeChildren
      1. com.icesoft.faces.component.util.CustomComponentUtils.renderChild(CustomComponentUtils.java:339)
      2. com.icesoft.faces.component.util.CustomComponentUtils.renderChildren(CustomComponentUtils.java:325)
      3. com.icesoft.faces.component.panellayout.PanelLayoutRenderer.encodeChildren(PanelLayoutRenderer.java:73)
      3 frames
    13. JavaEE 7
      UIComponentBase.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
      1 frame
    14. com.icesoft.faces
      D2DViewHandler.renderView
      1. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:571)
      2. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
      3. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
      4. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
      5. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:575)
      6. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:544)
      7. com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:159)
      7 frames
    15. JSF
      LifecycleImpl.render
      1. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
      2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
      3. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
      3 frames
    16. com.icesoft.faces
      MainServlet.service
      1. com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18)
      2. com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:94)
      3. com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:54)
      4. com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVerifier.java:26)
      5. com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
      6. com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160)
      7. com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:38)
      8. com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
      9. com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
      10. com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:55)
      11. com.icesoft.faces.webapp.http.servlet.SessionVerifier.service(SessionVerifier.java:19)
      12. com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
      13. com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:91)
      13 frames
    17. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      1 frame
    18. com.icesoft.faces
      BlockingServlet.service
      1. com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:56)
      1 frame
    19. Glassfish Core
      StandardPipeline.doInvoke
      1. org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:431)
      2. org.apache.catalina.core.StandardWrapperValve.preInvoke(StandardWrapperValve.java:462)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:139)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:186)
      5. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
      6. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
      6 frames
    20. Glassfish
      PESessionLockingStandardPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
      2. com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
      2 frames
    21. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
      2. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
      3. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
      4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
      5. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
      6. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142)
      7. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
      8. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
      9. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
      10. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
      11. org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
      12. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242)
      12 frames
    22. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
      1 frame
    23. Grizzly WS
      DefaultProtocolFilter.execute
      1. com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633)
      2. com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
      3. com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)
      4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
      4 frames
    24. Kernel Classes
      GlassfishProtocolChain.executeProtocolFilter
      1. com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
      1 frame
    25. Grizzly WS
      WorkerThreadImpl.run
      1. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
      2. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
      3. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
      4. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
      5. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
      6. com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
      7. com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)
      7 frames