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

Icesoft | troesler | 6 years ago
  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

    How to create Dom objects parsing an XML with Stax

    Stack Overflow | 6 years ago | user512345
    org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.
  4. 0

    Problem with adding an XML node to an existent XML File (XML forum at JavaRanch)

    coderanch.com | 1 year ago
    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:391)
    2. com.sun.org.apache.xerces.internal.dom.NodeImpl.appendChild(NodeImpl.java:235)
    2 frames
  3. org.icefaces.context
    DOMResponseWriter.startElement
    1. org.icefaces.context.DOMResponseWriter.appendToCursor(DOMResponseWriter.java:344)
    2. org.icefaces.context.DOMResponseWriter.startElement(DOMResponseWriter.java:232)
    2 frames
  4. JSF
    FormRenderer.encodeBegin
    1. com.sun.faces.renderkit.html_basic.FormRenderer.encodeBegin(FormRenderer.java:133)
    1 frame
  5. JavaEE 7
    UIComponent.encodeAll
    1. javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:823)
    2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1611)
    3. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
    3 frames
  6. JSF
    LifecycleImpl.render
    1. com.sun.faces.application.view.JspViewHandlingStrategy.doRenderView(JspViewHandlingStrategy.java:420)
    2. com.sun.faces.application.view.JspViewHandlingStrategy.renderView(JspViewHandlingStrategy.java:209)
    3. com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:126)
    4. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127)
    5. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
    6. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    6 frames
  7. JavaEE 7
    FacesServlet.service
    1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
    1 frame
  8. Glassfish Core
    StandardPipeline.invoke
    1. org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
    2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
    3. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
    4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
    4 frames
  9. Glassfish
    PESessionLockingStandardPipeline.invoke
    1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
    2. com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
    2 frames
  10. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
    2. org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
    3. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:226)
    3 frames
  11. Kernel Classes
    ContainerMapper.service
    1. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
    1 frame
  12. Grizzly WS
    AbstractThreadPool$Worker.run
    1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
    2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
    3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
    4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
    5. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
    6. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
    7. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
    8. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
    9. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
    10. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
    11. com.sun.grizzly.ContextTask.run(ContextTask.java:69)
    12. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
    13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
    13 frames
  13. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:619)
    1 frame