Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

- patch for NullPointerException by Fuchs: see http://www.yacy-forum.de/viewtopic.php?p=27033#27033

karlchenofhellc5a5a9eb1c79
diff --git a/source/yacy.java b/source/yacy.java
index ddb89c211..86e06f9c4 100644
--- a/source/yacy.java
+++ b/source/yacy.java
@@ -766,13 +766,13 @@ public final class yacy {
if (wordIdxContainer != null) try { wordIdxContainer = null; } catch (Exception e) {}
}
}
+ log.logInfo("current LURL DB contains " + currentUrlDB.size() + " entries.");
+ log.logInfo("mimimized LURL DB contains " + minimizedUrlDB.size() + " entries.");
+
currentUrlDB.close();
minimizedUrlDB.close();
wordIndex.close(600);
- log.logInfo("current LURL DB contains " + currentUrlDB.size() + " entries.");
- log.logInfo("mimimized LURL DB contains " + minimizedUrlDB.size() + " entries.");
-
// TODO: rename the mimimized UrlDB to the name of the previous UrlDB
log.logInfo("FINISHED URL CLEANUP, WAIT FOR DUMP");