java.lang.IndexOutOfBoundsException: Index: 0- Size: 0

Hi,

I'm trying to convert an excel document to PDF. When I do I get the following error. The file can be opened with Libreoffice and of course Excel.

We're using aspose-cells.jar (7.4.3)

The error is:
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:604)
at java.util.ArrayList.get(ArrayList.java:382)
at com.aspose.cells.oi.a(Unknown Source)
at com.aspose.cells.oi.a(Unknown Source)
at com.aspose.cells.oi.b(Unknown Source)
at com.aspose.cells.Bd.M(Unknown Source)
at com.aspose.cells.Bd.ag(Unknown Source)
at com.aspose.cells.Bd.a(Unknown Source)
at com.aspose.cells.Bd.a(Unknown Source)
at com.aspose.cells.Bd.b(Unknown Source)
at com.aspose.cells.Workbook.a(Unknown Source)
at com.aspose.cells.Workbook.(Unknown Source)
at AsposeExcelToPdf.main(AsposeExcelToPdf.java:25)

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, we have several other files giving the same error.

Regards
Nick

Hi,

Thanks for your posting and using Aspose.Cells for Java.

We were able to replicate this exception using your file with the latest version. We have logged this issue in our database. We will look into it and resolve this issue. Once the issue is resolved or we have some other update for you, we will let you know asap.

This issue has been logged as CELLSJAVA-40528.

Hi,

Thanks for your posting and using Aspose.Cells for Java.

We have fixed this issue.

Please download and try this fix: Aspose.Cells
for Java v7.5.0.1
and let us know your feedback.