ICEfaces
  1. ICEfaces
  2. ICE-10655

component-showcase fails when using javax.faces.PARTIAL_STATE_SAVING=false

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P03
    • Fix Version/s: EE-3.3.0.GA_P03
    • Component/s: ICE-Components, Sample Apps
    • Labels:
      None
    • Environment:
      Tomcat 7, ICEfaces EE-3.3.0 maintenance branch r44577, mojarra 2.1.29-01. component-showcase
    • Assignee Priority:
      P1

      Description

      When testing the component-showcase with javax.faces.PARTIAL_STATE_SAVING=false the entire suite fails. Attempting to navigate to a demo causes a server internal error.

      Apr 24, 2015 10:49:03 AM org.icefaces.impl.context.DOMResponseWriter appendToCur
      sor
      SEVERE: failed to append element[tag: body; attributes: ] into #document
      org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a
       node where it is not permitted.
              at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.insertBefore(
      CoreDocumentImpl.java:396)
              at com.sun.org.apache.xerces.internal.dom.NodeImpl.appendChild(NodeImpl.
      java:238)
              at org.icefaces.impl.context.DOMResponseWriter.appendToCursor(DOMRespons
      eWriter.java:447)
              at org.icefaces.impl.context.DOMResponseWriter.startElement(DOMResponseW
      riter.java:275)
              at com.sun.faces.renderkit.html_basic.BodyRenderer.encodeBegin(BodyRende
      rer.java:79)
              at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.jav
      a:822)
              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1776)
              at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPar
      tialViewContext.java:153)
              at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:973)
              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1778)
              at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView
      (FaceletViewHandlingStrategy.java:426)
              at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewH
      andler.java:125)
              at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrap
      per.java:286)
              at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePha
      se.java:120)
              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(Appl
      icationFilterChain.java:305)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:210)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:222)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:123)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
      torBase.java:502)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:171)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:99)
              at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
      953)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:118)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:408)
              at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp
      11Processor.java:1023)
              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
      AbstractProtocol.java:589)
              at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoin
      t.java:1852)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
      java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:615)
              at java.lang.Thread.run(Thread.java:745)

      java.lang.RuntimeException: failed to append element[tag: body; attributes: ] in
      to #document
              at org.icefaces.impl.context.DOMResponseWriter.appendToCursor(DOMRespons
      eWriter.java:452)
              at org.icefaces.impl.context.DOMResponseWriter.startElement(DOMResponseW
      riter.java:275)
              at com.sun.faces.renderkit.html_basic.BodyRenderer.encodeBegin(BodyRende
      rer.java:79)
              at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.jav
      a:822)
              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1776)
              at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPar
      tialViewContext.java:153)
              at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:973)
              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1778)
              at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView
      (FaceletViewHandlingStrategy.java:426)
              at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewH
      andler.java:125)
              at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrap
      per.java:286)
              at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePha
      se.java:120)
              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(Appl
      icationFilterChain.java:305)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:210)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:222)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:123)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
      torBase.java:502)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:171)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:99)
              at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
      953)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:118)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:408)
              at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp
      11Processor.java:1023)
              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
      AbstractProtocol.java:589)
              at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoin
      t.java:1852)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
      java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:615)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made
      to insert a node where it is not permitted.
              at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.insertBefore(
      CoreDocumentImpl.java:396)
              at com.sun.org.apache.xerces.internal.dom.NodeImpl.appendChild(NodeImpl.
      java:238)
              at org.icefaces.impl.context.DOMResponseWriter.appendToCursor(DOMRespons
      eWriter.java:447)
              ... 30 more
      Apr 24, 2015 10:49:03 AM com.sun.faces.application.view.FaceletViewHandlingStrat
      egy handleRenderException
      SEVERE: Error Rendering View[/showcase.xhtml]
      java.lang.RuntimeException: failed to append element[tag: body; attributes: ] in
      to #document
              at org.icefaces.impl.context.DOMResponseWriter.appendToCursor(DOMRespons
      eWriter.java:452)
              at org.icefaces.impl.context.DOMResponseWriter.startElement(DOMResponseW
      riter.java:275)
              at com.sun.faces.renderkit.html_basic.BodyRenderer.encodeBegin(BodyRende
      rer.java:79)
              at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.jav
      a:822)
              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1776)
              at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPar
      tialViewContext.java:153)
              at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:973)
              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1778)
              at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView
      (FaceletViewHandlingStrategy.java:426)
              at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewH
      andler.java:125)
              at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrap
      per.java:286)
              at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePha
      se.java:120)
              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(Appl
      icationFilterChain.java:305)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:210)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:222)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:123)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
      torBase.java:502)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:171)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:99)
              at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
      953)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:118)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:408)
              at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp
      11Processor.java:1023)
              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
      AbstractProtocol.java:589)
              at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoin
      t.java:1852)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
      java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:615)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made
      to insert a node where it is not permitted.
              at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.insertBefore(
      CoreDocumentImpl.java:396)
              at com.sun.org.apache.xerces.internal.dom.NodeImpl.appendChild(NodeImpl.
      java:238)
              at org.icefaces.impl.context.DOMResponseWriter.appendToCursor(DOMRespons
      eWriter.java:447)
              ... 30 more

      Apr 24, 2015 10:49:03 AM com.sun.faces.context.AjaxExceptionHandlerImpl handlePa
      rtialResponseError
      SEVERE: java.lang.RuntimeException: failed to append element[tag: body; attribut
      es: ] into #document
              at org.icefaces.impl.context.DOMResponseWriter.appendToCursor(DOMRespons
      eWriter.java:452)
              at org.icefaces.impl.context.DOMResponseWriter.startElement(DOMResponseW
      riter.java:275)
              at com.sun.faces.renderkit.html_basic.BodyRenderer.encodeBegin(BodyRende
      rer.java:79)
              at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.jav
      a:822)
              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1776)
              at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPar
      tialViewContext.java:153)
              at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:973)
              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1778)
              at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView
      (FaceletViewHandlingStrategy.java:426)
              at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewH
      andler.java:125)
              at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrap
      per.java:286)
              at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePha
      se.java:120)
              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(Appl
      icationFilterChain.java:305)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:210)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:222)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:123)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
      torBase.java:502)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:171)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:99)
              at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
      953)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:118)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:408)
              at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp
      11Processor.java:1023)
              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
      AbstractProtocol.java:589)
              at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoin
      t.java:1852)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
      java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:615)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made
      to insert a node where it is not permitted.
              at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.insertBefore(
      CoreDocumentImpl.java:396)
              at com.sun.org.apache.xerces.internal.dom.NodeImpl.appendChild(NodeImpl.
      java:238)
              at org.icefaces.impl.context.DOMResponseWriter.appendToCursor(DOMRespons
      eWriter.java:447)
              ... 30 more




        Issue Links

          Activity

          There are no subversion log entries for this issue yet.

            People

            • Assignee:
              Ken Fyten
              Reporter:
              Liana Munroe
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: