Cannot insert a node of this type at this location - aspose-words-17.7.0-jdk16.jar


I’ve got an exception “Cannot insert a node of this type at this location” during a document processing.

An exception is reproduced on the latest Aspose.Words java library (aspose-words-17.7.0-jdk16.jar) with jdk e with simple code and document to reproduce the problem is attached ( (13.0 KB)).

Could you please check it and may be issue a patch?
Thanks in advance!


Thanks for your inquiry. We have tested the scenario using your shared document and noticed the reported exception. We have logged a ticket WORDSNET-15830 in our issue tracking system for further investigation and rectification. We will notify you as soon as it is resolved.

We are sorry for the inconvenience.

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