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

Free Support Forum - aspose.com

Error: Object reference not set to an instance of an object

I’m getting this error for the attached file: Object reference not set to an instance of an object.

Workbook workbook = new Workbook(“Example.xlsx”);

Aspose Version: Aspose.Cells_8.5.2


Thanks for the template file and sample code.

After an initial test, I observed the issue as you mentioned. I found the exception: “Object reference not set to an instance of an object” on opening the template XLSX file provided by you.
Sample code:

Workbook workbook = new Workbook(“e:\test2\Example.xlsx”);

I have logged a ticket with an id “CELLSNET-43918” for your issue. We will look into it soon.

Once we have any update on it, we will let you know here.

Thank you.


Thanks for using Aspose.Cells.

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


Please try our latest version/fix: Aspose.Cells for .NET (Latest Version)

We have fixed your issue logged as “CELLSNET-43918” now.

Let us know your feedback.

Thank you.

The error appears to be fixed, thanks!

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

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