You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Nick Burch (JIRA)" <ji...@apache.org> on 2015/12/03 18:03:10 UTC

[jira] [Commented] (TIKA-1806) Bouncy Castle conflict

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

Nick Burch commented on TIKA-1806:
----------------------------------

I've just tried that file with the Tika App, and I don't get that exception. Googling suggests it's caused by having mis-matched BouncyCastle jars. Could your runtime possibly have an older bc jar on the classpath? (Maybe use code similar to http://poi.apache.org/faq.html#faq-N10006 to check which bc jars are really being used?)

> Bouncy Castle conflict
> ----------------------
>
>                 Key: TIKA-1806
>                 URL: https://issues.apache.org/jira/browse/TIKA-1806
>             Project: Tika
>          Issue Type: Bug
>            Reporter: Tim Allison
>            Priority: Blocker
>         Attachments: K7JQOGUCTHLSOPCSG5OCKIKM2LZKD7AH
>
>
> On a recent run with trunk against our Common Crawl corpus, I found quite a few of these:
> {noformat}
> java.lang.NoSuchFieldError: gostR3411_94_with_gostR3410_94
> 	at org.bouncycastle.operator.jcajce.OperatorHelper.<clinit>(Unknown Source)
> 	at org.bouncycastle.operator.jcajce.JcaDigestCalculatorProviderBuilder.<init>(Unknown Source)
> 	at org.apache.tika.parser.crypto.Pkcs7Parser.parse(Pkcs7Parser.java:63)
> 	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)
> 	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)
> 	at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)