Free Support Forum - aspose.com

Aspose.Words for Java 15.6.0 updateFields fails

Using Aspose.Words for Java 15.6.0/
When trying to update fields for the document - NPE is thrown.
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
at com.aspose.words.zzAT.zzQ(Unknown Source)
at com.aspose.words.zzAT.zzZ(Unknown Source)
at com.aspose.words.zzCZ.zzZ(Unknown Source)
at com.aspose.words.zzCZ.zzZ(Unknown Source)
at com.aspose.words.zzZOZ.zzV(Unknown Source)
at com.aspose.words.zzZOZ.zzX(Unknown Source)
… 32 more
Caused by: java.lang.NullPointerException
at com.aspose.words.zzNV.zzZ(Unknown Source)
at com.aspose.words.zzNV.zzX(Unknown Source)
at com.aspose.words.zzNV.zzZ(Unknown Source)
at com.aspose.words.zzKR.zzW(Unknown Source)
at com.aspose.words.zzN5.zzW(Unknown Source)
at com.aspose.words.zzKV.zzR(Unknown Source)
at com.aspose.words.zzKV.zzfe(Unknown Source)
at com.aspose.words.zzKV.zzj7(Unknown Source)
at com.aspose.words.zzKG.zzj7(Unknown Source)
at com.aspose.words.zzKG.zzZ(Unknown Source)
at com.aspose.words.zzKP.zzZ(Unknown Source)
at com.aspose.words.zzAT.zzQ(Unknown Source)

Code snippet to reproduce the problem (with the attached file):

License license = new License();
license.setLicense(“Aspose.Total.Java.lic”);
Document document = new Document(inputFile);
document.updateFields();

Hi Andrey,


Thanks for your inquiry. We tested the scenario and have managed to reproduce the same problem. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-12140. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.

Best regards,

The issues you have found earlier (filed as WORDSNET-12140) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.