HTML to PDF in Java with Aspose.PDF - java.lang.ArrayIndexOutOfBoundsException exception occurs

Hi Aspose support,
We are using the licensed Aspose 20.1 in JAVA.
When converting HTML files to PDF, we receive the following exception:

java.lang.ArrayIndexOutOfBoundsException: -1
at com.aspose.pdf.internal.l38u.le.lf(Unknown Source)
at com.aspose.pdf.internal.l38u.le.lI(Unknown Source)
at com.aspose.pdf.internal.l38u.le.lI(Unknown Source)
at com.aspose.pdf.internal.l38u.le.lI(Unknown Source)
at com.aspose.pdf.internal.l38u.le.lI(Unknown Source)
at com.aspose.pdf.internal.l38u.le.lI(Unknown Source)
at com.aspose.pdf.internal.l38u.lt.lI(Unknown Source)
at com.aspose.pdf.internal.l38u.lt.lj(Unknown Source)
at com.aspose.pdf.internal.l38u.lj.lI(Unknown Source)
at com.aspose.pdf.internal.l38u.lj.lI(Unknown Source)
at com.aspose.pdf.internal.l42t.l4if.l2n(Unknown Source)
at com.aspose.pdf.internal.l38v.lb.lf(Unknown Source)
at com.aspose.pdf.internal.l39n.lk.l0p(Unknown Source)
at com.aspose.pdf.internal.l39t.lf.lI(Unknown Source)
at com.aspose.pdf.internal.l39t.lf.lI(Unknown Source)
at com.aspose.pdf.internal.l39t.lf.lI(Unknown Source)
at com.aspose.pdf.internal.l38l.lj.lI(Unknown Source)
at com.aspose.pdf.internal.l38t.lI.lI(Unknown Source)
at com.aspose.pdf.internal.l47if.lI.lI(Unknown Source)
at com.aspose.pdf.internal.l38k.lt.lI(Unknown Source)
at com.aspose.pdf.internal.l38k.lf.lj(Unknown Source)
at com.aspose.pdf.internal.html.collections.lf.lj(Unknown Source)
at com.aspose.pdf.internal.html.collections.lf.hasNext(Unknown Source)
at com.aspose.pdf.internal.l47if.lI.lI(Unknown Source)
at com.aspose.pdf.internal.html.rendering.HtmlRenderer.render(Unknown Source)
at com.aspose.pdf.internal.html.rendering.HtmlRenderer.render(Unknown Source)
at com.aspose.pdf.internal.html.rendering.Renderer.render(Unknown Source)
at com.aspose.pdf.internal.html.rendering.Renderer.render(Unknown Source)
at com.aspose.pdf.l6n.lI(Unknown Source)
at com.aspose.pdf.l6n.lI(Unknown Source)
at com.aspose.pdf.ADocument.lI(Unknown Source)
at com.aspose.pdf.ADocument.(Unknown Source)
at com.aspose.pdf.Document.(Unknown Source)
at Html2PdfConverter.convert(Html2PdfConverter.java:21)
at Html2PdfConverter.main(Html2PdfConverter.java:13)

The code and the HTML files are attached.
Is there a fix for this?

Thank you.

Html2PdfConverter.zip (113.3 KB)

@chenM

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

We are sorry for the inconvenience.

Hi,
@asad.ali
Do you have estimation when the bug will be fixed?

Thank you.

@chenM

The issue has been logged under normal support model where issues have low priority and are resolved on first come first serve basis. We regret to share that your issue is not yet resolved and we are not in a position to share any reliable ETA at the moment. However, we will surely inform you as soon as we have some certain updates in this regard. Please spare us some time.

We are sorry for the inconvenience.