Throwing a "StringIndexOutOfBoundsException" when Saving PPTX to PPT (2851)


I am writing to you about a problems we encountered in working with MSO PowerPoint document using the Aspose Slides for Java library (v21.10).

Specifically, when we load the PP document and then save it (immediately, without any changes) it occurs an StringIndexOutOfBoundsException during the saving operation.

I am enclosing the zip file with test code, as well as the source PP file.

In the hope that together we will quickly overcome the problem!
Best regards!


test code and (59.8 KB)

Thank you for reporting the issue.

I’ve reproduced the problem with saving the presentation to PPT format and added a ticket with ID SLIDESJAVA-38772 to our issue tracking system. We apologize for any inconvenience. Our development team will investigate this case. You will be notified when the issue is resolved.

The issues you have found earlier (filed as SLIDESJAVA-38772) have been fixed in Aspose.Slides for Java 22.5 (ZIP).
You can check all fixes on the Release Notes page.
You can also find the latest version of our library on the Product Download page.