Hi guys. Got an NPE running this little program. Compiled against 220.127.116.11. Program:
Thanks for your inquiry. I was unable to reproduce this exception on my side using Aspose.Words for Java v13.3.0 . Please download this release of Aspose.Words from the following link:
I hope, this helps.
I downloaded that version (even though I am using a more recent version) and I still get the exception. I am using Aspose.Words.jdk16.jar, were you the same? What other information can I provide to help solve this?
- What environment are you running on?
- OS (Windows Version or Linux Version)
- Architecture (32 / 64 bit)
- Any Third Party Libraries / SDK in addition to Aspose Products?
- Java runtime (JDK) version?
As soon as you get these pieces of information to us we’ll start our investigation into your issue.
Using Ubuntu Linux 12.04, 64 bit. There are no other libraries/jars being used, just the Aspose jar. Java runtime is:
Same issue still exists with 13.4. I added this line to my code to ensure I really am using 13.4:
The test still fails with the NPE, even if I download the document as you indicated in the link. I don’t see the point of making another application, I can’t think of a simpler app than the one I sent you.