nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Bialecki (JIRA)" <j...@apache.org>
Subject [jira] Closed: (NUTCH-254) Fetcher throws NullPointer if redirect URL is filtered
Date Mon, 24 Apr 2006 22:57:06 GMT
     [ http://issues.apache.org/jira/browse/NUTCH-254?page=all ]
     
Andrzej Bialecki  closed NUTCH-254:
-----------------------------------

    Resolution: Fixed

Fixed - actually there were two places which needed fixing, I also somewhat simplified the
logic Thank you!

> 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


Mime
View raw message