Ppt转pdf是会抛出异常,请问是什么原因,能否处理?


#1

0cc0428c205c462194a028351eed1c8c.zip (272.2 KB)
附件中是转码出错的文件
转码错误信息:
class com.aspose.slides.PptxReadException —> java.lang.NullPointerException
— End of inner exception stack trace —
com.aspose.slides.z8.do(Unknown Source)
com.aspose.slides.Presentation.int(Unknown Source)
com.aspose.slides.Presentation.if(Unknown Source)
com.aspose.slides.Presentation.do(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
Aspose.AsposeSlides.ConvertPPT2PDF(AsposeSlides.java:101)
com.lm.controller.WorkerThread.startConvertTask(WorkerThread.java:138)
com.lm.controller.WorkerThread.startConvertTask(WorkerThread.java:133)
com.lm.controller.WorkerThread.run(WorkerThread.java:95)
java.lang.Thread.run(Thread.java:745)
at com.aspose.slides.z8.do(Unknown Source)
at com.aspose.slides.Presentation.int(Unknown Source)
at com.aspose.slides.Presentation.if(Unknown Source)
at com.aspose.slides.Presentation.do(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)
at Aspose.AsposeSlides.ConvertPPT2PDF(AsposeSlides.java:101)
at com.lm.controller.WorkerThread.startConvertTask(WorkerThread.java:138)
at com.lm.controller.WorkerThread.startConvertTask(WorkerThread.java:133)
at com.lm.controller.WorkerThread.run(WorkerThread.java:95)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at com.aspose.slides.internal.k1.c.do(Unknown Source)
at com.aspose.slides.air.do(Unknown Source)
at com.aspose.slides.z8.try(Unknown Source)
… 10 more


#2

@medulive,

我已经观察到您分享的问题,并能够观察指定的问题。 在我们的问题跟踪系统中创建了一个ID SLIDESJAVA-36952的问题,以调查和解决问题。 此线程已与该问题相关联,以便在问题得到解决后通知您。


#3

The issues you have found earlier (filed as SLIDESJAVA-36952) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by mudassir.fayyaz