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

Tue Jan 31, 2023 3:29 am

Spire.Presentation For Java 8.1.2,授权正式版 (授权key之前已发过邮件) 同SPIREPPT-2151
打开部分ppt文件,出现NPE错误
这个的load的NPE堆栈 和前4个都不一样,不确定是否同一个问题

文件放这里了 https://netcut.cn/1go2tr3oe

错误如下:

Code: Select all
java.lang.NullPointerException
        at com.spire.presentation.packages.sprcvk.spr‡┈(Unknown Source)
        at com.spire.presentation.packages.spriqk.spr█┈(Unknown Source)
        at com.spire.presentation.packages.sprotk.spr┧┇(Unknown Source)
        at com.spire.presentation.ActiveSlide.spr▢┸(Unknown Source)
        at com.spire.presentation.packages.sprdlp.spr¶┸(Unknown Source)
        at com.spire.presentation.packages.sprdlp.<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 com.yuanfudao.metis.live.ppt.service.PPTServiceImpl.processThumbnails(PPTServiceImpl.java:216)
        at Main.processThumbnails(Main.java:44)
        at Main.lambda$main$1(Main.java:86)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:750)


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

Tue Jan 31, 2023 6:40 am

您好,

感谢来信。
我测试您的文档重现到了您的问题。我已将此问题记录到我们的问题跟踪系统,问题编号是SPIREPPT-2159。一旦问题解决了,我将会第一时间通知您。非常抱歉给您带来的不便。

Sincerely
Abel
E-iceblue support team
User avatar

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

Thu Feb 23, 2023 8:35 am

您好,

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

Sincerely
Abel
E-iceblue support team
User avatar

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

Return to 中文技术支持