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

Free Support Forum - aspose.com

Exception while converting PDF to PNG/JPG using Aspose.Pdf for Java 4.4.0 libs

Get an exception on this specific PDF document while conversion.


class com.aspose.ms.System.d: Corrupt content.
com.aspose.pdf.a.c.d.b.c.f.a(Unknown Source)
com.aspose.pdf.a.c.d.b.c.f.a(Unknown Source)
com.aspose.pdf.bf.a(Unknown Source)
com.aspose.pdf.ImageDevice.a(Unknown Source)
com.aspose.pdf.PngDevice.processInternal(Unknown Source)
com.aspose.pdf.facades.PdfConverter.getNextImage(Unknown Source)
com.aspose.pdf.facades.PdfConverter.getNextImage(Unknown Source)
com.aspose.pdf.facades.PdfConverter.getNextImage(Unknown Source)
com..PDFToPNGConverter.convert(PDFToPNGConverter.java:100)
com..ConversionTask.call(CXXXTask.java:49)
com..ConversionTask.call(CXXXTask.java:16)
java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
java.util.concurrent.FutureTask.run(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
at com.aspose.pdf.a.c.d.b.c.f.a(Unknown Source)
at com.aspose.pdf.a.c.d.b.c.f.a(Unknown Source)
at com.aspose.pdf.bf.a(Unknown Source)
at com.aspose.pdf.ImageDevice.a(Unknown Source)
at com.aspose.pdf.PngDevice.processInternal(Unknown Source)
at com.aspose.pdf.facades.PdfConverter.getNextImage(Unknown Source)
at com.aspose.pdf.facades.PdfConverter.getNextImage(Unknown Source)
at com.aspose.pdf.facades.PdfConverter.getNextImage(Unknown Source)
at com..*.PDFToPNGConverter.convert(PDFToPNGConverter.java:100)
at com..ConversionTask.call(CXXXTask.java:49)
at com..ConversionTask.call(CXXXTask.java:16)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Hi Umesh,


Thanks for your inquiry. I am afraid I am unable to notice the issue while testing the scenario with Aspose.Pdf for Java 4.5.0 over Windows 7 64 bit and JDK 1.7. Can you please share your environment details? So we try to replicate the issue and suggest you accordingly.

We are sorry for the inconvenience caused.

Best Regards,

Well I’m using Aspose.Pdf for Java 4.4.0 over Windows 7 64 bit and JDK 1.6.


Thanks
ung

Looks like this is the same issue that was reported earlier


PDFNEWJAVA-33813

Hi Umesh,


Thanks for sharing addition information. We have tested the scenario and found that the exception is being raised at conversion of page 12. We have linked your issue to PDFNEWJAVA-33813 and requested our development team to share an ETA at there earliest. We will update you via this forum thread as soon as we get a feedback.

We are sorry for the inconvenience caused.

Best Regards,
Thanks please do let us know. This happens even in Aspose.Pdf for Java 4.5.0 lib

Hi Umesh,


Thanks for your feedback. Sure, we will keep you updated about the issue resolution progress via this forum thread.

Thanks for your patience and cooperation.

Best Regards,

The issues you have found earlier (filed as PDFNEWJAVA-33813) have been fixed in Aspose.Pdf for Java 9.3.0.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.