Free Support Forum - groupdocs.com

Crash without errormessage in Compare

Seeing the changes from Source file to Target file gives an a crash.
New Compressed (zipped) Folder.zip (3.4 MB)
GroupDocs.Comparison version is 20.10.0

Code for repro with settings:
private static CompareOptions CompareOptions => new CompareOptions
{
DetectStyleChanges = false,
GenerateSummaryPage = false
};

    public (Stream stream, SupportedFormat format) Compare([NotNull] NamedFileDataStream oldestDoc, [NotNull] NamedFileDataStream newestDoc)
    {
        using (var comparisonService = new Comparer(oldestDoc.DataStream))
        {
            comparisonService.Add(newestDoc.DataStream);
            Stream result = new MemoryStream();
            comparisonService.Compare(result, CompareOptions);
            return (stream: result, format: SupportedFormat.Docx);
        }
    }

Also reproducable with your online tool (https://products.groupdocs.app/comparison/total)

@lars.olsson

This issue is reproduced at our end. Hence, we’ve logged it in our internal issue tracking system with ID COMPARISONNET-2513. You’ll be notified in case of any update.

@lars.olsson

Your reported issue is now fixed in API version 20.11.

1 Like