Compare document fails

Dear Sir or Madam,

Please find attached the 2 documents, an exception is thrown than d0.Compare(d1) is called.

Regards,
Alex
CompareReports.zip (83.3 KB)

@AlexanderNovickov

  • What specific exception is being thrown when d0.Compare(d1) is called?
  • Are the documents you’re comparing in the same format (e.g., both DOCX, PDF, etc.), and do they contain any special content like tracked changes or embedded objects?
  • Which version of Aspose.Compare are you using, and in what environment (e.g., .NET, Java, etc.) is the code running?
  • Can you share a minimal code snippet that reproduces the issue, including how d0 and d1 are loaded?

NullReference
yes
.Net, 24.11.1
Shared

@AlexanderNovickov

The user mentioned a NullReferenceException during document comparison but did not provide the code snippet showing how the documents are loaded or instantiated. It is also unclear if the documents (d0, d1) are properly initialized before calling Compare. Additional context such as file formats and whether the issue occurs with all documents or only specific ones is missing.

Code snippet is provided.

@AlexanderNovickov In the provided archive there is only one document. Could you please attach the second document too? We will check the issue and provide you more information.

Sorry, attaching both just in case.
d0.docx (275.6 KB)

d1.docx (289.2 KB)

@AlexanderNovickov
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): WORDSNET-28978

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.