PDF to PNG Error: class com.aspose.ms.System.d: Corrupt content

I get the exception below while converting a PDF file to PNG. It a large about 65 pages, but has some images embedded. I’m using aspose-pdf-4.2.0.jar + aspose-pdf-kit-4.7.0.jar

Is there a fix or a workaround for problem though it says its ‘Corrupt content’, it is not so. The original PDF document opens fine and visible through a PDF reader.

class com.aspose.ms.System.d: Corrupt content.
com.aspose.pdf.a.b.d.b.c.f.a(Unknown Source)
com.aspose.pdf.a.b.d.b.c.f.a(Unknown Source)
com.aspose.pdf.Z.a(Unknown Source)
com.aspose.pdf.ImageDevice.a(Unknown Source)
com.aspose.pdf.PngDevice.processInternal(Unknown Source)
com.aspose.pdf.PngDevice.process(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.xx.xx…xx.PDFToPNGConverter.convert(PDFToPNGConverter.java:97)
com.xx.xx.Task.call(ConversionTask.java:49)
com.xx.xx…ConversionTask.call(ConversionTask.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.b.d.b.c.f.a(Unknown Source)
at com.aspose.pdf.a.b.d.b.c.f.a(Unknown Source)
at com.aspose.pdf.Z.a(Unknown Source)
at com.aspose.pdf.ImageDevice.a(Unknown Source)
at com.aspose.pdf.PngDevice.processInternal(Unknown Source)
at com.aspose.pdf.PngDevice.process(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)

Hi Umesh,


Thanks for your inquiry. Can you please provide your sample document here? So we will investigate the issue and will provide you more information accordingly.

We are sorry for the inconvenience caused.

Best Regards,

Tilal, We may not be able to provide you with a sample document as the document that had problem is confidential and cannot be released out.

However , tis a document created on Word, then saved as a pdf. Has many images embedded. Hope this helps.

Thanks

ung

Tilal,


I have another document with similar problem. I have attached the same for your tests. Hope this helps.

Thanks
ung

HI Umesh,


Thanks for providing source file. While testing the scenario with Aspose.Pdf for Java 4.3, we've managed to reproduce the reported PDF to PNG conversion issue on our side and logged it in our bug tracking system for further investigation and resolution, the issue ID is PDFNEWJAVA-33813. We've also linked your request to this issue and you will be notified via this forum thread as soon as it is resolved.


Please feel free to contact us for any further assistance.

Best Regards,

Tilal,

I don’t see this issue resolved in the Aspose.PDF 9.0 version. Any time line as to when this is going to be resolved?

Thanks
ung

Hi Umesh,


Thanks for your patience.

The development team has been busy resolving
other priority issues and I am afraid the issue reported earlier is not yet
resolved. Nevertheless, I have requested the team to share the ETA regarding
its resolution. As soon as we have some definite updates regarding its
resolution, we would be more than happy to update you with the status of correction.
Please be patient and spare us little more time.<o:p></o:p>

We are really sorry for this inconvenience.

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.
(1)