Getting an error reading an html String to a Document object using PDF for Java

java.lang.NegativeArraySizeException: -272646824
at com.aspose.pdf.internal.l31u.l1f.lI(Unknown Source)
at com.aspose.pdf.internal.l31u.l1f.lI(Unknown Source)
at com.aspose.pdf.internal.l45y.lb.lj(Unknown Source)
at com.aspose.pdf.internal.l45n.lj.lI(Unknown Source)
at com.aspose.pdf.internal.l45y.lj$lI.lI(Unknown Source)
at com.aspose.pdf.internal.l45y.lj.lI(Unknown Source)
at com.aspose.pdf.internal.l48v.lI.lI(Unknown Source)
at com.aspose.pdf.internal.l48v.lI.lI(Unknown Source)
at com.aspose.pdf.internal.l46t.lc.lc(Unknown Source)
at com.aspose.pdf.internal.l46t.lt.l1n(Unknown Source)
at com.aspose.pdf.internal.l46t.l0l.l6f(Unknown Source)
at com.aspose.pdf.internal.l46t.l0l.l6f(Unknown Source)
at com.aspose.pdf.internal.l46t.l0l.l6f(Unknown Source)
at com.aspose.pdf.internal.l46t.l0l.l6f(Unknown Source)
at com.aspose.pdf.internal.l46t.l0l.l6f(Unknown Source)
at com.aspose.pdf.internal.l46t.l0l.lI(Unknown Source)
at com.aspose.pdf.internal.l46t.l0l.lI(Unknown Source)
at com.aspose.pdf.internal.l46t.lk.lI(Unknown Source)
at com.aspose.pdf.internal.l46t.lk.lI(Unknown Source)
at com.aspose.pdf.internal.l46t.l1l.lI(Unknown Source)
at com.aspose.pdf.internal.l46t.l1l.lI(Unknown Source)
at com.aspose.pdf.internal.l46t.l1l.lI(Unknown Source)
at com.aspose.pdf.internal.l46t.l1l.lI(Unknown Source)
at com.aspose.pdf.internal.l46t.l3n.lI(Unknown Source)
at com.aspose.pdf.internal.l46t.lf.lI(Unknown Source)
at com.aspose.pdf.internal.l46t.l3n.lI(Unknown Source)
at com.aspose.pdf.internal.l46t.l3n.lj(Unknown Source)
at com.aspose.pdf.internal.l46t.lf.lI(Unknown Source)
at com.aspose.pdf.internal.l46t.l3n.lI(Unknown Source)
at com.aspose.pdf.internal.l46t.l4if.l2n(Unknown Source)
at com.aspose.pdf.internal.l42t.lb.lf(Unknown Source)
at com.aspose.pdf.internal.l43n.lk.l0p(Unknown Source)
at com.aspose.pdf.internal.l43t.lf.lI(Unknown Source)
at com.aspose.pdf.internal.l43t.lf.lI(Unknown Source)
at com.aspose.pdf.internal.l43t.lf.lI(Unknown Source)
at com.aspose.pdf.internal.l42if.lj.lI(Unknown Source)
at com.aspose.pdf.internal.l42l.lI.lI(Unknown Source)
at com.aspose.pdf.internal.l50f.lI.lI(Unknown Source)
at com.aspose.pdf.internal.l42k.lt.lI(Unknown Source)
at com.aspose.pdf.internal.l42k.lf.lj(Unknown Source)
at com.aspose.pdf.internal.html.collections.lj.lj(Unknown Source)
at com.aspose.pdf.internal.html.collections.lj.hasNext(Unknown Source)
at com.aspose.pdf.internal.l50f.lI.lI(Unknown Source)
at com.aspose.pdf.internal.html.rendering.l0if.lI(Unknown Source)
at com.aspose.pdf.internal.html.rendering.l0if.lI(Unknown Source)
at com.aspose.pdf.internal.html.rendering.l1t.lI(Unknown Source)
at com.aspose.pdf.internal.html.rendering.l1t.lI(Unknown Source)
at com.aspose.pdf.l8if.lI(Unknown Source)
at com.aspose.pdf.HtmlFragment.lI(Unknown Source)
at com.aspose.pdf.FormattedFragment.lI(Unknown Source)
at com.aspose.pdf.l13t.lI(Unknown Source)
at com.aspose.pdf.l13t.le(Unknown Source)
at com.aspose.pdf.Page.lf(Unknown Source)
at com.aspose.pdf.Page.ly(Unknown Source)
at com.aspose.pdf.ADocument.processParagraphs(Unknown Source)
at com.aspose.pdf.Document.processParagraphs(Unknown Source)
at com.aspose.pdf.ADocument.lf(Unknown Source)
at com.aspose.pdf.ADocument.lf(Unknown Source)
at com.aspose.pdf.ADocument.save(Unknown Source)
at com.aspose.pdf.Document.save(Unknown Source)

@kkwangeun

Can you please share the HTML string with us as well so that we can also test the scenario in our environment and address it accordingly. Also, please make sure to test the case with 23.11 version of the API before sharing the requested information.