I have a PDF that was created by Aspose.Pdf.Kit for Java 3.7.0 (JDK1.5) and then modifed by iText when I try to get the PDFInfo from the PDF I get the following exception:
I have reproduced this problem at my end and logged it as PDFKITJAVA-26134 in our issue tracking system. Our team will look into this issue and you’ll be updated via this forum thread once it is resolved.
I’m sorry to inform you that this issue is not yet resolved due to the issues already in the queue of our development team. However, I have asked our team to share the ETA of this issue and you’ll be updated via this forum thread as soon as the response is received.
Can I please have an update as to when this bug will be fixed? My application is live and I have clients that are getting this error which is resulting in a backlog of unconverted documents.
I’m pleased to inform you that the fix for this issue will be available in our upcoming release due early July 2011. You’ll be updated via this forum thread as soon as the release is published.
If you find any further questions, please do let us know. Regards,
Thank you for the update it did fix the PDF error I was getting with the attached PDF in question. I have more cases or rather PDF files where this same error is happening. I have attached the PDF files to this post.
Here is the stacktrace I get from trying to add metadata to the attached PDF using the PDF.Kit 3.9.0 for Java.
java.lang.ClassCastException: com.aspose.pdf.kit.nj cannot be cast to com.aspose.pdf.kit.md at com.aspose.pdf.kit.oi.l(Unknown Source) at com.aspose.pdf.kit.oi.a(Unknown Source) at com.aspose.pdf.kit.oi.(Unknown Source) at com.aspose.pdf.kit.oi.(Unknown Source) at com.aspose.pdf.kit.PdfFileInfo.(Unknown Source) at za.co.interfile.easyscan.util.ToPDFConverter.insertMetaData(ToPDFConverter.java:1079)
Thank you very much for sharing the sample with us. I have reproduced this issue at my end and logged it as PDFKITJAVA-29574 in our issue tracking system. Our team will look into this issue and you’ll be updated via this forum thread once it is resolved.
I’m sorry to share with you that this issue is not yet resolved. I have asked our team to share the ETA of this issue. You’ll be updated as soon as the response is received.
I would like to share with you that the fix for this issue will be available in the release due at the end of October 2011. You’ll be notified via this forum thread once it is published.