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

Free Support Forum - aspose.com

Object reference in load of Excel File


I´m using Aspose Cells 16.12.0, loading the attached Excel file an exception of type “Object reference not set to an instance of an object” is throwned

The stack of the exception is:

en . ( ​ )
en . ( ​ )
en .( ​ )
en . ()
en .()
en .( ​ , LoadOptions )
en ​ . (Stream , LoadOptions , Boolean )
en ​ . (String , LoadOptions )
en Aspose.Cells.Workbook…ctor(String file)

Can you help me?




Thanks for the template file and details.

After an initial test, I observed the issue as you mentioned by using your template file with the following sample code. I found an exception: “Object reference not set to an instance of an object” on opening the template XLSX file via Aspose.Cells APIs:
Sample code:

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

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

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

Thank you.

Hi Pablo,

This is to update you that we have resolved the problem logged earlier as CELLSNET-45016. We will shortly share the fix here for your testing.

OK, I´ll be waiting.

Thank you.

Thanks for using Aspose.Cells.

Please download and try the following latest fix

Aspose.Cells for .NET v16.12.4 (.NET 2.0) compiled in .NET Framework 2.0.
Aspose.Cells for .NET v16.12.4 (.NET 4.0) compiled in .NET Framework 4.0.

and let us know your feedback.
OK, Thank you!


Pablo R.

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

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