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: The given key was not present in the dictionary. ---> class com.aspose.slides.exceptions.KeyNotFoundException: The given key was not present in the dictionary.
com.aspose.slides.Collections.Generic.Dictionary.get_Item(Unknown Source)
com.aspose.slides.internal.xo.kq.w9(Unknown Source)
com.aspose.slides.internal.hf.hh.w9(Unknown Source)
com.aspose.slides.internal.hf.wi$1.w9(Unknown Source)
com.aspose.slides.internal.hf.w1.w9(Unknown Source)
com.aspose.slides.internal.hf.wi.<init>(Unknown Source)
com.aspose.slides.internal.hf.fy$1.w9(Unknown Source)
com.aspose.slides.internal.hf.w1.w9(Unknown Source)
com.aspose.slides.internal.hf.fy.<init>(Unknown Source)
com.aspose.slides.internal.hf.j8$2.w9(Unknown Source)
com.aspose.slides.internal.hf.w1.w9(Unknown Source)
com.aspose.slides.internal.hf.j8.<init>(Unknown Source)
com.aspose.slides.internal.hf.xv$2.w9(Unknown Source)
com.aspose.slides.internal.hf.w1.w9(Unknown Source)
com.aspose.slides.internal.hf.xv.<init>(Unknown Source)
com.aspose.slides.internal.hf.n4u$1.w9(Unknown Source)
com.aspose.slides.internal.hf.w1.w9(Unknown Source)
com.aspose.slides.internal.hf.n4u.<init>(Unknown Source)
com.aspose.slides.internal.hf.v6.<init>(Unknown Source)
com.aspose.slides.internal.hf.ar6$1.w9(Unknown Source)
com.aspose.slides.internal.hf.w1.w9(Unknown Source)
com.aspose.slides.internal.hf.ar6.<init>(Unknown Source)
com.aspose.slides.internal.hf.goj$2.w9(Unknown Source)
com.aspose.slides.internal.hf.w1.w9(Unknown Source)
com.aspose.slides.internal.hf.goj.<init>(Unknown Source)
com.aspose.slides.internal.hf.zt$2.w9(Unknown Source)
com.aspose.slides.internal.hf.w1.w9(Unknown Source)
com.aspose.slides.internal.hf.zt.<init>(Unknown Source)
com.aspose.slides.c3c.w9(Unknown Source)
com.aspose.slides.g8u.w9(Unknown Source)
com.aspose.slides.tdk.eb(Unknown Source)
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