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

hivmr.com | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Creating XML Signature

    Oracle Community | 8 years ago | 843811
    org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.
  2. 0

    db:: 4.20::PrivateKey Unknown key spec sm

    hivmr.com | 9 months ago
    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.axiom.om.impl.dom.NodeImpl.insertBefore()
    2. Axiom DOM
      NodeImpl.insertBefore
      1. org.apache.axiom.om.impl.dom.NodeImpl.insertBefore(NodeImpl.java:261)
      1 frame
    3. Java RT
      DOMXMLSignature.sign
      1. org.jcp.xml.dsig.internal.dom.DOMXMLSignature.marshal(Unknown Source)
      2. org.jcp.xml.dsig.internal.dom.DOMXMLSignature.sign(Unknown Source)
      2 frames