You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tom Field (Created) (JIRA)" <ji...@apache.org> on 2012/01/23 00:58:39 UTC
[jira] [Created] (TIKA-848) NullPointerException in
SecurityHandler.addDictionaryAndSubDictionary(SecurityHandler.java:185)
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
[jira] [Commented] (TIKA-848) NullPointerException in
SecurityHandler.addDictionaryAndSubDictionary(SecurityHandler.java:185)
Posted by "Nick Burch (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190828#comment-13190828 ]
Nick Burch commented on TIKA-848:
---------------------------------
This looks to be a PDFBox issue. If possible, could you try with the latest PDFBox? If the problem still remains with that, please report it as a PDFBox bug. (Once fixed there, Tika will get the fix on the next PDFBox upgrade)
> 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
[jira] [Commented] (TIKA-848) NullPointerException in
SecurityHandler.addDictionaryAndSubDictionary(SecurityHandler.java:185)
Posted by "Nick Burch (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190834#comment-13190834 ]
Nick Burch commented on TIKA-848:
---------------------------------
We can keep this open until it's fixed in PDFBox, and we've upgraded Tika to a version with the fix in
> 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
[jira] [Commented] (TIKA-848) NullPointerException in
SecurityHandler.addDictionaryAndSubDictionary(SecurityHandler.java:185)
Posted by "Tom Field (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190833#comment-13190833 ]
Tom Field commented on TIKA-848:
--------------------------------
https://issues.apache.org/jira/browse/PDFBOX-1212 is duplicate now...
> 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
[jira] [Commented] (TIKA-848) NullPointerException in
SecurityHandler.addDictionaryAndSubDictionary(SecurityHandler.java:185)
Posted by "Tom Field (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190831#comment-13190831 ]
Tom Field commented on TIKA-848:
--------------------------------
using 1.6 of pdf box... which seems the latest. I'll log it there and close this? would you rather delete this one?
> 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
[jira] [Commented] (TIKA-848) NullPointerException in
SecurityHandler.addDictionaryAndSubDictionary(SecurityHandler.java:185)
Posted by "Tom Field (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190829#comment-13190829 ]
Tom Field commented on TIKA-848:
--------------------------------
will do and get back to you, ta
> 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
[jira] [Commented] (TIKA-848) NullPointerException in
SecurityHandler.addDictionaryAndSubDictionary(SecurityHandler.java:185)
Posted by "Tom Field (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190830#comment-13190830 ]
Tom Field commented on TIKA-848:
--------------------------------
using 1.6 of pdf box... which seems the latest. I'll log it there and close this? would you rather delete this one?
> 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
[jira] [Updated] (TIKA-848) NullPointerException in
SecurityHandler.addDictionaryAndSubDictionary(SecurityHandler.java:185)
Posted by "Tom Field (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom Field updated TIKA-848:
---------------------------
Comment: was deleted
(was: using 1.6 of pdf box... which seems the latest. I'll log it there and close this? would you rather delete this one?)
> 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
[jira] [Commented] (TIKA-848) NullPointerException in
SecurityHandler.addDictionaryAndSubDictionary(SecurityHandler.java:185)
Posted by "Timo Boehme (Commented) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Resolved] (TIKA-848) NullPointerException in
SecurityHandler.addDictionaryAndSubDictionary(SecurityHandler.java:185)
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting resolved TIKA-848.
--------------------------------
Resolution: Duplicate
This got fixed as a part of the PDFBox upgrade in TIKA-810.
> 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
[jira] [Updated] (TIKA-848) NullPointerException in
SecurityHandler.addDictionaryAndSubDictionary(SecurityHandler.java:185)
Posted by "Tom Field (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom Field updated TIKA-848:
---------------------------
Attachment: customer_dispute_form.pdf
> 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