See error while rendering html to pdf


Hi all,

I want to render from HTML to PDF by Aspose.HTML for Java, but I see an error message “class Cannot access a disposed object” while calling document.dispose().

It only happened when application is running in Production env.

Please help me to resolve this issue.



Thank you for contacting support.

Would you please share source file and SSCCE code so that we may try to reproduce and investigate it in our environment. Before sharing requested data, please ensure using Aspose.HTML for Java 19.7.