Null Pointer Exception when trying to convert a special WORD Doc


#1

Hi there, we are currently testing the JAVA.Words lib. And the attached word file generates the error. Any idea why?

GEN_Formular_15867249.zip (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.

Regards
Patrick


#2

@pkvogt,

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.


#3

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


#4

@pkvogt,

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.


#5

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.
regards
Patrick


#6

@pkvogt,

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