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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Icesoft by zzzz8, 1 year ago
Failed to append element[tag: html; attributes: ] in to #document
via Icesoft by oozoo, 1 year ago
Failed to append element[tag: html; attributes: ] into #document
via Icesoft by pkLady, 6 months ago
Failed to append element[tag: div; attributes: ] into #document
via Icesoft by perrotekel, 1 year ago
Failed to append element[tag: html; attributes: ] into #document
via Icesoft by sendewelt, 1 year ago
Failed to append element[tag: html; attributes: ] into #document
via Icesoft by sarulsenthil, 6 months ago
Failed to append element[tag: html; attributes: ] into #document
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 com.icesoft.faces.context.DOMResponseWriter.appendToCursor(DOMResponseWriter.java:466)
at com.icesoft.faces.context.DOMResponseWriter.startElement(DOMResponseWriter.java:188)
at com.icesoft.faces.renderkit.dom_html_basic.XMLRenderer.encodeBegin(XMLRenderer.java:51)
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.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 java.lang.Thread.run(Thread.java:619)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.