Convert PDF to Doc using Aspose.PDF for Java - Comparison method violates its general contract

Hi,
This has been recorded before but I am using 19.12 & have tried 20.1 but the error persists.

simple code: -
public void test() {
License license = new License();
try {
license.setLicense(“c:/temp/Aspose.Total.Java.lic”);
Document document = new Document(“c:/temp/ForAspose.pdf”);
DocSaveOptions saveOption = new DocSaveOptions();
saveOption.setMode(DocSaveOptions.RecognitionMode.Textbox);
saveOption.setRelativeHorizontalProximity(2.5f);
saveOption.setRecognizeBullets(true);
saveOption.setFormat(DocSaveOptions.DocFormat.DocX);
document.save(“c:/temp/doesit.docx”, saveOption);
document.close();ForAspose.pdf (458.0 KB)

	} catch (Exception e) {
		// TODO Auto-generated catch block
		e.printStackTrace();
	}	
}

I have attached the pdf file.
Assume you can satisfy the license file

Thanks
Jan

ForAspose.pdf (458.0 KB)

@JanUrbanski,

Thanks for contacting support.

I have tested the scenario and and I have logged investigation ticket with ID as PDFJAVA-39184 in our issue tracking system. We will further look into the details of this problem and will keep you updated on the status of correction. Please be patient and spare us little time. We are sorry for this inconvenience.

Is this issue resolved?

@aweech

We regret to inform that the ticket could not be resolved yet. We have updated its priority to escalate this and will let you know once its rectified. We apologize for the inconvenience.