A request of PDFFontType return null and throws NullPointerException. The error happens in class org.pdfbox.util.operator.SetTextFont extends OperatorProcessor - method public void process(...). One possible solution is to update the method protected void processOperator( PDFOperator operator, List arguments) in the calling class org.pdfbox.util.operator.PDFStreamEngine to the unmodified version 1.6 of pdfbox.
The modified version of the pdfbox library must also be integrated into the verification tool, otherwise the document can be signed correctly, but then the error happens during verification.
At the time there is no hint for possible negative side effects, but they also can not excluded and have to be tested.
This error disappears when importing the document in a third party software, converting into word or opening with Acrobat and after that exporting again into pdf. Then the document is signable and verifyable.
|Resolution||Accepted As Bug|