We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Convert pdf to jpeg,found deadlock,why?

every thread i new the pdf Document Object like as follow:

com.aspose.pdf.Document pdfDocument = new com.aspose.pdf.Document(fis);

but deadlock still occurs,why?

image.png (31.1 KB)

jvm thread stacks as follow:
image.png (47.4 KB)

image.png (21.7 KB)

JDK VERSION:1.8_162
ASPOSE-PDF VERSION: 11.8.0

@yuweiming314

Thanks for your inquiry.

I am afraid that you are using quite old version of the API and it is always recommended to use latest version as it contains more fixes and improvements. Would you please try your scenario using Aspose.PDF for Java 18.11 and in case you still face any issue, please share a sample console application with us. We will test the scenario in our environment and address it accordingly.