GroupDocs.Comparison for .NET source and target file switiching issue

Hi Guys,

I am getting weird exception when I am trying to compare two PDF files:

Stack Trace: 
.( ,  , CompareOptions ,  , List`1 )
.( , CompareOptions , SaveOptions )
Comparer.(Stream , Document , Document , CompareOptions , SaveOptions ,  )
Comparer.Compare(Stream document, SaveOptions saveOptions, CompareOptions compareOptions)
Comparer.Compare(String filePath, CompareOptions compareOptions)

However when I switch source file and target file places comparison works fine.
Should behaviour of comparison should be the same, could you advice please?

We are using GroupDocs.Comparison NuGet package version 23.9.0.

Hello.
@usernamename could you please add files that you’ve tried to compare ? or probably attach a test project so we could more specifically figure out you issue.

Thank you

Hi @anton.samarskyy, thank you for quick response. Unfortunately, I can not attach files we are comparing as those have some sensitive information I am not able to share.

Could you advice please, is there any other way to get more detailed exception, as current one does not include a lot of information. :slightly_smiling_face:

Also, as I mentioned, comparsion works fine, if I switch source and target file paths.

@usernamename

Could you please replicate the problematic files with test information using that issue could be reproduce? We actually need the source files to reproduce and investigate this scenario.