Hello everyone,
I have a problem if I try to import a document into another using DocumentBuilder.insertDocument().
The system returns this error “Cannot insert a node of this type at this location”.
I use Aspose Words for Java version 21.9 jdk17. Before this version I used the version 19.11 jdk16.
Using the 19.11, the error does not occur.
I tried to install the version 21.12 jdk17, but the error persists. At the moment I am not the possibility to install the version 22.1
I attached a little project where I have reproduced the issue.
Into the project there is the TestImportDocument class, for reproduce the issue, it is necessary run the “testSectionBreak” test.
IMPORTANT: I runned it with my licence, but into the project there is a empty file. It is necessary replace it with a valide licence.
Could you help me to understand if this bug is a regression or not? If not what could be the root cause of the issue?
Thanks for collaboration.
Regards,
Giulio Andolfi
TestForAspose.zip (79.2 KB)