Please browse the files in the following package.
2336.pptx.zip (536.6 KB)
When I run the code, PptxReadException is thrown.
Presentation presentation = new Presentation(filePath);
The following is the error stack information:
class com.aspose.slides.PptxReadException: class com.aspose.slides.MathematicalText cannot be cast to class com.aspose.slides.gin (com.aspose.slides.MathematicalText and com.aspose.slides.gin are in unnamed module of loader 'app') ---> java.lang.ClassCastException: class com.aspose.slides.MathematicalText cannot be cast to class com.aspose.slides.gin (com.aspose.slides.MathematicalText and com.aspose.slides.gin are in unnamed module of loader 'app')
--- End of inner exception stack trace ---
com.aspose.slides.tdk.w9(Unknown Source)
com.aspose.slides.Presentation.ky(Unknown Source)
com.aspose.slides.Presentation.w9(Unknown Source)
com.aspose.slides.Presentation.w9(Unknown Source)
com.aspose.slides.Presentation.<init>(Unknown Source)
com.aspose.slides.Presentation.<init>(Unknown Source)
If there is a way to avoid mistakes, please tell me.
OS: macOS 13.2.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-23.3