Not able to read Excel file(getting null pointer error)

We are getting null pointer exceptions while parsing the particular EXCEL file.

Attached Excel file along with this forum .

We are using lightCells to parse the EXcel file :-

lightCells = LightCells.getInstance(fileInputStream, FileFormatType.EXCEL2003);

Please advice us.


Thank you for considering Aspose.

Well, your provided template file is not in Excel2003 file format (Its in MS Excel 95 File format). You have to resave the template file as Excel2003 file format (by simply opening & saving it with format type Excel 2003 using Ms Excel)and then handle the resaved file using LightCells.

Please do let us know if you still face any issue.

Thank You & Best Regards,