nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NUTCH-1230) MimeType API deprecated and breaks with Tika 1.0
Date Tue, 27 Dec 2011 15:02:30 GMT

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

Hudson commented on NUTCH-1230:
-------------------------------

Integrated in nutch-trunk-maven #80 (See [https://builds.apache.org/job/nutch-trunk-maven/80/])
    NUTCH-1230 and NUTCH-1231 Upgrade to Tika 1.0 and using new Tika detect API

markus : http://svn.apache.org/viewvc/nutch/trunk/viewvc/?view=rev&root=&revision=1224916
Files : 
* /nutch/trunk/CHANGES.txt
* /nutch/trunk/ivy/ivy.xml
* /nutch/trunk/src/java/org/apache/nutch/util/MimeUtil.java
* /nutch/trunk/src/plugin/index-more/src/java/org/apache/nutch/indexer/more/MoreIndexingFilter.java
* /nutch/trunk/src/plugin/parse-zip/src/java/org/apache/nutch/parse/zip/ZipTextExtractor.java
* /nutch/trunk/src/plugin/protocol-file/src/java/org/apache/nutch/protocol/file/FileResponse.java

                
> MimeType API deprecated and breaks with Tika 1.0
> ------------------------------------------------
>
>                 Key: NUTCH-1230
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1230
>             Project: Nutch
>          Issue Type: Bug
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>            Priority: Blocker
>             Fix For: 1.5
>
>         Attachments: NUTCH-1230-1.5-2.patch, NUTCH-1230-1.5-3.patch
>
>
> We used Tika 1.0-SNAPSHOT in production and just switched to 1.1-SNAPSHOT. The new version
triggers the following error:
> {code}
> 2011-12-21 12:29:56,665 ERROR http.Http - java.lang.IllegalAccessError: tried to access
method org.apache.tika.mime.MimeTypes.getMimeType([B)Lorg/apache/tika/mime/MimeType; from
class org.apache.nutch.util.MimeUtil
> 2011-12-21 12:29:56,665 ERROR http.Http - at org.apache.nutch.util.MimeUtil.autoResolveContentType(MimeUtil.java:169)
> 2011-12-21 12:29:56,665 ERROR http.Http - at org.apache.nutch.protocol.Content.getContentType(Content.java:292)
> 2011-12-21 12:29:56,666 ERROR http.Http - at org.apache.nutch.protocol.Content.<init>(Content.java:88)
> 2011-12-21 12:29:56,666 ERROR http.Http - at org.apache.nutch.protocol.http.api.HttpBase.getProtocolOutput(HttpBase.java:142)
> 2011-12-21 12:29:56,666 ERROR http.Http - at org.apache.nutch.parse.ParserChecker.run(ParserChecker.java:82)
> 2011-12-21 12:29:56,666 ERROR http.Http - at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:69)
> 2011-12-21 12:29:56,666 ERROR http.Http - at org.apache.nutch.parse.ParserChecker.main(ParserChecker.java:138)
> {code}

--
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

        

Mime
View raw message