Free Support Forum -

Argument exception "Cannot insert a node of this type at this location" while populating bookmarks

Hi, guys,

I faced with the following issue:
When I’m trying to set the value of the bookmark the argument exception “Cannot insert a node of this type at this location” is thrown. Example of the document, that issue is reproduced on, is attached.

(Stack trace):

at Aspose.Words.CompositeNode.(Node , Node , Boolean )
at Aspose.Words.CompositeNode.(Node , Node , Node )
at .()
at Aspose.Words.Bookmark.set_Text(String value)

Do you have any thought about this issue?

Hi Mikhail,

Thanks for your inquiry. 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-14353. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

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