Document comparison crashes when resulat is saved to a Memorystream

Hello!

We updated GroupDocs Comparison from version 24.1 to version 24.2. After the update we get an exception when comparing documents.

To reproduce, run the following code:

using var comparer = new Comparer(doc1);
comparer.Add(doc2);
using var outputStream = new MemoryStream();
comparer.Compare(outputStream);

doc1 and doc2 to can be any Word file and can be either provided as a stream or with a file path. This piece of code works fine with GroupDocs.Comparison 24.1, but causes a System.NullReferenceException when run in with 24.2. If the outputStream is replaced with a FileStream or a filepath, the document comparison works.

The code was run in a .NET 6 console app on a Windows 11 machine.

1 Like

@lars.olsson
This issue is reproduced at our end. We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): COMPARISONNET-3914

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

The issues you have found earlier (filed as COMPARISONNET-3914) have been fixed in this update. This message was posted using Bugs notification tool by atir.tahir