java.lang.RuntimeException: failed to append element[tag: body; attributes: ] in to #document

ICEsoft JIRA Issue Tracker | Liana Munroe | 2 years ago
  1. 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
  2. 0

    showcase sub-menus cannot be accessed due to a server-side error if using javax.faces.PARTIAL_STATE_SAVING=false && Mojarra JSF, see error below and the screen shot attached. This is not an issue if using MyFaces JSF (and javax.faces.PARTIAL_STATE_SAVING=false). This issue occurs also with older revision #'s such as ICEfaces 4 Trunk Jenkins Build 577 (rev. 42137). Steps: - build showcase with Mojarra JSF, and using the partialStateSavings=false context-param: <context-param> <param-name>javax.faces.PARTIAL_STATE_SAVING</param-name> <param-value>false</param-value> </context-param> - load showcase in any browser and click on the left-side menu to access any component, as example DataTable > ace:dataTable -> the following error is seen in server log: Sep 03, 2014 10:01:12 AM com.sun.faces.context.ExceptionHandlerImpl log 1100: JSF1073: java.lang.RuntimeException caught during processing of RENDER_RESPONSE 6 : UIComponent-ClientId=, Message=failed to append element[tag: body; attributes: ] into #document Sep 03, 2014 10:01:12 AM com.sun.faces.context.ExceptionHandlerImpl log 1100: failed to append element[tag: body; attributes: ] into #document java.lang.RuntimeException: failed to append element[tag: body; attributes: ] into #document at org.icefaces.impl.context.DOMResponseWriter.appendToCursor(DOMResponseWriter.java:504) at org.icefaces.impl.context.DOMResponseWriter.startElement(DOMResponseWriter.java:292) at com.sun.faces.renderkit.html_basic.BodyRenderer.encodeBegin(BodyRenderer.java:79) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:864) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1854) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859) at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:456) at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:133) at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:647) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.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:744) 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(DOMResponseWriter.java:499) ... 28 more

    ICEsoft JIRA Issue Tracker | 2 years ago | Carmen Cristurean
    java.lang.RuntimeException: failed to append element[tag: body; attributes: ] into #document
  3. 0

    showcase sub-menus cannot be accessed due to a server-side error if using javax.faces.PARTIAL_STATE_SAVING=false && Mojarra JSF, see error below and the screen shot attached. This is not an issue if using MyFaces JSF (and javax.faces.PARTIAL_STATE_SAVING=false). This issue occurs also with older revision #'s such as ICEfaces 4 Trunk Jenkins Build 577 (rev. 42137). Steps: - build showcase with Mojarra JSF, and using the partialStateSavings=false context-param: <context-param> <param-name>javax.faces.PARTIAL_STATE_SAVING</param-name> <param-value>false</param-value> </context-param> - load showcase in any browser and click on the left-side menu to access any component, as example DataTable > ace:dataTable -> the following error is seen in server log: Sep 03, 2014 10:01:12 AM com.sun.faces.context.ExceptionHandlerImpl log 1100: JSF1073: java.lang.RuntimeException caught during processing of RENDER_RESPONSE 6 : UIComponent-ClientId=, Message=failed to append element[tag: body; attributes: ] into #document Sep 03, 2014 10:01:12 AM com.sun.faces.context.ExceptionHandlerImpl log 1100: failed to append element[tag: body; attributes: ] into #document java.lang.RuntimeException: failed to append element[tag: body; attributes: ] into #document at org.icefaces.impl.context.DOMResponseWriter.appendToCursor(DOMResponseWriter.java:504) at org.icefaces.impl.context.DOMResponseWriter.startElement(DOMResponseWriter.java:292) at com.sun.faces.renderkit.html_basic.BodyRenderer.encodeBegin(BodyRenderer.java:79) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:864) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1854) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859) at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:456) at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:133) at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:647) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.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:744) 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(DOMResponseWriter.java:499) ... 28 more

    ICEsoft JIRA Issue Tracker | 2 years ago | Carmen Cristurean
    java.lang.RuntimeException: failed to append element[tag: body; attributes: ] into #document
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can't launch Glassfish Admin Console when Icefaces.jar present in glassfish\lib

    Icesoft | 5 years ago | ffrreeaakk
    java.lang.RuntimeException: failed to append element[tag: script; attributes: ] into #document
  6. 0

    Sending av melding feiler i Apache Tomcat 7 og i Jetty 9.

    GitHub | 3 years ago | nlinksteinar
    org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.

  1. treefolk 1 times, last 6 days ago
5 unregistered visitors
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. 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()
  2. Java RT
    NodeImpl.appendChild
    1. com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.insertBefore(CoreDocumentImpl.java:396)
    2. com.sun.org.apache.xerces.internal.dom.NodeImpl.appendChild(NodeImpl.java:238)
    2 frames
  3. org.icefaces.impl
    DOMResponseWriter.startElement
    1. org.icefaces.impl.context.DOMResponseWriter.appendToCursor(DOMResponseWriter.java:447)
    2. org.icefaces.impl.context.DOMResponseWriter.startElement(DOMResponseWriter.java:275)
    2 frames
  4. JSF
    BodyRenderer.encodeBegin
    1. com.sun.faces.renderkit.html_basic.BodyRenderer.encodeBegin(BodyRenderer.java:79)
    1 frame
  5. JavaEE 7
    UIComponent.encodeAll
    1. javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:822)
    2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1776)
    2 frames
  6. org.icefaces.impl
    DOMPartialViewContext.processPartial
    1. org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:153)
    1 frame
  7. JavaEE 7
    UIComponent.encodeAll
    1. javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:973)
    2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1778)
    2 frames
  8. JSF
    MultiViewHandler.renderView
    1. com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:426)
    2. com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:125)
    2 frames
  9. JavaEE 7
    ViewHandlerWrapper.renderView
    1. javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:286)
    1 frame
  10. JSF
    LifecycleImpl.render
    1. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
    2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
    3. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    3 frames
  11. JavaEE 7
    FacesServlet.service
    1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
    1 frame
  12. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    10 frames
  13. Grizzly HTTP
    AprEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
    3. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852)
    3 frames
  14. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames