Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fix for http://forum.yacy-websuche.de/viewtopic.php?p=21439#p21439
orbitere753027c4392
diff --git a/source/net/yacy/kelondro/rwi/IndexCell.java b/source/net/yacy/kelondro/rwi/IndexCell.javaindex 58d29a16b..16e2626ec 100644--- a/source/net/yacy/kelondro/rwi/IndexCell.java+++ b/source/net/yacy/kelondro/rwi/IndexCell.java@@ -302,13 +302,12 @@ public final class IndexCell<ReferenceType extends Reference> extends AbstractBusynchronized (failedURLs) {for (byte[] b: failedURLs.keySet()) try {words.put(b);} catch (RowSpaceExceededException e) {}}-- for (byte[] b: words) {- HandleSet urls;- synchronized (failedURLs) {- urls = failedURLs.remove(b);++ synchronized (failedURLs) {+ for (byte[] b: words) {+ HandleSet urls = failedURLs.remove(b);+ if (urls != null) remove(b, urls);}- remove(b, urls);}this.countCache.clear();}