Landray RDM EKP-461 Convert Effect

pdf source code:
src.zip (4.4 KB)

origin pdf:
5c27acb5f8f147d1ba4b708bd71cc294).pdf.zip (2.3 MB)

converted problem:
Caused by:java.lang.NullPointerException com.aspose.pdf.internal.l2n.l1v.(Unknown Source) com.aspose.pdf.internal.l7y.lf.lf(Unknown Source) com.aspose.pdf.internal.l2n.l1v.lt(Unknown Source) com.aspose.pdf.internal.l2n.l1if.lf(Unknown Source) com.aspose.pdf.internal.l2n.l1if.lf(Unknown Source) com.aspose.pdf.internal.l3n.lI.(Unknown Source) com.aspose.pdf.internal.l7y.lf.lI(Unknown Source) com.aspose.pdf.internal.l2n.l1v.lf(Unknown Source) com.aspose.pdf.Page.(Unknown Source) com.aspose.pdf.PageCollection.getUnrestricted(Unknown Source) com.aspose.pdf.PageCollection.lf(Unknown Source) com.aspose.pdf.PageCollection.get_Item(Unknown Source)

Please have a check.

@hucq_landray_com_cn

Have you tried using 23.6 version of the API as we tested using this version in our environment and were unable to notice any issues. Please try using the latest available version and let us know in case you still notice any issues.

I have tried using 23.6 version and occured this problem by jdk1.8.

@hucq_landray_com_cn

We again tested the scenario and found out that if we remove pdf.setBackground(Color.white); line in PdfDemo.java:26, the exception won’t occur.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFJAVA-42993

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.