I am trying to convert a docx file to xhtml, but am getting this exception. Any idea how to resolve this?
ERROR org.docx4j.convert.out.common.AbstractExporter .export line 78 - Exception exporting package
java.lang.NullPointerException
	at org.docx4j.openpackaging.parts.WordprocessingML.BinaryPart.getBuffer(BinaryPart.java:167)
	at org.docx4j.convert.out.common.preprocess.PartialDeepCopy.shallowCopyContent(PartialDeepCopy.java:230)
	at org.docx4j.convert.out.common.preprocess.PartialDeepCopy.copyPart(PartialDeepCopy.java:197)
	at org.docx4j.convert.out.common.preprocess.PartialDeepCopy.deepCopyPart(PartialDeepCopy.java:170)
	at org.docx4j.convert.out.common.preprocess.PartialDeepCopy.deepCopyRelationships(PartialDeepCopy.java:155)
	at org.docx4j.convert.out.common.preprocess.PartialDeepCopy.process(PartialDeepCopy.java:71)
	at org.docx4j.convert.out.common.Preprocess.process(Preprocess.java:72)
	at org.docx4j.convert.out.common.Preprocess.process(Preprocess.java:124)
	at org.docx4j.convert.out.common.AbstractWmlExporter.preprocess(AbstractWmlExporter.java:51)
	at org.docx4j.convert.out.common.AbstractWmlExporter.preprocess(AbstractWmlExporter.java:32)
	at org.docx4j.convert.out.common.AbstractExporter.export(AbstractExporter.java:60)
	at org.docx4j.Docx4J.toHTML(Docx4J.java:502)
	at DocxToXhtmlAndBack.main(DocxToXhtmlAndBack.java:93)
Exception in thread "main" org.docx4j.openpackaging.exceptions.Docx4JException: Exception exporting package
	at org.docx4j.convert.out.common.AbstractExporter.export(AbstractExporter.java:79)
	at org.docx4j.Docx4J.toHTML(Docx4J.java:502)
	at DocxToXhtmlAndBack.main(DocxToXhtmlAndBack.java:93)
Caused by: java.lang.NullPointerException ...
				
				
 News of Plutext
 News of Plutext
 Site map
 Site map SitemapIndex
 SitemapIndex RSS Feed
 RSS Feed