We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

文件读取失败

链接中包含的文件,使用PowerPoint可以正常打开并播放全部slide。
LoadAnnotationElementData.zip (4.3 MB)
PptxReadException.zip (4.0 MB)
在macOS 12.4中,使用java SDK 22.5,创建Presentation实例时,立刻提示格式错误。请问,有方法可以正常读取文件内容么?

@oscarstar,
感谢您报告问题。
我已经重现了加载 PowerPoint 演示文稿的问题,并将 ID 为 SLIDESJAVA-38852SLIDESJAVA-38853 的票证添加到我们的问题跟踪系统。很抱歉给您带来不便。我们的开发团队将调查这些案例。 问题解决后会通知您。

如果您能分享以下附加信息,那就太好了:

  • 应用程序中的 JDK 版本
  • 这些错误的完整堆栈跟踪

以下为JDK版本和堆栈跟踪,希望能对错误排查有帮助
JVM: OpenJDK 64-Bit Server VM (17.0.1+12-39, mixed mode, emulated-client, sharing)
Java: version 17.0.1, vendor Oracle Corporation

class com.aspose.slides.PptxReadException: LoadAnnotationElementData —> class com.aspose.slides.exceptions.NotImplementedException: LoadAnnotationElementData
com.aspose.slides.xx.do(Unknown Source)
com.aspose.slides.yc.do(Unknown Source)
com.aspose.slides.yi.do(Unknown Source)
com.aspose.slides.yh.do(Unknown Source)
com.aspose.slides.uh.do(Unknown Source)
com.aspose.slides.uh.do(Unknown Source)
com.aspose.slides.b9.do(Unknown Source)
com.aspose.slides.aq8.do(Unknown Source)
com.aspose.slides.alx.do(Unknown Source)
com.aspose.slides.alf.byte(Unknown Source)
com.aspose.slides.alf.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.(Unknown Source)
snapshot.png (78.4 KB)

@oscarstar,
感谢您提供更多信息。 我把它转发给了我们的开发团队。

The issues you have found earlier (filed as SLIDESJAVA-38853) have been fixed in Aspose.Slides for Java 22.7 (ZIP).
You can check all fixes on the Release Notes page.
You can also find the latest version of our library on the Product Download page.