NullReferenceException while loading the XLS file

Hi,


After running the code below the following Exception is being thrown: java.lang.NullPointerException

Can you please check this out?

Thanks,
Zeljko

Code:
String path = “Test2.xlsx”;

Workbook workbook = new Workbook(path);

Hi,


Thanks for providing us template files.

After an initial test, I observed the issue as you mentioned by loading your template XLS file via Aspose.Cells APIs. I found NullReferenceException while loading the XLS file into Aspose.Cells’ object model.
e.g
Sample code:

String path = “f:\files\nullpointerexception1\Test2.xls”;

Workbook workbook = new Workbook(path);

I have logged a ticket with an id “CELLSJAVA-41861” for your issue. We will look into it to figure it out soon.

Thank you.

Hi,

Thanks for using Aspose.Cells.

We have looked into your source excel file and found it is corrupt when opened in MS-Excel 2013. However, we have fixed this issue CELLSJAVA-41861 now. We will soon provide the fix after performing QA and including other enhancements and fixes.

Hi Zeljko,


Please try this scenario against the latest revision of Aspose.Cells for Java 8.8.2.6 (attached) and let us know your feedback.

The issues you have found earlier (filed as CELLSJAVA-41861) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.