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

Free Support Forum - aspose.com

PDF to PDF/A Conversion: ApplicationException


Using Aspose.PDF for Java 21.1 I convert the attached pdf-document to PDF/A.
Regelblatt.pdf (62.1 KB)

Document document = new Document(new ByteArrayInputStream(this.sourceContent));
PdfFormatConversionOptions options = new PdfFormatConversionOptions(PdfFormat.PDF_A_1A, ConvertErrorAction.Delete);

The conversion leads to an Exception:

com.aspose.pdf.internal.l50if.l0v: ApplicationException
at com.aspose.pdf.internal.l10y.ld.ld(Unknown Source) ~[aspose-pdf-21.1.jar:21.1]
at com.aspose.pdf.internal.l10y.ld.lI(Unknown Source) ~[aspose-pdf-21.1.jar:21.1]
at com.aspose.pdf.internal.l10y.ld.lI(Unknown Source) ~[aspose-pdf-21.1.jar:21.1]
at com.aspose.pdf.internal.l8k.ly.lj(Unknown Source) ~[aspose-pdf-21.1.jar:21.1]
at com.aspose.pdf.internal.l8k.l0if.l0t(Unknown Source) ~[aspose-pdf-21.1.jar:21.1]
at com.aspose.pdf.internal.l8k.ly.lI(Unknown Source) ~[aspose-pdf-21.1.jar:21.1]
at com.aspose.pdf.ADocument.lI(Unknown Source) ~[aspose-pdf-21.1.jar:21.1]
at com.aspose.pdf.ADocument.convert(Unknown Source) ~[aspose-pdf-21.1.jar:21.1]
at com.aspose.pdf.Document.convert(Unknown Source) ~[aspose-pdf-21.1.jar:21.1]

Please have a look at this problem, kind regards!


We were able to reproduce the issue in our environment and have logged it as PDFJAVA-40133 in our issue tracking system. We will further look into its details and keep you posted with the status of its correction. Please be patient and spare us some time.

We are sorry for the inconvenience.

Hello, do you have any news on this case?


Regretfully, the earlier logged ticket is not yet resolved. We will surely investigate and resolve it on first come first serve basis and let you know as soon as we have some definite updates regarding its resolution. Please give us some time.

We are sorry for the inconvenience.