PPT to PPT: NullPointerException Is Thrown


I am writing to you about a problem 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 NullPointerException during the saving operation.

We reproduce this issue on Ubuntu 18.04.6 LTS and OpenJDK 11.

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 file and code.zip (2.1 MB)


Thank you for the issue description.

I reproduced the problem with NullPointerException and logged the issue with ID SLIDESJAVA-38668 in our tracking system. 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-38668) have been fixed in Aspose.Slides for Java 22.1 (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.