Table with Checkboxes leads to Nullpointer at page break

we use Aspose 19.1.
please find the attached code. If you run the class, the report attached is generated.output.pdf (1.1 MB)

PLEASE Note i did not include the license file!

Now please change the TOP Margin of the table from 50 to 60, you can do this in row 245 in the code. Running the class now leads to a nullpointer in save() method and the report can not be generated. Could you please see whats happening here?
It seems it depends on the Y-Position of the table on the page, if the table can be broken or not.
Thank you! (5.6 KB)


Thank you for contacting support.

We have been able to reproduce the exception when changing the value from 60 to 50, please verify if you reproduce it with same change or otherwise. A ticket with ID PDFJAVA-38384 has been logged in our issue management system for further investigation and resolution. The ticket ID has been linked with this thread so that you will receive notification as soon as the ticket is resolved.

We are sorry for the inconvenience.

The issues you have found earlier (filed as PDFJAVA-38384) have been fixed in Aspose.PDF for Java 19.6.