You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Stefan Neufeind (JIRA)" <ji...@apache.org> on 2006/05/21 21:49:32 UTC
[jira] Commented: (NUTCH-254) Fetcher throws NullPointer if
redirect URL is filtered
[ http://issues.apache.org/jira/browse/NUTCH-254?page=comments#action_12412684 ]
Stefan Neufeind commented on NUTCH-254:
---------------------------------------
looks fine and applies fine for me - could this be merged in the dev-trunk?
> Fetcher throws NullPointer if redirect URL is filtered
> ------------------------------------------------------
>
> Key: NUTCH-254
> URL: http://issues.apache.org/jira/browse/NUTCH-254
> Project: Nutch
> Type: Bug
> Components: fetcher
> Versions: 0.8-dev
> Environment: Tested on Windows XP Media Center 2005, 2Gigs RAM, 3.0 Ghz Pentium 4 Hyperthreaded. Should be on any platform.
> Reporter: Dennis Kubes
> Priority: Minor
> Attachments: fetcher_filter_url_patch.txt
>
> Inside the Fetcher class if a redirect URL is filtered, for example jessionid pages are filtered with the default URL filter, then a NullPointerException is thrown when Fetcher trys to print out that the url was skipped for being an identical url. It is not an identical URL but a filtered url. So what we really need is two different checks. One for null url and one for identical url. I have included a patch that handles this.
--
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