nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remco Verhoef (JIRA)" <j...@apache.org>
Subject [jira] Created: (NUTCH-597) Fetcher2 - java.lang.NullPointerException when host does not exist and fetcher.threads.per.host.by.ip is set to true causes threads to finish.
Date Sun, 30 Dec 2007 16:29:43 GMT
Fetcher2 - java.lang.NullPointerException when host does not exist and fetcher.threads.per.host.by.ip
is set to true causes threads to finish.
----------------------------------------------------------------------------------------------------------------------------------------------

                 Key: NUTCH-597
                 URL: https://issues.apache.org/jira/browse/NUTCH-597
             Project: Nutch
          Issue Type: Bug
          Components: fetcher
    Affects Versions: 1.0.0
         Environment: Debian
            Reporter: Remco Verhoef


When fetcher.threads.per.host.by.ip is set to true the following exception is thrown when
the host does not exist. FetchItem.create returns null when it is not able to resolve the
host address when it is redirecting.

2007-12-30 15:34:42,720 WARN  fetcher.Fetcher2 - Unable to resolve: {url}  , skipping.
2007-12-30 15:34:42,721 FATAL fetcher.Fetcher2 - java.lang.NullPointerException
2007-12-30 15:34:42,721 FATAL fetcher.Fetcher2 - at org.apache.nutch.fetcher.Fetcher2$FetchItemQueues.finishFetchItem(Fetcher2.java:327)
2007-12-30 15:34:42,721 FATAL fetcher.Fetcher2 - at org.apache.nutch.fetcher.Fetcher2$FetchItemQueues.finishFetchItem(Fetcher2.java:323)
2007-12-30 15:34:42,721 FATAL fetcher.Fetcher2 - at org.apache.nutch.fetcher.Fetcher2$FetcherThread.run(Fetcher2.java:632)
2007-12-30 15:34:42,721 FATAL fetcher.Fetcher2 - fetcher caught:java.lang..NullPointerException
2007-12-30 15:34:42,721 INFO  fetcher.Fetcher2 - -finishing thread FetcherThread, activeThreads=49

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message