Hi,
Mariusz
Hi,
Hi Mariusz,
com.aspose.pdf.facades.PdfFileInfo
info = new
com.aspose.pdf.facades.PdfFileInfo();<o:p></o:p>
info.bindPdf("c:/pdftest/PDF+1.6.pdf");
System.out.println(info.getNumberOfPages());
I’ve just tested v10.6.1 on Mac with Java 1.8 and it still hangs.
I can confirm it works correctly on Windows, but not on Mac, so I guess on Linux there is the same issue. Can you confirm whether it works on Linux?
It looks like it runs fine on Tomcat, but when I run it from Eclipse on Jetty it hangs.
Hi Mariusz,
Thanks for sharing the details.
I have tested the scenario using Aspose.Pdf for Java 10.6.1 in console application running over MAC OS X 10.1.0 (Yosemite) where I have JDK 1.8.0_60 configured and I am unable to notice any issue when trying to get page count information of earlier shared document. I have also attached an image showing my code snippet and console output.
Can you please confirm if you are only getting the issue when using code in Jetty or its also appearing in console application. We are sorry for this inconvenience.