Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

Saving pdf document to doc(x) causes NullPointerException

$
0
0
Hello,

When trying to save the attached pdf file as doc(x), a NullPointerException is thrown back.

Version: 10.2.0 for Java.
Error reproduced on: Ubuntu and Red Hat Linux.
Example code:
com.aspose.pdf.Document pdfDocument = new com.aspose.pdf.Document("<full path>/emd-2009-043098.pdf");
pdfDocument.save("/tmp/tempname.doc", SaveFormat.DocX);

Viewing all articles
Browse latest Browse all 3131

Trending Articles