java.lang.RuntimeException

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

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web86

  • via Unknown by Unknown author,
  • via Unknown by sendewelt,
  • Stack trace

    • java.lang.RuntimeException: Failed to append element[tag: html; attributes: ] in to #document at com.icesoft.faces.context.DOMResponseWriter.appendToCursor(DOMResponseWriter.java:470) at com.icesoft.faces.context.DOMResponseWriter.startElement(DOMResponseWriter.java:188) at com.icesoft.faces.renderkit.dom_html_basic.XMLRenderer.encodeBegin(XMLRenderer.java:51) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:788) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:558) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:565) at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:317) at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:153) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.render(PersistentFacesState.java:146) at com.icesoft.faces.async.render.RunnableRender.run(RunnableRender.java:142) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:643) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:668) at java.lang.Thread.run(Thread.java:619) Caused by: org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted. at org.apache.xerces.dom.CoreDocumentImpl.insertBefore(Unknown Source) at org.apache.xerces.dom.NodeImpl.appendChild(Unknown Source) at com.icesoft.faces.context.DOMResponseWriter.appendToCursor(DOMResponseWriter.java:466) ... 15 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,