Free Support Forum - aspose.com

PPT文件转成Png图片失败

软件版本:Aspose.Slides for Java 19.12
目标:把PPT文件转成Png图片
现象:转换失败。
错误信息:

com.aspose.slides.exceptions.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: Parameter name: index
at com.aspose.slides.Collections.Generic.List.get_Item(Unknown Source) ~[aspose-slides-19.12-jdk16.jar:19.12]
at com.aspose.slides.SlideCollection.get_Item(Unknown Source) ~[aspose-slides-19.12-jdk16.jar:19.12]
at com.aspose.slides.aby.super(Unknown Source) ~[aspose-slides-19.12-jdk16.jar:19.12]
at com.aspose.slides.aby.float(Unknown Source) ~[aspose-slides-19.12-jdk16.jar:19.12]
at com.aspose.slides.aby.do(Unknown Source) ~[aspose-slides-19.12-jdk16.jar:19.12]
at com.aspose.slides.Presentation.if(Unknown Source) ~[aspose-slides-19.12-jdk16.jar:19.12]
at com.aspose.slides.Presentation.do(Unknown Source) ~[aspose-slides-19.12-jdk16.jar:19.12]
at com.aspose.slides.Presentation.do(Unknown Source) ~[aspose-slides-19.12-jdk16.jar:19.12]
at com.aspose.slides.Presentation.do(Unknown Source) ~[aspose-slides-19.12-jdk16.jar:19.12]
at com.aspose.slides.Presentation.(Unknown Source) ~[aspose-slides-19.12-jdk16.jar:19.12]
at com.edu.aspose.AsposeUtils.ppt2png(AsposeUtils.java:388) [aspose_demo/:?]
at com.edu.aspose.AsposeUtils.convert(AsposeUtils.java:210) [aspose_demo/:?]
at com.edu.aspose.AsposeUtils.main(AsposeUtils.java:135) [aspose_demo/:?]

示例文件:
2008081915283301_ppt.zip (305.7 KB)

1 Like

@zg0x1231,

我已经使用了您共享的presentaiton文件。 我们的问题跟踪系统中已创建ID为SLIDESJAVA-38010的问题,以进一步调查和解决该问题。 该线程已与问题关联,因此一旦问题解决,就会通知您。

The issues you have found earlier (filed as SLIDESJAVA-38010) have been fixed in this update.