Description
NullPointerException in SecurityHandler.addDictionaryAndSubDictionary(SecurityHandler.java:185)
The attached pdf causes a null pointer in my environment possible security encryption issue?
java.io.IOException:
at org.apache.tika.parser.ParsingReader.read(ParsingReader.java:260)
...
Caused by: org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.pdf.PDFParser@335ac93d
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:244)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)
at org.apache.tika.parser.ParsingReader$ParsingTask.run(ParsingReader.java:221)
... 1 more
Caused by: java.lang.NullPointerException
at org.apache.pdfbox.pdmodel.encryption.SecurityHandler.addDictionaryAndSubDictionary(SecurityHandler.java:185)
Note I incorrectly logged this in TIKA as https://issues.apache.org/jira/browse/TIKA-848 so could that one be resolved when this one is? thanks.