We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

IndexOutOfBoundsException on removeUnusedResources with RTF

Aspose Words (tested v17.1.0 , v17.2.0) throws an IndexOutOfBoundsException when using the method removeUnusedResources on the given RTF file. The problem seems to be related track changes and lists.

new Document("test.rtf").removeUnusedResources();


Hi Romain,

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-14859. 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-14859) have been fixed in this Aspose.Words for .NET 17.3.0 update and this Aspose.Words for Java 17.3.0 update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.