Docx comparison returns null in Java

Below is my code : I am using 19.10 version in my pom file. The new 20.4 version is not resolving the Comparer . so i am using 19.10.
Comparer comparer = new Comparer();
ICompareResult result = comparer.compare(sourceInputStream, targetInputStream, new ComparisonSettings());
result.saveDocument(“C:/Users/bxxxx/result.docx”);
The result is throwing null.

@bselvam

We’d recommend you to migrate to version 20.4. Please have a look at the migration notes. Secondly, we have an open-source example project available at GitHub for your ease. You can simply download or clone this project and evaluate API features. Let us know if there’s any issue.

@atirtahir3 : thank you for your response .

@bselvam

You are welcome.