Error to generate a PDF Report

I use Aspose.PDF for Java, when I try generate a PDF Report, i have an error and I can’t identify the cause.
Could you help me with this error?

java.lang.NullPointerException
at com.aspose.pdf.internal.l44t.lI.lI(Unknown Source)
at com.aspose.pdf.internal.l44t.lI.lI(Unknown Source)
at com.aspose.pdf.internal.l42t.lc.lc(Unknown Source)
at com.aspose.pdf.internal.l42t.lt.l1n(Unknown Source)
at com.aspose.pdf.internal.l42t.l0l.l6f(Unknown Source)
at com.aspose.pdf.internal.l42t.l0l.lI(Unknown Source)
at com.aspose.pdf.internal.l42t.l0l.lI(Unknown Source)
at com.aspose.pdf.internal.l42t.lk.lI(Unknown Source)
at com.aspose.pdf.internal.l42t.lk.lI(Unknown Source)
at com.aspose.pdf.internal.l42t.l1l.lI(Unknown Source)
at com.aspose.pdf.internal.l42t.l1l.lI(Unknown Source)
at com.aspose.pdf.internal.l42t.l1l.lI(Unknown Source)
at com.aspose.pdf.internal.l42t.l1l.lI(Unknown Source)
at com.aspose.pdf.internal.l42t.l3n.lI(Unknown Source)
at com.aspose.pdf.internal.l42t.lf.lI(Unknown Source)
at com.aspose.pdf.internal.l42t.l3n.lI(Unknown Source)
at com.aspose.pdf.internal.l42t.l3n.lj(Unknown Source)
at com.aspose.pdf.internal.l42t.lf.lI(Unknown Source)
at com.aspose.pdf.internal.l42t.l3n.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.l6y.lI(Unknown Source)
at com.aspose.pdf.HtmlFragment.lI(Unknown Source)
at com.aspose.pdf.FormattedFragment.lI(Unknown Source)
at com.aspose.pdf.l11n.lI(Unknown Source)
at com.aspose.pdf.l11n.le(Unknown Source)
at com.aspose.pdf.Page.lf(Unknown Source)
at com.aspose.pdf.Page.lc(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.lj(Unknown Source)
at com.aspose.pdf.ADocument.lj(Unknown Source)
at com.aspose.pdf.ADocument.lf(Unknown Source)
at com.aspose.pdf.Document.lf(Unknown Source)
at com.aspose.pdf.ADocument.save(Unknown Source)
at com.aspose.pdf.Document.save(Unknown Source)

Thank you!

Gil Quintana.

@jquintana

To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input PDF document.
  • Please create a simple Java application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.

Hii Tahir!!!

My problem is for generate the report in PDF format, the report is built in runtime, we don’t have a previous PDF.

We can’t reproduce this failure in others environments, just in Production Environment.

We going to create this simple Java Application and come back with you.

Thank you!

Gil Quintana.

@jquintana

Thanks for your feedback. Please let us know once the requested resources are ready. We will investigate the issue and provide you information on it.