We’re observing silent PDF corruption when converting HTML to PDF using Aspose.HTML for Java. The issue consistently appears after roughly the 114th conversion within the same JVM session. Once the corruption occurs, all subsequent PDFs generated by that JVM remain corrupted until restart.
The corruption is characterized by:
- Missing text layers (borders and layout render correctly, but all text disappears).
- Large sections of null terminators (
\x00) appended after the%%EOFmarker, nearly doubling the file size.
A minimal GitHub repository is available that reproduces the issue and includes sample HTML, PDF outputs, and the runner used for testing.