Free Support Forum -

System.StackOverflownException when comparing PDFs with images .NET

Dear All,

We are facing exception when comparing pdf files with embedded images (which cannot be selected).

The exception: (without any internal message):
System.StackOverflowException: ‘Exception of type ‘System.StackOverflowException’ was thrown.’
Process is terminating due to StackOverflownException.

It is occuring during absorbing components of source/target document.

Could you please advise ?
I use GroupDocs.Comparison 20.2.0

Target file:

SourceFile.pdf (249.2 KB)

Many thanks,

1 Like


This issue is reproduced at our end. Hence, we’ve logged it in our internal issue tracking system with ID COMPARISONNET-2211 and investigating it. As there is any further update, you’ll be notified.

Hello @atirtahir3.

Is there any update on this defect ?
When can we expect to have a fix that solves the problem ?


Thanks for your inquiry. Please note your above reported issue is resolved and its fix will be included in upcoming release GroupDocs.Comparision 20.3. Hopefully it will be available in this week. However, we will notify you as soon as it’s published and gets available for download.


We are pleased to inform you that your reported issue is now fixed in API version 20.3. That is available for download here.