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

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

    Missing Form - the UIComponent of type [class javax.faces.component.html.HtmlCommandLink] requires a

    Icesoft | 8 years ago | mirrellk
    java.lang.NullPointerException: Missing Form - the UIComponent of type [class javax.faces.component.html.HtmlCommandLink] requires a containing form.

    Root Cause Analysis

    1. java.lang.NullPointerException

      Missing Form - the UIComponent of type [class javax.faces.component.html.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:93)
      2 frames
    3. JavaEE 7
      UIComponentBase.encodeBegin
      1. javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:717)
      1 frame
    4. com.icesoft.faces
      GridRenderer.encodeChildren
      1. com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:350)
      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:735)
      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:735)
      1 frame
    8. 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
    9. JavaEE 7
      UIComponentBase.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:735)
      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:735)
      1 frame
    12. 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.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:282)
      6. com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:159)
      6 frames
    13. JSF
      LifecycleImpl.render
      1. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
      2. com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
      3. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:118)
      3 frames
    14. com.icesoft.faces
      MainServlet.service
      1. com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18)
      2. com.icesoft.faces.context.View$2.respond(View.java:44)
      3. com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:167)
      4. com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.respondWith(ThreadBlockingAdaptingServlet.java:36)
      5. com.icesoft.faces.context.View.servePage(View.java:274)
      6. com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:62)
      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
    15. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      1 frame
    16. WebSphere
      ServletWrapper.handleRequest
      1. com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1082)
      2. com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1017)
      3. com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
      4. com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
      5. com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:773)
      6. com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:681)
      7. com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:546)
      7 frames
    17. com.ibm.ws
      ServletWrapper.handleRequest
      1. com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:486)
      1 frame
    18. WebSphere
      WebAppRequestDispatcher.forward
      1. com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:321)
      1 frame
    19. GWT dev
      PageContextImpl.forward
      1. org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:518)
      1 frame
    20. com.ibm._jsp
      _index._jspService
      1. com.ibm._jsp._index._jspService(_index.java:68)
      1 frame
    21. com.ibm.ws
      HttpJspBase.service
      1. com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
      1 frame
    22. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      1 frame
    23. WebSphere
      WebAppFilterChain.doFilter
      1. com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1082)
      2. com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1017)
      3. com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
      3 frames
    24. com.highmark.base
      UserFilter.doFilter
      1. com.highmark.base.security.jee.UserFilter.doFilter(UserFilter.java:122)
      1 frame
    25. WebSphere
      WebAppFilterChain.doFilter
      1. com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
      2. com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
      2 frames
    26. Spring ORM
      OpenEntityManagerInViewFilter.doFilterInternal
      1. org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:112)
      1 frame
    27. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
      1 frame
    28. WebSphere
      FilterInstanceWrapper.doFilter
      1. com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
      1 frame