Hi,
I am using the attached XLSB file to create a workbook object from it to write some data. Aspose throws below exception while creating workbook object.
I am not understanding what is wrong with this XLSB file. I am able to open this file and edit this properly in Excel application.
java.lang.ArrayIndexOutOfBoundsException: 5
at com.aspose.cells.zbpt.i(Unknown Source)
at com.aspose.cells.zbpt.a(Unknown Source)
at com.aspose.cells.zbpy.b(Unknown Source)
at com.aspose.cells.zbpy.b(Unknown Source)
at com.aspose.cells.zbpy.a(Unknown Source)
at com.aspose.cells.zbpy.a(Unknown Source)
at com.aspose.cells.Workbook.a(Unknown Source)
at com.aspose.cells.Workbook.a(Unknown Source)
at com.aspose.cells.Workbook.(Unknown Source)
at Demo2.main(Demo2.java:157)
Here is the sample code to reproduce the issue:
-----------------------------------------------------------------------------------
try
{
Workbook workbook=
new Workbook(“D:/reports/in/BU_Weekly_Rpt_05_25_11.xlsb”);
System.out.println(“Done”);
}
catch(Exception e)
{
e.printStackTrace();
}
Can you please check this and provide a solution or reason why we are facing this issue.
Regards
Chandra