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

Free Support Forum - aspose.com

ArrayIndexOutOfBoundException when reading the workbook


When i am creating the workbook from the input stream wiht the below code snippet :

Workbook book = new Workbook(bis, loadOptions);

I get ArrayIndexOutOfBoundsException. I have attached the file which has the problem.

Could you please help me on this ?



Hi Asha,

Thanks for your posting and using Aspose.Cells.

Please download and use the latest version: Aspose.Cells
for Java v8.2.0.3
. It works fine and does not throw exception while loading your file.

We have tested this issue with the following code and did not encounter any problem and it successfully generated the pdf. I have also attached the output pdf generated by it for your reference.


String filePath = “F:\Shak-Data-RW\Downloads\SampleFile.xlsx”;

Workbook workbook = new Workbook(filePath);

workbook.save(filePath + “.out.pdf”);


Thanks for the reply. Due to security issues on my side i done have access to download the jar. Could you please attach the jar in a mail and send it to me or provide a link which has the zipped jar?




You may get the latest version/fix: Aspose.Cells for Java v8.2.0.3 from the link:

Thank you.