Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
small fix for plasmaURLPool.getURL() needed for new alternative htcache layout
hermens6557112d8f43
diff --git a/source/de/anomic/plasma/plasmaURLPool.java b/source/de/anomic/plasma/plasmaURLPool.javaindex cd44ed43d..eaa6f1cca 100644--- a/source/de/anomic/plasma/plasmaURLPool.java+++ b/source/de/anomic/plasma/plasmaURLPool.java@@ -79,8 +79,10 @@ public class plasmaURLPool {public URL getURL(String urlhash) throws IOException {if (urlhash.equals(indexURL.dummyHash)) return null;- plasmaCrawlNURL.Entry ne = noticeURL.getEntry(urlhash);- if (ne != null) return ne.url();+ try {+ plasmaCrawlNURL.Entry ne = noticeURL.getEntry(urlhash);+ if (ne != null) return ne.url();+ } catch (IOException e) {}plasmaCrawlLURL.Entry le = loadedURL.load(urlhash, null);if (le != null) return le.url();plasmaCrawlEURL.Entry ee = errorURL.getEntry(urlhash);