After upgrading to the new version 8.1.1 we get this kind of error:
- Code: Select all
- java.lang.RuntimeException: javax.xml.bind.JAXBException: namespacePrefixMapper is null
 at org.docx4j.XmlUtils.marshaltoW3CDomDocument(XmlUtils.java:983) ~[docx4j-core-8.1.1.jar:?]
 at org.docx4j.XmlUtils.marshaltoW3CDomDocument(XmlUtils.java:941) ~[docx4j-core-8.1.1.jar:?]
 at org.docx4j.model.datastorage.OpenDoPEIntegrity.process(OpenDoPEIntegrity.java:140) ~[docx4j-core-8.1.1.jar:?]
 at org.docx4j.model.datastorage.OpenDoPEIntegrity.process(OpenDoPEIntegrity.java:116) ~[docx4j-core-8.1.1.jar:?]
 at com.arianim.swingworker.docx.DocxGenerator$1$1.run(DocxGenerator.java:257) [bin/:?]
The full log (with Docx4j log level "WARN" can be found in the attachment.
Interestingly, this only happens when I generate documents in parallel (multi-threaded).
When generating a single document everything works fine.
We are using docx4j-JAXB-Internal-8.1.1.jar and Java ...

 News of Plutext
 News of Plutext
 Site map
 Site map SitemapIndex
 SitemapIndex RSS Feed
 RSS Feed