Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException when generating PDF/UA #606

Open
Schwarzarbeiter opened this issue Nov 23, 2020 · 1 comment
Open

NullPointerException when generating PDF/UA #606

Schwarzarbeiter opened this issue Nov 23, 2020 · 1 comment
Assignees

Comments

@Schwarzarbeiter
Copy link

Hi,
we evaluated openhtmltopdf for PDF/UA creation and ran into two issues, which caused NPE.

Our test.html was converted just fine with builder.usePdfUaAccessbility(false);. Setting this attribute to true, I narrowed down two problems:

  1. Forced pagebreaks result in NPE (Example line of html: <div style="page-break-before: always">Test pagebreak before</div>

  2. Inputs like checkboxes and textInputs result NPE

Thank you for your work!
Florian

@syjer
Copy link
Contributor

syjer commented Nov 23, 2020

Hi @Schwarzarbeiter could you provide some minimal complete html that trigger the npe.

Thank you :)

(It may be a duplicate of #594 / #527 / #401 )

@danfickle danfickle self-assigned this Jan 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants