Null Pointer Exception when trying to convert a special WORD Doc


Hi there, we are currently testing the JAVA.Words lib. And the attached word file generates the error. Any idea why? (79.8 KB)
error.png (25.1 KB)

We are using the latest Lib. A more simple file was converted to TIFF w/o problem using the same code.




We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-18823. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.


We narrowed down the problem. It seems the ASPOSE Lib has difficulties in parsing forms fields.
Here the minimized document with the form field. (49.2 KB)



Please use the latest version of Aspose.Words for Java 19.7 to avoid this exception. The exception is not thrown while using Aspose.Words for Java 19.7.


Hi Tahir, we tested the new version and the exception is not rising anymore :slight_smile: …that is fine.
We are going on with our evaluation.



Thanks for your feedback. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.