PptxReadException Is Thrown when Reading the PowerPoint Presentation File in Java

Please download the file from the following link.

When I run the code, an NotSupportedException is thrown.

Presentation presentation = new Presentation(filePath);

The following is the error stack information:

class com.aspose.slides.PptxReadException: '⌢' is invalid value of the property
Parameter name: Character ---> class com.aspose.slides.exceptions.ArgumentOutOfRangeException: '⌢' is invalid value of the property
Parameter name: Character
com.aspose.slides.MathAccent.setCharacter(Unknown Source)
com.aspose.slides.else.do(Unknown Source)
com.aspose.slides.adv.do(Unknown Source)
com.aspose.slides.adp.do(Unknown Source)
com.aspose.slides.aht.do(Unknown Source)
com.aspose.slides.axr.do(Unknown Source)
com.aspose.slides.al.do(Unknown Source)
com.aspose.slides.u6.do(Unknown Source)
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 PPTX file and added a ticket with ID SLIDESJAVA-39055 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.