You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tom Field (Updated) (JIRA)" <ji...@apache.org> on 2012/01/23 01:20:40 UTC

[jira] [Updated] (PDFBOX-1212) NullPointerException in SecurityHandler.addDictionaryAndSubDictionary(SecurityHandler.java:185)

     [ https://issues.apache.org/jira/browse/PDFBOX-1212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Field updated PDFBOX-1212:
------------------------------

    Attachment: customer_dispute_form.pdf
    
> NullPointerException in SecurityHandler.addDictionaryAndSubDictionary(SecurityHandler.java:185)
> -----------------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-1212
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1212
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 1.6.0
>            Reporter: Tom Field
>            Priority: Minor
>         Attachments: customer_dispute_form.pdf
>
>
> 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.

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