Please browse the files in the following package.
什么是有机化合物.ppt.zip (3.2 MB)
967d.ppt.zip (1.1 MB)
ffef.ppt.zip (1.2 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.PptReadException: Couldn't read "PowerPoint Document" record. ---> class com.aspose.slides.exceptions.Exception: Couldn't read [gc Start
Self: gc, Header:RecordHeader, Type:0x3EE [RT_Slide], Version:15, Instance:0, Length:0x0
gc End
] ---> class com.aspose.slides.exceptions.Exception: Couldn't read [transient Start
Self: transient, Header:RecordHeader, Type:0x40C [RT_Drawing], Version:15, Instance:0, Length:0x0
transient End
] ---> class com.aspose.slides.exceptions.Exception: Couldn't read [da Start
Self: da, Header:RecordHeader, Type:0xF002 [OA_DgContainer], Version:15, Instance:0, Length:0x0
da End
] ---> class com.aspose.slides.exceptions.Exception: Couldn't read [du Start
Self: du, Header:RecordHeader, Type:0xF003 [OA_SpgrContainer], Version:15, Instance:0, Length:0x0
du End
] ---> class com.aspose.slides.exceptions.Exception: Couldn't read [dt Start
Self: dt, Header:RecordHeader, Type:0xF004 [OA_SpContainer], Version:15, Instance:0, Length:0x0
dt End
] ---> class com.aspose.slides.exceptions.Exception: Couldn't read [c9 Start
Self: c9, Header:RecordHeader, Type:0xF00D [OA_ClientBox], Version:15, Instance:0, Length:0x0
c9 End
] ---> class com.aspose.slides.exceptions.Exception: Chars count mismatch [-1] in StyleTextProAtom.TextPFRuns!!! Text "sh"
com.aspose.slides.internal.oe.g1.do(Unknown Source)
com.aspose.slides.internal.oe.fj.do(Unknown Source)
com.aspose.slides.internal.oe.h7.do(Unknown Source)
com.aspose.slides.internal.oe.c9.do(Unknown Source)
com.aspose.slides.internal.oe.fj.do(Unknown Source)
com.aspose.slides.internal.oe.fk.do(Unknown Source)
com.aspose.slides.internal.oe.fk.do(Unknown Source)
com.aspose.slides.internal.oe.import.do(Unknown Source)
com.aspose.slides.internal.oe.fj.do(Unknown Source)
com.aspose.slides.internal.oe.fk.do(Unknown Source)
com.aspose.slides.internal.oe.fk.do(Unknown Source)
com.aspose.slides.internal.oe.import.do(Unknown Source)
com.aspose.slides.internal.oe.fj.do(Unknown Source)
com.aspose.slides.internal.oe.fk.do(Unknown Source)
com.aspose.slides.internal.oe.fk.do(Unknown Source)
com.aspose.slides.internal.oe.import.do(Unknown Source)
com.aspose.slides.internal.oe.fj.do(Unknown Source)
com.aspose.slides.internal.oe.fk.do(Unknown Source)
com.aspose.slides.internal.oe.fk.do(Unknown Source)
com.aspose.slides.internal.oe.fk.do(Unknown Source)
com.aspose.slides.internal.oe.transient.do(Unknown Source)
com.aspose.slides.internal.oe.fj.do(Unknown Source)
com.aspose.slides.internal.oe.fk.do(Unknown Source)
com.aspose.slides.internal.oe.fk.do(Unknown Source)
com.aspose.slides.internal.oe.import.do(Unknown Source)
com.aspose.slides.internal.oe.fj.do(Unknown Source)
com.aspose.slides.internal.oe.fk.do(Unknown Source)
com.aspose.slides.internal.oe.fk.do(Unknown Source)
com.aspose.slides.internal.oe.e5.do(Unknown Source)
com.aspose.slides.internal.oe.e5.case(Unknown Source)
com.aspose.slides.internal.oe.e5.<init>(Unknown Source)
com.aspose.slides.ale.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.