NullPointerException in 
SecurityHandler.addDictionaryAndSubDictionary(SecurityHandler.java:185)
-----------------------------------------------------------------------------------------------

                 Key: TIKA-848
                 URL: https://issues.apache.org/jira/browse/TIKA-848
             Project: Tika
          Issue Type: Bug
          Components: parser
    Affects Versions: 1.0
            Reporter: Tom Field
            Priority: Minor
         Attachments: customer_dispute_form.pdf

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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to