java.lang.NullPointerException: Missing Form - the UIComponent of type [class com.icesoft.faces.component.ext.HtmlCommandLink] requires a containing form.

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

    when using ice:dataPaginator getting an error

    Icesoft | 8 years ago | ran_inc
    java.lang.NullPointerException: Missing Form - the UIComponent of type [class com.icesoft.faces.component.ext.HtmlCommandLink] requires a containing form.

    Root Cause Analysis

    1. java.lang.NullPointerException

      Missing Form - the UIComponent of type [class com.icesoft.faces.component.ext.HtmlCommandLink] requires a containing form.

      at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.validateParameters()
    2. com.icesoft.faces
      CommandLinkRenderer.encodeBegin
      1. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.validateParameters(DomBasicRenderer.java:495)
      2. com.icesoft.faces.renderkit.dom_html_basic.CommandLinkRenderer.encodeBegin(CommandLinkRenderer.java:100)
      3. com.icesoft.faces.component.ext.renderkit.CommandLinkRenderer.encodeBegin(CommandLinkRenderer.java:54)
      3 frames
    3. JavaEE 7
      UIComponentBase.encodeBegin
      1. javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:785)
      1 frame
    4. com.icesoft.faces
      DataPaginatorRenderer.encodeEnd
      1. com.icesoft.faces.component.datapaginator.DataPaginatorRenderer.renderFacet(DataPaginatorRenderer.java:363)
      2. com.icesoft.faces.component.datapaginator.DataPaginatorRenderer.handleFacet(DataPaginatorRenderer.java:345)
      3. com.icesoft.faces.component.datapaginator.DataPaginatorRenderer.renderScroller(DataPaginatorRenderer.java:277)
      4. com.icesoft.faces.component.datapaginator.DataPaginatorRenderer.encodeEnd(DataPaginatorRenderer.java:231)
      4 frames
    5. JavaEE 7
      UIComponentBase.encodeEnd
      1. javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:833)
      1 frame
    6. com.icesoft.faces
      D2DViewHandler.renderView
      1. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:559)
      2. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:554)
      3. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:554)
      4. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:554)
      5. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:530)
      6. com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:161)
      6 frames
    7. JSF
      LifecycleImpl.render
      1. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
      2. com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
      3. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
      3 frames
    8. com.icesoft.faces
      MainServlet.service
      1. com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18)
      2. com.icesoft.faces.webapp.http.core.PageServer$1.respond(PageServer.java:25)
      3. com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:161)
      4. com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.respondWith(ThreadBlockingAdaptingServlet.java:36)
      5. com.icesoft.faces.webapp.http.core.PageServer.service(PageServer.java:30)
      6. com.icesoft.faces.webapp.http.core.SingleViewServer.service(SingleViewServer.java:48)
      7. com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch(PathDispatcherServer.java:50)
      8. com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:19)
      9. com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
      10. com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
      11. com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:139)
      12. com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:53)
      13. com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
      14. com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
      15. com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:82)
      15 frames
    9. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      1 frame
    10. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
      8 frames
    11. 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:581)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      3 frames
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame