java.lang.RuntimeException: Failed to append element[tag: html; attributes: ] into #document

Icesoft | oozoo | 8 years ago
  1. 0

    Does anybody know how to get rid of this error?

    Icesoft | 8 years ago | oozoo
    java.lang.RuntimeException: Failed to append element[tag: html; attributes: ] into #document
  2. 0

    Does anybody know how to get rid of this error?

    Icesoft | 8 years ago | michelle2
    java.lang.RuntimeException: Failed to append element[tag: html; attributes: ] into #document
  3. 0

    Re:Does anybody know how to get rid of this error?

    Icesoft | 8 years ago | oozoo
    java.lang.RuntimeException: Failed to append element[tag: html; attributes: ] into #document
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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

    ICEsoft JIRA Issue Tracker | 2 years ago | Liana Munroe
    java.lang.RuntimeException: failed to append element[tag: body; attributes: ] in to #document
  6. 0

    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

    ICEsoft JIRA Issue Tracker | 2 years ago | Liana Munroe
    java.lang.RuntimeException: failed to append element[tag: body; attribut es: ] into #document

    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.RuntimeException

      Failed to append element[tag: html; attributes: ] into #document

      at com.icesoft.faces.context.DOMResponseWriter.appendToCursor()
    2. com.icesoft.faces
      OutputHtmlRenderer.encodeBegin
      1. com.icesoft.faces.context.DOMResponseWriter.appendToCursor(DOMResponseWriter.java:482)
      2. com.icesoft.faces.context.DOMResponseWriter.startElement(DOMResponseWriter.java:146)
      3. com.icesoft.faces.component.ext.renderkit.OutputHtmlRenderer.encodeBegin(OutputHtmlRenderer.java:50)
      3 frames
    3. JavaEE 7
      UIComponentBase.encodeBegin
      1. javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:515)
      1 frame
    4. com.icesoft.faces
      D2DViewHandler.renderView
      1. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:547)
      2. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:554)
      3. com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:524)
      4. com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:161)
      4 frames
    5. Impl
      LifecycleImpl.render
      1. org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
      2. org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
      2 frames