Convert HTML File with Table of Contents to Word DOCX Document using Aspose.Words for Java

Hi,

Greetings.

We use Aspose.words Java to convert html file to docx.

Now when we try to convert this html file to docx, we are getting an error.
We are unable to convert the html file to docx.

Please suggest ways we can mitigate this and let us know your valuable suggestions to resolve this issue.

Please use the attached zip file.
ErrorFile.zip (25.7 KB)

@EdwinPearson,

After an initial test with the licensed latest (21.2) versions of Aspose.Words for Java API, we were unable to reproduce any exception/error during converting HTML to Word DOCX document on our end. We used the following simple code for testing on our end:

Document doc = new Document("C:\\Temp\\ErrorFile\\ErrorFile.html");
doc.save("C:\\Temp\\ErrorFile\\awjava-21.2.docx");

So, we suggest you to please upgrade to the latest version of Aspose.Words for Java.