Error performing a document updated fields

Hi,
I’m facing an issue when updating the fields in one Word document.
To replicate the issue use the following template, load, and just update the fields.

    Document doc = new Document(test.docx);
    doc.updateFields();

I’m using aspose words java lastest version and the document used to perform the operation is the following test.docx (8.6 MB)

The logs output show the following error:

java.lang.NullPointerException
	at com.aspose.words.zzX2.zzY(Unknown Source)
	at com.aspose.words.zzYYJ.zzB(Unknown Source)
	at com.aspose.words.zzYYJ.zzC(Unknown Source)
	at com.aspose.words.zzYYJ.zzYGk(Unknown Source)
	at com.aspose.words.zzYYJ.zzL(Unknown Source)
	at com.aspose.words.zzYXP.zzJ(Unknown Source)
	at com.aspose.words.zzYMY.zza(Unknown Source)
	at com.aspose.words.zz3R.zzJ(Unknown Source)
	at com.aspose.words.zz3S.zzZy2(Unknown Source)
	at com.aspose.words.zzYYN.zzYGF(Unknown Source)
	at com.aspose.words.Document.updatePageLayout(Unknown Source)
	at com.aspose.words.zzZYC.zzZrt(Unknown Source)
	at com.aspose.words.zzZYD.zzEF(Unknown Source)
	at com.aspose.words.zzZV2.zzXY(Unknown Source)
	at com.aspose.words.zzZV2.zzZ(Unknown Source)
	at com.aspose.words.zzZV2.zzYX(Unknown Source)
	at com.aspose.words.Range.updateFields(Unknown Source)
	at com.aspose.words.Document.updateFields(Unknown Source)

I can’t figure out why is this happen.

Kind regards,
Paulo Pereira

@pamp Thank you for reporting this problem to us. I have managed to reproduce it and logged as WORDSNET-23217. We will keep you informed and let you know once it is resolved.

thank you for the feedback.
I’ll wait for any update.

Kind regards,
Paulo Pereira

Any update on this?

@pamp The issue is currently postponed because it’s resolution depends on the fix of other issue WORDSNET-23225, which is currently in development. We will keep you informed and let you know once the issue is resolved.

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