[ 
https://issues.apache.org/jira/browse/TIKA-1041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jukka Zitting resolved TIKA-1041.
---------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.2)
         Assignee: Jukka Zitting

I fixed this in revision 1421141 by catching the NoClassDefFoundError and just 
ignoring the missing functionality when the required dependency is not present. 
A deployment can pass in a ServiceLoader with a custom LoadErrorHandler through 
the ParseContext to log or otherwise handle such dependency issues.
                
> Tika 1.2 universalcharset errors
> --------------------------------
>
>                 Key: TIKA-1041
>                 URL: https://issues.apache.org/jira/browse/TIKA-1041
>             Project: Tika
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: I'm running solr 4.0 with tika 1.2 on tomcat 7.0.8 with 
> manifoldcf v1.1dev 
>            Reporter: David Morana
>            Assignee: Jukka Zitting
>             Fix For: 1.3
>
>
> This is somewhat confusing and frustrating. I successfully crawled Opentext 
> using all of the above. then I recrawled and it aborted almost immediately.
> It choked on images, so I excluded them for now. 
> but now it's choking on txt files! 
> sometimes I get this error
> SEVERE: null:java.lang.RuntimeException: java.lang.NoClassDefFoundError: 
> org/mozilla/universalchardet/CharsetListener
> and sometimes I get this one
> SEVERE: null:java.lang.RuntimeException: java.lang.NoClassDefFoundError: 
> org/apache/tika/parser/txt/UniversalEncodingListener

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to