Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.0, 2.0.1, 2.0.2, 3.0.0 PDFBox
-
None
Description
NPE happens in this code if the content is crap, because peekToken() can be null:
// find /Private dict while (!lexer.peekToken().getText().equals("Private")) { lexer.nextToken(); }