Converting Word document with Bookmark ref results in 'Cannot insert a node of this type at this location'

Attached a Word document contains a field that refers to a bookmark.

Calculating within Word tables BookmarkRef.zip (12.9 KB)

When trying to convert this document with Aspose (to for example HTML), the following exception occures with Aspose.Words (Java) 19.4:

Caused by: java.lang.IllegalArgumentException: Cannot insert a node of this type at this location.
at com.aspose.words.CompositeNode.zzZ(Unknown Source)
at com.aspose.words.CompositeNode.insertAfter(Unknown Source)
at com.aspose.words.zzZFS.zzG(Unknown Source)
at com.aspose.words.zzZFS.zzZ1(Unknown Source)
at com.aspose.words.zzZFS.zzZAj(Unknown Source)
at com.aspose.words.zzZF6.zzZzz(Unknown Source)
at com.aspose.words.zzZFS.zzZ(Unknown Source)
at com.aspose.words.zzZFS.zzZ(Unknown Source)
at com.aspose.words.zzX.zzZ(Unknown Source)
at com.aspose.words.FieldRef.zzZYO(Unknown Source)
at com.aspose.words.zz1G.zzx(Unknown Source)
at com.aspose.words.zz1G.zzy(Unknown Source)
at com.aspose.words.zz1G.zzR(Unknown Source)
at com.aspose.words.zz1G.zzT(Unknown Source)
at com.aspose.words.zz1G.zzW(Unknown Source)
at com.aspose.words.zz1G.zzZ0(Unknown Source)
at com.aspose.words.zz1G.zzZ(Unknown Source)
at com.aspose.words.zz1G.zzZx(Unknown Source)
at com.aspose.words.Document.zzZ(Unknown Source)
at com.aspose.words.Document.zzZ(Unknown Source)
at com.aspose.words.Document.zzZ(Unknown Source)
at com.aspose.words.Document.save(Unknown Source)

Is this a bug in Aspose?

@avandenhoogen,

We tested the scenario and have managed to reproduce the same problem on our end. For the sake of correction, we have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-18476. 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.

The issues you have found earlier (filed as WORDSNET-18476) have been fixed in this Aspose.Words for .NET 19.6 update and this Aspose.Words for Java 19.6 update.