Aspose HTML for java conversion to PDF

Hello,
I perform conversion from HTML to PDF with following Java code:

final String myDocument1 = "./testcases/HtmlWebRequest.htm";
final String myDocumentOut1 = "./testcases/out/HtmlWebRequest.pdf";
final com.aspose.html.saving.PdfSaveOptions soptPdf = new com.aspose.html.saving.PdfSaveOptions();
com.aspose.html.converters.Converter.convertHTML(myDocument1, soptPdf, myDocumentOut1);

most of file works fine, but with attached file HtmlWebRequest.html I got following exception:

java.lang.NullPointerException: Cannot invoke "com.aspose.html.utils.avm.aWG()" because "<parameter1>" is null
	at com.aspose.html.utils.anJ$9$19$1.o(Unknown Source)
	at com.aspose.html.utils.anJ$9$19$1.invoke(Unknown Source)
	at com.aspose.html.utils.awy$k.hasNext(Unknown Source)
	at com.aspose.html.utils.collections.generic.List.a(Unknown Source)
	at com.aspose.html.utils.collections.generic.List.<init>(Unknown Source)
	at com.aspose.html.utils.awy.ay(Unknown Source)
	at com.aspose.html.utils.anJ$9$19.b(Unknown Source)
	at com.aspose.html.utils.anJ$9$19.invoke(Unknown Source)
	at com.aspose.html.utils.awy$k.hasNext(Unknown Source)
	at com.aspose.html.utils.collections.generic.List.a(Unknown Source)
	at com.aspose.html.utils.collections.generic.List.addRange(Unknown Source)
	at com.aspose.html.utils.anJ$9.c(Unknown Source)
	at com.aspose.html.utils.anJ$9.invoke(Unknown Source)
	at com.aspose.html.utils.dj.a(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ.b(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ.b(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ$9.c(Unknown Source)
	at com.aspose.html.utils.anJ$9.invoke(Unknown Source)
	at com.aspose.html.utils.dj.a(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ.b(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ.b(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ$9.c(Unknown Source)
	at com.aspose.html.utils.anJ$9.invoke(Unknown Source)
	at com.aspose.html.utils.dj.a(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ.b(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ.b(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ$9.c(Unknown Source)
	at com.aspose.html.utils.anJ$9.invoke(Unknown Source)
	at com.aspose.html.utils.dj.a(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ.b(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ.b(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ$9.c(Unknown Source)
	at com.aspose.html.utils.anJ$9.invoke(Unknown Source)
	at com.aspose.html.utils.dj.a(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.aoj$20$2.c(Unknown Source)
	at com.aspose.html.utils.aoj$20$2.invoke(Unknown Source)
	at com.aspose.html.utils.dj.a(Unknown Source)
	at com.aspose.html.utils.aoj$20.a(Unknown Source)
	at com.aspose.html.utils.aoj$20.a(Unknown Source)
	at com.aspose.html.utils.aoj$21$1.c(Unknown Source)
	at com.aspose.html.utils.aoj$21$1.invoke(Unknown Source)
	at com.aspose.html.utils.dj.a(Unknown Source)
	at com.aspose.html.utils.aoj$21.a(Unknown Source)
	at com.aspose.html.utils.aoj$21.a(Unknown Source)
	at com.aspose.html.utils.aoj$22.aKy(Unknown Source)
	at com.aspose.html.utils.aoj$22.invoke(Unknown Source)
	at com.aspose.html.utils.aoj.a(Unknown Source)
	at com.aspose.html.utils.anJ.b(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ$9.c(Unknown Source)
	at com.aspose.html.utils.anJ$9.invoke(Unknown Source)
	at com.aspose.html.utils.dj.a(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ.b(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ.b(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ$9.c(Unknown Source)
	at com.aspose.html.utils.anJ$9.invoke(Unknown Source)
	at com.aspose.html.utils.dj.a(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ.b(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ.b(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ$9.c(Unknown Source)
	at com.aspose.html.utils.anJ$9.invoke(Unknown Source)
	at com.aspose.html.utils.dj.a(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ.b(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ.b(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ$9.c(Unknown Source)
	at com.aspose.html.utils.anJ$9.invoke(Unknown Source)
	at com.aspose.html.utils.dj.a(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ.b(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ.b(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ$9.c(Unknown Source)
	at com.aspose.html.utils.anJ$9.invoke(Unknown Source)
	at com.aspose.html.utils.dj.a(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ.b(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ.b(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ$9.c(Unknown Source)
	at com.aspose.html.utils.anJ$9.invoke(Unknown Source)
	at com.aspose.html.utils.dj.a(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ.b(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.anJ.b(Unknown Source)
	at com.aspose.html.utils.anJ.a(Unknown Source)
	at com.aspose.html.utils.aoc.a(Unknown Source)
	at com.aspose.html.utils.aoc.a(Unknown Source)
	at com.aspose.html.utils.aoc$b.hasNext(Unknown Source)
	at com.aspose.html.utils.collections.generic.List.a(Unknown Source)
	at com.aspose.html.utils.collections.generic.List.<init>(Unknown Source)
	at com.aspose.html.utils.awy.ay(Unknown Source)
	at com.aspose.html.utils.Qk.a(Unknown Source)
	at com.aspose.html.utils.Qk.a(Unknown Source)
	at com.aspose.html.utils.Qk.a(Unknown Source)
	at com.aspose.html.utils.Qi.g(Unknown Source)
	at com.aspose.html.utils.Rf.aet(Unknown Source)
	at com.aspose.html.utils.Rf.afd(Unknown Source)
	at com.aspose.html.utils.XL.a(Unknown Source)
	at com.aspose.html.rendering.HtmlRenderer.render(Unknown Source)
	at com.aspose.html.rendering.HtmlRenderer.render(Unknown Source)
	at com.aspose.html.rendering.HtmlRenderer.render(Unknown Source)
	at com.aspose.html.rendering.Renderer.render(Unknown Source)
	at com.aspose.html.rendering.Renderer.render(Unknown Source)
	at com.aspose.html.utils.hm.a(Unknown Source)
	at com.aspose.html.utils.hm.a(Unknown Source)
	at com.aspose.html.utils.hm.a(Unknown Source)
	at com.aspose.html.converters.Converter.convertHTML(Unknown Source)

Version aspose.html.23.11 for Java. Could you please help us?
Thank you

@gianfranco.dancelli

We are afraid that we could not find any attached file with your post. Can you please try to attach it in .zip format so that we can continue accordingly?

Hi,
sorry, of course. Here it is HtmlwebRequest.zip.

@gianfranco.dancelli

We are not sure you are uploading the file correctly. Your file is pointing to the below invalid link:

https://C:\ISIS\Eclipse\workspace\EclipseWorkspace_JAsposeWrapper2_int8\testcases\HtmlWebRequest.zip Please upload it using the upload button in the post editor. You can also upload it to Google Drive and share the link with us.
image.png (8.2 KB)

I try again, sorry.
HtmlWebRequest.zip (8.3 KB)

Thank you.
BR

@gianfranco.dancelli

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): HTMLJAVA-1646

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.