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?f=6&t=192&hilit=&p=1034#p1034
orbiterf5a4efb76ea8
diff --git a/htroot/yacy/hello.java b/htroot/yacy/hello.javaindex c7f46d429..0ba2f8b99 100644--- a/htroot/yacy/hello.java+++ b/htroot/yacy/hello.java@@ -87,7 +87,7 @@ public final class hello {final yacySeed remoteSeed = yacySeed.genRemoteSeed(seed, key, false);// System.out.println("YACYHELLO: REMOTESEED=" + ((remoteSeed == null) ? "NULL" : remoteSeed.toString()));- if (remoteSeed == null) { return null; }+ if ((remoteSeed == null) || (remoteSeed.hash == null)) { return null; }// final String properTest = remoteSeed.isProper();// The remote peer might not know its IP yet, so don't abort if the IP check failsdiff --git a/source/de/anomic/kelondro/kelondroAbstractOrder.java b/source/de/anomic/kelondro/kelondroAbstractOrder.javaindex b67873536..8abfab84c 100644--- a/source/de/anomic/kelondro/kelondroAbstractOrder.java+++ b/source/de/anomic/kelondro/kelondroAbstractOrder.java@@ -75,7 +75,7 @@ public abstract class kelondroAbstractOrder implements kelondroOrder {} /* else if ((a instanceof Integer) && (b instanceof Integer)) {return ((Integer) a).compareTo((Integer) b);} */ else- throw new IllegalArgumentException("Object type or Object type combination not supported: a=" + a + "[" + a.getClass().getName() + "], b=" + b + "[" + b.getClass().getName() + "]");+ throw new IllegalArgumentException("Object type or Object type combination not supported: a=" + a + "[" + ((a == null) ? "" : a.getClass().getName()) + "], b=" + b + "[" + ((b == null) ? "" : b.getClass().getName()) + "]");}public byte[] zero() {