Exception while file was opening

Hi,


I tried to open document by Aspose.Cells, but an exception was occurred.
Workbook wb = new Workbook(fName);

Excel 2010 can open this document.

I use Aspose.Cells v7.2.0.0.

Thanks,
Alex Shloma

Hi,

Thanks for your posting and using Aspose.Cells for .NET

I was able to replicate the exception using the latest version:
Aspose.Cells
for .NET v7.2.0.5



Please see the code and exception below for a reference

We have logged this issue in our database. Development team will look into this issue and fix the problems.

Once the issue is fixed or we have some other update relating to it, we will let you know asap.


This issue has been logged as CELLSNET-40653


C#


string filePath = @“F:\54920288EC9.xls”;


Workbook wb = new Workbook(filePath);


Exception:
System.NullReferenceException was unhandled
Message=“Object reference not set to an instance of an object.”
Source=“Aspose.Cells”
StackTrace:
at ’’..(Cell , Int32 )
at ‰..š(ˆ )
at ‰..š(ˆ )
at ‰..š(ˆ )
at ‰..€š(MemoryStream )
at ‰..š( )
at ‰..Read( )
at Aspose.Cells.Workbook.Ÿ(String , LoadOptions )
at Aspose.Cells.Workbook…ctor(String file)

Hi

We have fixed this issue.

Please download and try the fix: Aspose.Cells for .NET v7.2.0.7

All works good!


Thanks a lot!

Best regards,
Alex Shloma

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


This message was posted using Notification2Forum from Downloads module by aspose.notifier.