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


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



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to