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