PDF to PDF/A Conversion: ApplicationException

Hello!

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);
document.convert(options);

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!

@dvtdaten

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?

@dvtdaten

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.

Hello!

I tested again using Aspose.PDF for Java 25.5.
When I convert to PDF/A-2, everything is fine.
But if I convert to PDF/A-1, now this error occours:

class com.aspose.pdf.internal.l59p.l0k: Exception of type System.Exception was thrown.
com.aspose.pdf.internal.l59p.l1t.ld(Unknown Source)
com.aspose.pdf.internal.l59p.l1t.lI(Unknown Source)
com.aspose.pdf.internal.l59p.l1t.lI(Unknown Source)
com.aspose.pdf.internal.l9f.l1h.lI(Unknown Source)
com.aspose.pdf.internal.l9f.l1h.lI(Unknown Source)
com.aspose.pdf.internal.l9f.l1h.l5h(Unknown Source)
com.aspose.pdf.internal.l9f.l1h.l3h(Unknown Source)
com.aspose.pdf.internal.l9k.l1l.l5v(Unknown Source)
com.aspose.pdf.internal.l9k.l0f.lI(Unknown Source)
com.aspose.pdf.ADocument.lI(Unknown Source)
com.aspose.pdf.ADocument.convert(Unknown Source)
com.aspose.pdf.Document.convert(Unknown Source)

@dvtdaten

Thanks for letting us know about it. The ticket is still not resolved and as soon as it is, we will inform you via this forum thread. Please spare us some time.

We are sorry for the inconvenience.