danfickle / danfickle/openhtmltopdf

NullPointerException when generating PDF/UA

Open
#606 1 comment 0 reactions 1 assignee Claimed by @danfickle View on GitHub
Dominant language
Java
Stars
2.2k
Forks
423
PR merge metrics
No merged PRs in 30d

Description

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: `

Test pagebreak before
`

2. Inputs like checkboxes and textInputs result NPE

Thank you for your work!
Florian

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.