Apache Nutch is an extensible and scalable web crawler
Pages with only STATUS_DB_GONE were unaccounted for, which caused an NPE.
Andrzej Bialecki23182b9ec3ff
diff --git a/src/java/org/apache/nutch/crawl/CrawlDbReducer.java b/src/java/org/apache/nutch/crawl/CrawlDbReducer.javaindex 038bc82ae..cbfaf38b1 100644--- a/src/java/org/apache/nutch/crawl/CrawlDbReducer.java+++ b/src/java/org/apache/nutch/crawl/CrawlDbReducer.java@@ -52,6 +52,7 @@ public class CrawlDbReducer implements Reducer {switch (datum.getStatus()) { // find old entry, if anycase CrawlDatum.STATUS_DB_UNFETCHED:case CrawlDatum.STATUS_DB_FETCHED:+ case CrawlDatum.STATUS_DB_GONE:old = datum;break;case CrawlDatum.STATUS_LINKED: