Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
tried to fix "Object type or Object type combination not supported" bug see http://www.yacy-forum.de/viewtopic.php?p=16588#16588
orbiter4438a96b8750
diff --git a/source/de/anomic/kelondro/kelondroTree.java b/source/de/anomic/kelondro/kelondroTree.javaindex 370123342..f4c951023 100644--- a/source/de/anomic/kelondro/kelondroTree.java+++ b/source/de/anomic/kelondro/kelondroTree.java@@ -249,6 +249,7 @@ public class kelondroTree extends kelondroRecords implements kelondroIndex {child = 0;found = false;int c;+ byte[] k;TreeSet visitedNodeKeys = new TreeSet(loopDetectionOrder); // to detect loops// System.out.println("Starting Compare Loop in Database " + filename); // debugwhile (thisHandle != null) {@@ -263,7 +264,8 @@ public class kelondroTree extends kelondroRecords implements kelondroIndex {if (thenode == null) {throw new kelondroException(filename, "kelondroTree.Search.process: thenode==null");}- if (visitedNodeKeys.contains(thenode.getKey())) {+ k = thenode.getKey();+ if ((k != null) & (visitedNodeKeys.contains(k))) {// we have loops in the database.// to fix this, all affected nodes must be patchedthenode.setOHByte(magic, (byte) 1);