git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@769 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 19 years ago
parent 18d9e1a256
commit 979a3ee3c0

@ -217,7 +217,14 @@ public class kelondroTree extends kelondroRecords implements Comparator {
found = false;
return;
}
otherkey = new String(thenode.getKey());
if (thenode == null) {
throw new kelondroException(filename, "kelondroTree.searchproc: thenode==null");
}
try {
otherkey = new String(thenode.getKey());
} catch (NullPointerException e) {
throw new kelondroException(filename, "kelondroTree.searchproc: nullpointer" + e.getMessage());
}
if (visitedNodeKeys.containsKey(otherkey)) {
// we have loops in the database.
// to fix this, all affected nodes must be patched

Loading…
Cancel
Save