javax.xml.transform.TransformerException: org.w3c.dom.DOMException: `null' prefix expects a namespace uri

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 Atlassian JIRA by Dave Loeng [Atlassian], 1 year ago
org.w3c.dom.DOMException: `null' prefix expects a namespace uri
via Atlassian JIRA by Dave Loeng [Atlassian], 1 year ago
org.w3c.dom.DOMException: `null' prefix expects a namespace uri
via nabble.com by Unknown author, 1 year ago
org.apache.fop.fo.ValidationException: First element must be the fo:root formatting object. Found (Namespace URI: "", Local Name: "style") instead. Please make sure you're producing a valid XSL-FO document.
via developpez.net by Unknown author, 1 year ago
org.apache.fop.fo.ValidationException: First element must be the fo:root formatting object. Found (Namespace URI: "", Local Name: "html") instead. Please make sure you're producing a valid XSL-FO do cument.
via developpez.net by Unknown author, 1 year ago
org.apache.fop.fo.ValidationException: First element must be the fo:root formatting object. Found (Namespace URI: "", Local Name: "html") instead. Please make sure you're producing a valid XSL-FO do cument.
via cjsdn.net by Unknown author, 1 year ago
org.dom4j.IllegalAddException: The node "org.dom4j.tree.DefaultElement@ad5fab [Element: <h1 attributes: []/>]" could not be added to the branch "null" because: Cannot add another element to this Document as it already has a root element of: h1
javax.xml.transform.TransformerException: org.w3c.dom.DOMException: `null' prefix expects a namespace uri
at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:725)
at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:425)
at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:216)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339)
at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2160)
at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1213)
at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:668)
at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1129)
at com.atlassian.confluence.importexport.impl.WikiExporter.convertXHtmlToXslFo(WikiExporter.java:133)
at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:88)
at com.atlassian.confluence.importexport.impl.PdfExporter.convertWikiToXslFo(PdfExporter.java:151)
at com.atlassian.confluence.importexport.impl.PdfExporter.prepareExportTemplate(PdfExporter.java:134)
at com.atlassian.confluence.importexport.impl.PdfExporter.prepareExportXSLFo(PdfExporter.java:264)
at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:165)
at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportPage(AbstractRendererExporterImpl.java:142)
at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:108)
at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfExporter.java:82)
at com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:102)
at com.atlassian.confluence.importexport.actions.ExportPageAction.execute(ExportPageAction.java:78)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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