Document comparison crashes when comparing documents with table

Hello!

We have two versions of a document which contains a table. When comparing the versions of the document, the comparison crashes.
112.docx (13.8 KB)
212.docx (13.8 KB)

Comparing the documents produces the following exception:

HResult=0x80131600
Message=Error occurred while converting document.
Source=GroupDocs.Comparison
StackTrace:
 at .(List`1 , CompareOptions ,  ,  , Int32 )
 at e.(Int32 )
 at e.()
 at e.GetChanges(GetChangeOptions )
 at e.()
 at e.SaveDocument(Stream , Document , Document , SaveOptions )
 at GroupDocs.Comparison.Comparer.(Stream , SaveOptions )
 at GroupDocs.Comparison.Comparer.Compare(Stream stream, SaveOptions saveOptions, CompareOptions compareOptions)
 at GroupDocs.Comparison.Comparer.Compare(String filePath)

This code was run with GroupDocs.Comparison 26.9.0 in a .NET 10 console application on a Windows 11 machine:

using var comparer = new Comparer(loadPath1);
comparer.Add(loadPath2);
comparer.Compare(outputPath);

hi @lars.olsson,
Thank you for contacting us and for providing the sample documents.

We were able to reproduce the reported error on our side and are currently investigating it. The fix is tentatively planned for GroupDocs.Comparison 26.10, and we will let you know once it is available.

Also, since you have been using GroupDocs.Comparison for quite a long time, we would be glad to hear your feedback. If there is anything you would like to see improved or added based on your experience with the product, please feel free to share it with us.

Please let us know if you have any other questions or concerns.

1 Like