Fail to open file (#1661)

Hi,
I have failed to open excel file using aspose.cells 17.11.0 for java. Can you help me with this?

String path = "mizaniya-2013.xls";
Workbook workbook = new Workbook(path);

mizaniya-2013.xls.zip (694.3 KB)

Regards,
Zeljko

@Zeljko

Thanks for using Aspose APIs.

We were able to observe this issue as per your description and found the exception as shown below while opening your provided Excel file. We have logged it in our database for investigation and for a fix. Once, we will have some news for you, we will update you asap.

This issue has been logged as

  • CELLSJAVA-42608 - ArrayIndexOutOfBoundsException occurs on opening Excel file

Java

Workbook wb = new Workbook(dirPath + "mizaniya-2013.xls");

Exception:

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 8224
at com.aspose.cells.b.a.zc.a(Unknown Source)
at com.aspose.cells.b.a.zc.b(Unknown Source)
at com.aspose.cells.zcbx.i(Unknown Source)
at com.aspose.cells.zcbx.O(Unknown Source)
at com.aspose.cells.zcbx.ak(Unknown Source)
at com.aspose.cells.zcbx.a(Unknown Source)
at com.aspose.cells.zcbx.c(Unknown Source)
at com.aspose.cells.zcbx.b(Unknown Source)
at com.aspose.cells.Workbook.a(Unknown Source)
at com.aspose.cells.Workbook.<init>(Unknown Source)
at ClsAsposeCells.f1(ClsAsposeCells.java:31)
at ClsAsposeCells.main(ClsAsposeCells.java:14)

@Zeljko

Thanks for using Aspose APIs.

This is to inform you that we have fixed your issue CELLSJAVA-42608 now. We will soon provide the fix after performing QA and including other enhancements and fixes.

The issues you have found earlier (filed as CELLSJAVA-42608) have been fixed in Aspose.Cells for Java 18.5. Please also see the document for your reference: Installation|Documentation