Hi Team,

If I save a MS Word document as "Strict Open XML Document(*.docx) then I am
not able to process this document. I am getting below exception when I pass
this document in XWPFDocument(InsputStream) code.

"java.lang.NullPointerException: while trying to invoke the method
org.apache.poi.openxml4j.opc.PackageRelationship.getRelationshipType() of an
object loaded from local variable 'partRel'              
java.lang.NullPointerException: while trying to invoke the method
org.apache.poi.openxml4j.opc.PackageRelationship.getRelationshipType() of an
object loaded from local variable 'partRel'| at
org.apache.poi.openxml4j.opc.OPCPackage.getPart(OPCPackage.java:586)| at
org.apache.poi.POIXMLDocumentPart.<init>(POIXMLDocumentPart.java:91)| at
org.apache.poi.POIXMLDocument.<init>(POIXMLDocument.java:56)| at
org.apache.poi.xwpf.usermodel.XWPFDocument.<init>(XWPFDocument.java:120)"

Kindly let us know whether POI is going to support this format in future or
will not support this format at all.

Thanks and Regards,
Rathna.



--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/Apache-POI-is-not-supporting-MS-Word-2013-Strict-Open-XML-Document-docx-tp5719328.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to