tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timo Boehme (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-848) NullPointerException in SecurityHandler.addDictionaryAndSubDictionary(SecurityHandler.java:185)
Date Mon, 23 Jan 2012 16:36:40 GMT

    [ https://issues.apache.org/jira/browse/TIKA-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13191244#comment-13191244
] 

Timo Boehme commented on TIKA-848:
----------------------------------

Now fixed in PDFBox-1212.
                
> 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

        

Mime
View raw message