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

Tim Allison edited comment on TIKA-2899 at 7/18/19 6:41 PM:
------------------------------------------------------------

I added 169910.rtf from govdocs1 to this issue -- that file used to trigger a 
zip bomb exception (too many nested entities) even in pre 1.21 versions of 
Tika.  The fix I just made fixes this.


was (Author: [email protected]):
I added 169910.rtf from govdocs1 that used to throw a zip bomb exception (too 
many nested entities) even in pre 1.21 versions of Tika.  The fix I just made 
fixes this.

> org.apache.tika.exception.TikaException: Unexpected RuntimeException from 
> org.apache.tika.parser.rtf.RTFParser@375a26af
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: TIKA-2899
>                 URL: https://issues.apache.org/jira/browse/TIKA-2899
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.19
>            Reporter: Pandurang
>            Assignee: Tim Allison
>            Priority: Critical
>             Fix For: 1.22
>
>         Attachments: 169910.rtf, 658656.rtf, ABC_PL_WI.rtf
>
>
> I am using Solr 8.0 by using solrnet liabrary we extracting some binary data 
> to text. In that case we are getting below error.
> Its working fine for 99 % documents but its failing for only 1 % docs
> Caused by: org.apache.tika.exception.TikaException: Unexpected 
> RuntimeException from org.apache.tika.parser.rtf.RTFParser@375a26af
>  at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:282)
>  at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)
>  at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:143)
>  at 
> org.apache.solr.handler.extraction.ExtractingDocumentLoader.load(ExtractingDocumentLoader.java:228)
>  ... 41 more



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to