[
https://issues.apache.org/jira/browse/NUTCH-325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sami Siren resolved NUTCH-325.
------------------------------
Resolution: Fixed
just committed this with additional junit testcase. Thanks Stefan!
> UrlFilters.java throws NPE in case urlfilter.order contains Filters that are
> not in plugin.includes
> ---------------------------------------------------------------------------------------------------
>
> Key: NUTCH-325
> URL: https://issues.apache.org/jira/browse/NUTCH-325
> Project: Nutch
> Issue Type: Bug
> Affects Versions: 0.8
> Reporter: Stefan Groschupf
> Priority: Minor
> Fix For: 0.9.0
>
> Attachments: UrlFiltersNPE.patch
>
>
> In URLFilters constructor we use an array as long as we have filters defined
> in the urlfilter.order property.
> In case those filters are not included in the plugin.include property end up
> putting null entries into the array.
> This cause a NPE in URLFilters line 82.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira