Hello team,
We observed a behavior change after upgrading Aspose.Slides for Java from version 26.2 (currently used in production) to 26.7.
In 26.2, calling PresentationFactory.readPresentation(inputPpt, loadOptions) with an invalid or corrupt presentation caused an
exception to be thrown.
In 26.7, the same invalid input no longer throws an exception. Instead, the API returns a blank presentation.
Sample code
LoadOptions loadOptions = new LoadOptions();
Presentation presentation = PresentationFactory.getInstance().readPresentation(inputPpt, loadOptions);
Observed behavior
- Version 26.2: exception thrown for invalid input
- Version 26.7: blank presentation returned for the same invalid input
Expected behavior
For invalid/corrupt input, we expected the API to throw an exception, consistent with version 26.2.
While checking the public release notes for 26.7 published on July 10, 2026, we noticed the loading-related item:
- SLIDESJAVA-39055 / PptxReadException is thrown when reading PPTX file
Reference:
Aspose.Slides for Java 26.7 Release Notes
However, we could not find any note explicitly stating that invalid presentations should now be loaded as blank presentations
instead of causing an exception.
Could you please clarify:
-
Is this behavior change in 26.7 intentional?
-
Is it related to the fix for SLIDESJAVA-39055 or another loading change introduced in 26.7?
-
Is there any setting or LoadOptions configuration to restore the previous behavior and force an exception for invalid/
corrupt input? -
If this is not intentional, could you log it as a regression relative to 26.2?
If needed, we can provide a sample invalid file that reproduces the issue.
Thanks.