Hi,
We need help. We are puzzled. We are using docx4j to add data into a docx document.
This use-case doesn't involve docx to PDF conversion.
When we tested the solution on Windows with JDK1.7 32 bit, it worked fine from Eclipse.
When we deployed on Linux with JDK 1.7 64 bit and running inside Weblogic, it throws the following exception.
We saw this on docx4j-3.0.1.jar. We downloaded docx4j-3.1.0.jar. We are still seeing the same issue.
org.docx4j.openpackaging.exceptions.Docx4JException: Couldn't get [Content_Types].xml from ZipFile
at org.docx4j.openpackaging.io3.Load3.get(Load3.java:134)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:459)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:376)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:267)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:247)
at org.docx4j.openpackaging.packages.WordprocessingMLPackage.load(WordprocessingMLPackage.java:162)
The actual docx file opens fine and doesn't seem to be corrupted. Wondering where to look.
Any clues will be helpful. Appreciate your help.
Thanks,
Pani