Hello,
When I try to read a word document (.docx) that contains image on unix machine i get the Exception:
play.exceptions.JavaExecutionException: Could not initialize class org.docx4j.openpackaging.parts.WordprocessingML.ImagePngPart
at play.mvc.ActionInvoker.invoke(ActionInvoker.java:231)
at Invocation.HTTP Request(Play!)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.docx4j.openpackaging.parts.WordprocessingML.ImagePngPart
at org.docx4j.openpackaging.contenttype.ContentTypeManager.newPartForContentType(ContentTypeManager.java:365)
at org.docx4j.openpackaging.contenttype.ContentTypeManager.getPart(ContentTypeManager.java:267)
at org.docx4j.openpackaging.io.LoadFromZipNG.getRawPart(LoadFromZipNG.java:519)
at org.docx4j.openpackaging.io.LoadFromZipNG.getPart(LoadFromZipNG.java:427)
at org.docx4j.openpackaging.io.LoadFromZipNG.addPartsFromRelationships(LoadFromZipNG.java:350)
at org.docx4j.openpackaging.io.LoadFromZipNG.getPart(LoadFromZipNG.java:449)
at org.docx4j.openpackaging.io.LoadFromZipNG.addPartsFromRelationships(LoadFromZipNG.java:350)
at org.docx4j.openpackaging.io.LoadFromZipNG.process(LoadFromZipNG.java:243)
at org.docx4j.openpackaging.io.LoadFromZipNG.get(LoadFromZipNG.java:193)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:225)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:177)
at org.docx4j.openpackaging.packages.WordprocessingMLPackage.load(WordprocessingMLPackage.java:172)
at com.dell.frontend.logic.beans.DocGeneratorFacadeIml.generateManagedComponentDoc(DocGeneratorFacadeIml.java:57)
at com.dell.frontend.logic.beans.DocGeneratorFacadeIml.generateDocForManagedComponent(DocGeneratorFacadeIml.java:36)
at controllers.Ctrl.generateDoc(XmlApiInterfacesActions.java:1029)
at play.mvc.ActionInvoker.invokeWithContinuation(ActionInvoker.java:548)
at play.mvc.ActionInvoker.invoke(ActionInvoker.java:502)
at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:478) ...