[jira] Updated: (NUTCH-325) UrlFilters.java throws NPE in case urlfilter.order contains Filters that are not in plugin.includes

2006-07-25 Thread Sami Siren (JIRA)
 [ http://issues.apache.org/jira/browse/NUTCH-325?page=all ]

Sami Siren updated NUTCH-325:
-

Fix Version/s: 0.9-dev
   (was: 0.8-dev)

 UrlFilters.java throws NPE in case urlfilter.order contains Filters that are 
 not in plugin.includes
 ---

 Key: NUTCH-325
 URL: http://issues.apache.org/jira/browse/NUTCH-325
 Project: Nutch
  Issue Type: Bug
Affects Versions: 0.8-dev
Reporter: Stefan Groschupf
Priority: Minor
 Fix For: 0.9-dev

 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: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (NUTCH-325) UrlFilters.java throws NPE in case urlfilter.order contains Filters that are not in plugin.includes

2006-07-20 Thread Stefan Groschupf (JIRA)
 [ http://issues.apache.org/jira/browse/NUTCH-325?page=all ]

Stefan Groschupf updated NUTCH-325:
---

Attachment: UrlFiltersNPE.patch

A patch that uses a Arralist instead of an array and put only entries into the 
list when the entry is not null. Means only loaded Urlfilter that are loaded 
will be also stored into the filters array that is cached into the 
Configuration object. 

 UrlFilters.java throws NPE in case urlfilter.order contains Filters that are 
 not in plugin.includes
 ---

 Key: NUTCH-325
 URL: http://issues.apache.org/jira/browse/NUTCH-325
 Project: Nutch
  Issue Type: Bug
Affects Versions: 0.8-dev
Reporter: Stefan Groschupf
Priority: Minor
 Fix For: 0.8-dev

 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: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira