tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Burch (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-1942) java.lang.NoClassDefFoundError: org/bouncycastle/asn1/DEREncodable
Date Sat, 09 Apr 2016 06:02:25 GMT

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

Nick Burch commented on TIKA-1942:
----------------------------------

How are you calling Tika? The Tika CLI App? Tika Server? Java? And if Java, how did you add
the Tika dependencies?

Also, what happens when you upgrade to the most recent Tika version?

> java.lang.NoClassDefFoundError: org/bouncycastle/asn1/DEREncodable
> ------------------------------------------------------------------
>
>                 Key: TIKA-1942
>                 URL: https://issues.apache.org/jira/browse/TIKA-1942
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.10
>            Reporter: Magesh Tarala
>
> While parsing an encrypted PDF file, I'm getting the following error:
> Exception in thread "main" java.lang.NoClassDefFoundError: org/bouncycastle/asn1/DEREncodable
> 	at java.lang.Class.getDeclaredConstructors0(Native Method)
> 	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2585)
> 	at java.lang.Class.getConstructor0(Class.java:2885)
> 	at java.lang.Class.getDeclaredConstructor(Class.java:2058)
> 	at org.apache.pdfbox.pdmodel.encryption.SecurityHandlersManager.getSecurityHandler(SecurityHandlersManager.java:218)
> 	at org.apache.pdfbox.pdmodel.PDDocument.openProtection(PDDocument.java:1608)
> 	at org.apache.pdfbox.pdmodel.PDDocument.decrypt(PDDocument.java:955)
> 	at org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:139)
> 	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)
> 	at com.bell.solr.CRMDataToSolr.parseAttachments(CRMDataToSolr.java:1842)
> 	at com.bell.solr.CRMDataToSolr.processSO(CRMDataToSolr.java:2556)
> 	at com.bell.solr.CRMDataToSolr.processFolders(CRMDataToSolr.java:2351)
> 	at com.bell.solr.CRMDataToSolr.main(CRMDataToSolr.java:2910)
> Caused by: java.lang.ClassNotFoundException: org.bouncycastle.asn1.DEREncodable
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> 	... 15 more



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

Mime
View raw message