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

Free Support Forum - aspose.com

Index is less than 0 or more than or equal to the list count


I'm trying to convert a PowerPoint document to PDF. When I do I get the following error and a partial pdf is created, however it cannot be opened. The file can be opened with Libreoffice and of course PowerPoint.

We're using aspose-slides.jar (7.4.0)

The error is:
Exception in thread "main" class com.aspose.slides.pf4dd765c.pbdb106a0.g: Index is less than 0 or more than or equal to the list count.
Parameter name: index
Actual value was 1.
com.aspose.slides.Collections.ArrayList.do(Unknown Source)
com.aspose.slides.Collections.ArrayList.get_Item(Unknown Source)
com.aspose.slides.PictureBullets.get_Item(Unknown Source)
com.aspose.slides.bvj.do(Unknown Source)
com.aspose.slides.bvj.(Unknown Source)
com.aspose.slides.TextFrame.finally(Unknown Source)
com.aspose.slides.Shape.case(Unknown Source)
com.aspose.slides.Rectangle.case(Unknown Source)
com.aspose.slides.Rectangle.do(Unknown Source)
com.aspose.slides.Slide.do(Unknown Source)
com.aspose.slides.Slide.do(Unknown Source)
com.aspose.slides.bbn.do(Unknown Source)
com.aspose.slides.bbn.do(Unknown Source)
com.aspose.slides.Presentation.do(Unknown Source)
com.aspose.slides.Presentation.save(Unknown Source)
at com.aspose.slides.Collections.ArrayList.do(Unknown Source)
at com.aspose.slides.Collections.ArrayList.get_Item(Unknown Source)
at com.aspose.slides.PictureBullets.get_Item(Unknown Source)
at com.aspose.slides.bvj.do(Unknown Source)
at com.aspose.slides.bvj.(Unknown Source)
at com.aspose.slides.TextFrame.finally(Unknown Source)
at com.aspose.slides.Shape.case(Unknown Source)
at com.aspose.slides.Rectangle.case(Unknown Source)
at com.aspose.slides.Rectangle.do(Unknown Source)
at com.aspose.slides.Slide.do(Unknown Source)
at com.aspose.slides.Slide.do(Unknown Source)
at com.aspose.slides.bbn.do(Unknown Source)
at com.aspose.slides.bbn.do(Unknown Source)
at com.aspose.slides.Presentation.do(Unknown Source)
at com.aspose.slides.Presentation.save(Unknown Source)
at AsposeSlidesToPdf.main(AsposeSlidesToPdf.java:24)

I have attached a sample program which I'm using to do the conversion to isolate problems that might be related to integration with our application. I've also attached a sample file causing the problem.


Hi Nick,

I have worked with the presentation file shared and have been able to observed the issue specified. An issue with ID SLIDESJAVA-33928 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be resolved.

We are sorry for your inconvenience,