org.apache.xerces.dom.DOMExceptionImpl: HIERARCHY_REQUEST_ERR

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via xml-xalan-dev by Stefano Mazzocchi, 1 year ago
HIERARCHY_REQUEST_ERR
org.apache.xerces.dom.DOMExceptionImpl: HIERARCHY_REQUEST_ERR
at org.apache.xerces.dom.NodeImpl.internalInsertBefore(NodeImpl.java:666)
at org.apache.xerces.dom.NodeImpl.insertBefore(NodeImpl.java:577)
at org.apache.xerces.dom.DocumentImpl.insertBefore(DocumentImpl.java:249)
at org.apache.xalan.xpath.xml.FormatterToDOM.append(FormatterToDOM.java:136)
at org.apache.xalan.xpath.xml.FormatterToDOM.characters(FormatterToDOM.java:301)
at org.apache.xalan.xslt.XSLTEngineImpl$ResultTreeHandler.characters(XSLTEngineImpl.java:4199)
at org.apache.xalan.xslt.XSLTEngineImpl.cloneToResultTree(XSLTEngineImpl.java:1810)
at org.apache.xalan.xslt.ElemTemplateElement.transformChild(ElemTemplateElement.java:976)
at org.apache.xalan.xslt.ElemTemplateElement.transformSelectedChildren(ElemTemplateElement.java:736)
at org.apache.xalan.xslt.ElemApplyTemplates.execute(ElemApplyTemplates.java:147)
at org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElement.java:507)
at org.apache.xalan.xslt.ElemTemplateElement.transformChild(ElemTemplateElement.java:1013)
at org.apache.xalan.xslt.ElemTemplateElement.transformSelectedChildren(ElemTemplateElement.java:736)
at org.apache.xalan.xslt.ElemApplyTemplates.execute(ElemApplyTemplates.java:147)
at org.apache.xalan.xslt.ElemTemplateElement.executeChildren(ElemTemplateElement.java:507)
at org.apache.xalan.xslt.ElemTemplate.execute(ElemTemplate.java:141)
at org.apache.xalan.xslt.StylesheetRoot.process(StylesheetRoot.java:398)
at org.apache.cocoon.transformer.XalanTransformer.transform(XalanTransformer.java:94)
at org.apache.cocoon.processor.xslt.XSLTProcessor.process(XSLTProcessor.java:103)
at org.apache.cocoon.Engine.handle(Engine.java:286)
at org.apache.cocoon.Cocoon.service(Cocoon.java:145)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
at org.apache.jserv.JServConnection.run(JServConnection.java:188)
at java.lang.Thread.run(Thread.java:492)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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