org.w3c.dom.DOMException: HIERARCHY\_REQUEST\_ERR: An attempt was made to insert a node where it is not permitted.

staf | victorfan88 | 1 decade 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

    Question about HTTP service

    staf | 1 decade ago | victorfan88
    org.w3c.dom.DOMException: HIERARCHY\_REQUEST\_ERR: An attempt was made to insert a node where it is not permitted.

    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 org.apache.xerces.dom.ParentNode.internalInsertBefore()
    2. Xerces2-j
      HTMLDocumentImpl.getTitle
      1. org.apache.xerces.dom.ParentNode.internalInsertBefore(Unknown Source)
      2. org.apache.xerces.dom.ParentNode.insertBefore(Unknown Source)
      3. org.apache.xerces.dom.NodeImpl.appendChild(Unknown Source)
      4. org.apache.html.dom.HTMLDocumentImpl.getDocumentElement(Unknown Source)
      5. org.apache.html.dom.HTMLDocumentImpl.getHead(Unknown Source)
      6. org.apache.html.dom.HTMLDocumentImpl.getTitle(Unknown Source)
      6 frames
    3. com.ibm.staf
      HTTP.acceptRequest
      1. com.ibm.staf.service.http.html.HTMLParser.getTitle(HTMLParser.java:115)
      2. com.ibm.staf.service.http.WebSession.getCurrentTitle(WebSession.java:207)
      3. com.ibm.staf.service.http.WebSession.getSummary(WebSession.java:1257)
      4. com.ibm.staf.service.http.SessionList.listSessions(SessionList.java:161)
      5. com.ibm.staf.service.http.HTTP.handleList(HTTP.java:952)
      6. com.ibm.staf.service.http.HTTP.acceptRequest(HTTP.java:193)
      6 frames