Free Support Forum - aspose.com

HTML with Handlebars to PDF(Presales)


#1

Hello!

I’m trying to convert a page which is working with handlebars to PDF. Can your product render these kind of html and convert the DOM content to PDF?

I’m doing this and getting the following error:

java.lang.NullPointerException: null
at com.aspose.html.internal.p191.z1.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z12.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z15.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z12.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z12.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z10$z1.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z2.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z2.m3(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z2.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z10.m5(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z10.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z10.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z12.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z15.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z12.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z12.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z15.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z10.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z10.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z12.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z15.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z12.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z12.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z15.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z10.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z10.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z12.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z15.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z12.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z12.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z10$z1.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z2.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z2.m3(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z2.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z10.m5(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z10.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z10.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z28.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z28.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z28.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z28.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z60.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z2.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z60.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z60.m3(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z2.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z60.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p190.z63.m3098(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p144.z5.m2(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p162.z9.m2523(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p155.z2.m2(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p155.z2.m2(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p155.z2.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p142.z3.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p143.z1.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.internal.p241.z1.m1(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]
at com.aspose.html.rendering.HtmlRenderer.render(Unknown Source) ~[aspose-html-18.11.1.jar: 18.11.1]

I need a answer before I can buy your product.

Thanks!

BR,
Christoph


#2

@thodte

Thank you for contacting support.

Would you please share source and generated files along with narrowed down code snippet so that we may try to reproduce and investigate it in our environment to help you out.