Error: java.lang.NullPointerException: Cannot invoke "com.aspose.words.zzZOh.zzWhW()" because the return value of "com.aspose.words.zzZOh.zzZ85()" is null

We are getting this error: java.lang.NullPointerException: Cannot invoke “com.aspose.words.zzZOh.zzWhW()” because the return value of “com.aspose.words.zzZOh.zzZ85()” is null

aspose-word: we tested with aspose-words-24.1-jdk17 and aspose-words-23.9-jdk17
java version:jdk17

If I run updateFields function on a document the above error is thrown and I cannot save the document in pdf format.

here is the code:

var path = "C:\\Projects\\";
var doc1 = new Document(path + "test1.docx");
doc1.updateFields();
 
//generate docx
doc1.save(path + "doc_result.docx");
 
//generate pdf
doc1.save(path + "doc_pdf.pdf");

and document is:
test1.docx (1.2 MB)

@minaeimi
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-26622

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Thanks, any ETA when this can be picked up?

@minaeimi Unfortunately, at the moment it is difficult to provide you any estimates. The issue is in the queue for analysis. Once analysis is done we will be able to provide you more information or a fix.

The issues you have found earlier (filed as WORDSNET-26622) have been fixed in this Aspose.Words for Java 24.4 update.