Please download the original file from the following link.
When I run the code, an PptxReadException is thrown.
Presentation presentation = new Presentation(filePath);
The following is the error stack information:
class com.aspose.slides.PptxReadException: Cannot invoke "com.aspose.slides.internal.d4.po.ky()" because the return value of "com.aspose.slides.internal.d4.q0.dz(String)" is null ---> java.lang.NullPointerException: Cannot invoke "com.aspose.slides.internal.d4.po.ky()" because the return value of "com.aspose.slides.internal.d4.q0.dz(String)" is null
--- 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. Thank you for your advice and help.
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