org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.

ICEsoft JIRA Issue Tracker | Ted Goddard | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    ICEFaces 2.0 with JSF 2.0 on Glassfish V3 (resolved)

    Icesoft | 6 years ago | troesler
    org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    is it possible to insert TWO root element under dom?

    Oracle Community | 1 decade ago | 843834
    org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.
  4. 0

    Problems with valueChangeListener And selectInputDate

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

  1. treefolk 1 times, last 3 months 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:419)
    2. com.sun.org.apache.xerces.internal.dom.NodeImpl.appendChild(NodeImpl.java:275)
    2 frames
  3. org.icefaces.context
    DOMResponseWriter.startElement
    1. org.icefaces.context.DOMResponseWriter.appendToCursor(DOMResponseWriter.java:401)
    2. org.icefaces.context.DOMResponseWriter.startElement(DOMResponseWriter.java:236)
    2 frames
  4. JSF
    UILeaf.encodeAll
    1. com.sun.faces.facelets.compiler.StartElementInstruction.write(StartElementInstruction.java:68)
    2. com.sun.faces.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:74)
    3. com.sun.faces.facelets.compiler.UILeaf.encodeAll(UILeaf.java:178)
    3 frames
  5. org.icefaces.context
    DOMPartialViewContext.processPartial
    1. org.icefaces.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:102)
    1 frame
  6. JavaEE 7
    UIComponent.encodeAll
    1. javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:989)
    2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1609)
    2 frames