为有中文需求的客户提供多渠道中文技术支持.

Sun Jan 29, 2023 7:12 am

Spire.Presentation For Java 8.1.2,授权正式版 (授权key之前已发过邮件) SPIREPPT-2151
这次打开ppt文件,出现NPE错误,从堆栈错误信息看出,和SPIREPPT-2151的npe,不是同一个npe

文件传不上来,放到这里了https://netcut.cn/1gnu629ql


Code: Select all
java.lang.NullPointerException
        at com.spire.presentation.packages.sprvsm.spr┥(Unknown Source)
        at com.spire.presentation.converter.openxml.PptxBaseXmlElement.getEnumAttribute(Unknown Source)
        at com.spire.presentation.TextParagraphProperties.spr︻∯(Unknown Source)
        at com.spire.presentation.TextStyle.spr┢∯(Unknown Source)
        at com.spire.presentation.packages.sprkbp.spr┢∯(Unknown Source)
        at com.spire.presentation.packages.sprkbp.<init>(Unknown Source)
        at com.spire.presentation.packages.sprkbp.spr∬┹(Unknown Source)
        at com.spire.presentation.packages.sprune.<init>(Unknown Source)
        at com.spire.presentation.collections.ShapeList.spr┩┹(Unknown Source)
        at com.spire.presentation.collections.ShapeList.spr┖┺(Unknown Source)
        at com.spire.presentation.GroupShape.<init>(Unknown Source)
        at com.spire.presentation.GroupShape.<init>(Unknown Source)
        at com.spire.presentation.ActiveSlide.spr∮┸(Unknown Source)
        at com.spire.presentation.ActiveSlide.<init>(Unknown Source)
        at com.spire.presentation.packages.sprrxp.<init>(Unknown Source)
        at com.spire.presentation.packages.sprskp.spr⅓┹(Unknown Source)
        at com.spire.presentation.packages.sprskp.spr┅┭(Unknown Source)
        at com.spire.presentation.packages.sprskp.spr〠┹(Unknown Source)
        at com.spire.presentation.packages.sprskp.<init>(Unknown Source)
        at com.spire.presentation.packages.sprskp.<init>(Unknown Source)
        at com.spire.presentation.Presentation.spr┲┹(Unknown Source)
        at com.spire.presentation.Presentation.loadFromStream(Unknown Source)
        at Main.main(Main.java:65)


liheyuan
 
Posts: 24
Joined: Fri Nov 11, 2022 9:20 am

Sun Jan 29, 2023 8:47 am

您好,

感谢您的留言。
我测试您的文档(4f73dfc3-0e0f-408d-bd2b-9cb6c6197b37.pptx)重现到了您的问题。我已将此问题记录到我们的问题跟踪系统,问题编号是SPIREPPT-2154。一旦问题解决了,我将会第一时间通知您。抱歉给您带来不便。

Sincerely
Abel
E-iceblue support team
User avatar

Abel.He
 
Posts: 860
Joined: Tue Mar 08, 2022 2:02 am

Thu Feb 23, 2023 8:20 am

您好,

感谢您的耐心等待。
很高兴通知您我们刚刚发布了Spire.Presentation8.2.1 for java,解决了您编号为SPIREPPT-2154的问题。欢迎下载测试。
网站下载链接: https://www.e-iceblue.cn/Downloads/Spir ... -JAVA.html

Sincerely
Abel
E-iceblue support team
User avatar

Abel.He
 
Posts: 860
Joined: Tue Mar 08, 2022 2:02 am

Return to 中文技术支持