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

Free Support Forum - aspose.com

Please throw CellsException when a file contains MS Graph charts

We have a number of customer Excel files that contain Microsoft Graph charts and attempting to open them with Aspose.Cells causes a null reference exception:

System.NullReferenceException : Object reference not set to an instance of an object.
at ‰..š(ˆ ) at ‰..ž(ˆ ) at ‰..€š(MemoryStream ) at ‰..š( ) at Aspose.Cells.Workbook.Ÿ(Stream , LoadOptions , Boolean )

I understand that these are not supported (and attempting to open them in Excel displays the “Cannot open Microsoft Graph chart gallery files” message), but I would like to request an enhancement to have Aspose.Cells throw a CellsException with Code=ExceptionType.UnsupportedFeature rather than a null ref exception. An example file is attached.


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

We have logged your issue in our database. We will look into it and throw the exception as per your posting. Once, the issue is resolved or we have some other update for you, we will let you know asap.

This issue has been logged as CELLSNET-41608.


Please try our latest fix/version: Aspose.Cells for .NET v7.4.3.1

We have fixed your issue now.

Let us know your feedback.


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

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