You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Sebastian Nagel (JIRA)" <ji...@apache.org> on 2013/04/22 18:25:16 UTC
[jira] [Reopened] (NUTCH-1552) possibility of a NPE in index-more
plugin
[ https://issues.apache.org/jira/browse/NUTCH-1552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebastian Nagel reopened NUTCH-1552:
------------------------------------
The current patch avoids the NPE but does not fix the problem as such.
# no content type set if not in HTTP header (fixed with NUTCH-1258 for 1.x only)
# confusion with variables {{contentType}} and {{mimeType}}
> possibility of a NPE in index-more plugin
> -----------------------------------------
>
> Key: NUTCH-1552
> URL: https://issues.apache.org/jira/browse/NUTCH-1552
> Project: Nutch
> Issue Type: Bug
> Components: indexer
> Affects Versions: 2.2
> Reporter: kaveh minooie
> Attachments: NUTCH-1552.patch, NUTCH-1552-v2.patch
>
>
> in line 203 of src/java/org/apache/nutch/indexer/more/MoreIndexingFilter.java the code attempt to read from variable contentType even thou it is possible for it to be null. for me, it happened when I tried to index http://www.pscars.com/
--
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