Aspose.Slides for Java: PptxReadException: Empty Content in the AlternateContent

Please browse the files in the following package.
三角形的外角.pptx.zip (1.7 MB)

When I run the code, an ArgumentOutOfRangeException is thrown.

Presentation presentation = new Presentation(filePath);

The following is the error stack information:

class com.aspose.slides.PptxReadException: Empty content in the AlternateContent ---> class com.aspose.slides.exceptions.Exception: Empty content in the AlternateContent
com.aspose.slides.strictfp.do(Unknown Source)
com.aspose.slides.u6.do(Unknown Source)
com.aspose.slides.u6.do(Unknown Source)
com.aspose.slides.ce.do(Unknown Source)
com.aspose.slides.asm.do(Unknown Source)
com.aspose.slides.amv.do(Unknown Source)
com.aspose.slides.amc.byte(Unknown Source)
com.aspose.slides.amc.do(Unknown Source)
com.aspose.slides.Presentation.if(Unknown Source)
com.aspose.slides.Presentation.do(Unknown Source)
com.aspose.slides.Presentation.do(Unknown Source)
com.aspose.slides.Presentation.do(Unknown Source)
com.aspose.slides.Presentation.<init>(Unknown Source)

OS: macOS 13.0.1
JVM: OpenJDK 64-Bit Server VM (17.0.1+12-39, mixed mode, emulated-client, sharing)
Java: version 17.0.1, vendor Oracle Corporation
sdk: aspose.slides-22.11-fx

If there is a way to avoid mistakes, please tell me.

@oscarstar,
Thank you for reporting the issue.

I’ve reproduced the problem with reading the presentation and added a ticket with ID SLIDESJAVA-39056 to our issue-tracking system. We apologize for any inconvenience. Our development team will investigate the case. You will be notified when a new release of Aspose.Slides with a fix is published.

The issues you found earlier (filed as SLIDESJAVA-39056) have been fixed in Aspose.Slides for Java 23.2 (JAR).
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.