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

Free Support Forum - aspose.com

Issue using Aspose.Cells with CompareNETObjects third party library


We are trying to use Aspose.Cells (version 21.12) with CompareNETObjects (version 4.74). When we run the sample code we get an exception

System.NullReferenceException: Object reference not set to an instance of an object.
at Aspose.Cells.Drawing.FillFormat.Equals(Object obj)
at Aspose.Cells.Drawing.LineFormat.Equals(Object obj)
at System.Collections.Generic.Dictionary2.FindValue(TKey key) at System.Collections.Generic.Dictionary2.ContainsKey(TKey key)
at KellermanSoftware.CompareNetObjects.ComparisonResult.RemoveParent(Object objectReference)

I have attached sample code below.

This use to work in Aspose.Cells 21.10 and prior. Could you please take a look and see if there is a resolution to this issue?

Thank you.


TestCompareLogic.zip (6.0 MB)

We have found an issue about FillFormat.Equals() method.I have logged a ticket with an id “CELLSNET-50133” for your issue. We will fix it soon.

Please try the latest fix 21.12.5.
Aspose.Cells21.12.5 For .Net4.0.Zip (5.6 MB)
Aspose.Cells21.12.5 For .Net2_AuthenticodeSigned.Zip (5.6 MB)
Aspose.Cells21.12.5 For .NetStandard20.Zip (5.6 MB)

The issues you have found earlier (filed as CELLSNET-50133) have been fixed in this update. This message was posted using Bugs notification tool by simon.zhao