Free Support Forum -

Startxref always equal to 0 when convert html to pdf

We are using aspose html version 19.9 to change html to pdf file, however, we find that the startxref always equal to 0 in the generated pdf. We also use aspose word to convert word document into pdf, but not have such problems for aspose word, can you please help to check?

For more information, below is the trailer section of the pdf file generated by aspose word and aspose html respectively
ASPOSE.WORD - word to pdf:

/Size 104
/Info 3 0 R
/Root 1 0 R
/ID [<2B6426BD5EF7C0DF26CE26C1065CFACD> <2B6426BD5EF7C0DF26CE26C1065CFACD>]


ASPOSE.HTML - html to pdf:

<</Size 164/Info 1 0 R/Root 2 0 R>>

“startxref” always 0 for ASPOSE.HTML


Would you please try using Aspose.HTML for .NET 20.8 in your environment and in case you still face any issue, please share your sample code snippet along with input file. We will test the scenario in our environment and address it accordingly.

Thanks for your reply, but our application is using java and we have try Aspose.HTML for java 20.6 but still the same result


Would you please share your sample code snippet along with the input file as requested earlier? We will test the scenario in our environment and address it accordingly.

Attached is the sample code and the (34.7 KB)
pdf file, please help to take a look, thanks


We have logged an investigation ticket as HTMLJAVA-581 in our issue management system for your case. We will further look into its details and keep you informed about its resolution status. Please be patient and spare us some time.

We apologize for the inconvenience.

Thanks for your reply, but how can I visit HTMLJAVA-581? Or any other way I can get update for it?


The ticket has been logged in our internal system of issue management and you cannot access it. However, we will keep you posted in this thread as soon as we make some significant progress is made towards its resolution. You may follow up within this forum thread for further updates.

ok, noted, thanks very much

Sorry to bother but any news about HTMLJAVA-581?
Have it been fixed in latest version?


We are afraid that earlier logged ticket is not yet resolved. We will surely investigate and resolve it on first come first serve basis and will share updates with you as soon as we have some about its rectification. Please give us some time.

We are sorry for the inconvenience.