Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
bugfix for last commit
orbiterf1ed55a5fc24
diff --git a/.classpath b/.classpathindex 8830f61b6..7956b3244 100644--- a/.classpath+++ b/.classpath@@ -1,38 +1,49 @@-<?xml version="1.0" encoding="UTF-8"?>-<classpath>- <classpathentry kind="src" path="source"/>- <classpathentry excluding="htdocsdefault/|locale/|proxymsg/|yacy/|env/|env/" output="htroot" kind="src" path="htroot"/>- <classpathentry kind="src" path="htroot/htdocsdefault"/>- <classpathentry kind="src" path="htroot/yacy"/>- <classpathentry kind="src" path="htroot/env"/>- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>- <classpathentry kind="lib" path="lib/commons-collections.jar"/>- <classpathentry kind="lib" path="lib/commons-pool-1.2.jar"/>- <classpathentry kind="lib" path="libx/axis-ant.jar"/>- <classpathentry kind="lib" path="libx/axis.jar"/>- <classpathentry kind="lib" path="libx/bzip2.jar"/>- <classpathentry kind="lib" path="libx/commons-codec-1.3.jar"/>- <classpathentry kind="lib" path="libx/commons-discovery.jar"/>- <classpathentry kind="lib" path="libx/commons-jxpath-1.1.jar"/>- <classpathentry kind="lib" path="libx/commons-logging.jar"/>- <classpathentry kind="lib" path="libx/informa-0.6.0.jar"/>- <classpathentry kind="lib" path="libx/jakarta-oro-2.0.7.jar"/>- <classpathentry kind="lib" path="libx/jaxrpc.jar"/>- <classpathentry kind="lib" path="libx/jdom.jar"/>- <classpathentry kind="lib" path="libx/jmimemagic-0.1.0.jar"/>- <classpathentry kind="lib" path="libx/jrpm-head.jar"/>- <classpathentry kind="lib" path="libx/jrpm-SNAPSHOT.jar"/>- <classpathentry kind="lib" path="libx/jsch-0.1.21.jar"/>- <classpathentry kind="lib" path="libx/log4j-1.2.9.jar"/>- <classpathentry kind="lib" path="libx/odf_utils_05_11_29.jar"/>- <classpathentry kind="lib" path="libx/PDFBox-0.7.2.jar"/>- <classpathentry kind="lib" path="libx/saaj.jar"/>- <classpathentry kind="lib" path="libx/sbbi-upnplib-1.0.3.jar"/>- <classpathentry kind="lib" path="libx/tar.jar"/>- <classpathentry kind="lib" path="libx/tm-extractors-0.4.jar"/>- <classpathentry kind="lib" path="libx/wsdl4j.jar"/>- <classpathentry kind="lib" path="libx/xerces.jar"/>- <classpathentry kind="lib" path="libx/poi-3.0-alpha2-20060616.jar"/>- <classpathentry kind="lib" path="libx/poi-scratchpad-3.0-alpha2-20060616.jar"/>- <classpathentry kind="output" path="gen"/>-</classpath>+<?xml version="1.0" encoding="UTF-8"?>+<classpath>+ <classpathentry kind="src" path="source"/>+ <classpathentry excluding="htdocsdefault/|locale/|proxymsg/|yacy/|env/|env/" kind="src" output="htroot" path="htroot"/>+ <classpathentry kind="src" path="htroot/htdocsdefault"/>+ <classpathentry kind="src" path="htroot/yacy"/>+ <classpathentry kind="src" path="htroot/env"/>+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>+ <classpathentry kind="lib" path="lib/commons-collections.jar"/>+ <classpathentry kind="lib" path="lib/commons-pool-1.2.jar"/>+ <classpathentry kind="lib" path="libx/axis-ant.jar"/>+ <classpathentry kind="lib" path="libx/axis.jar"/>+ <classpathentry kind="lib" path="libx/bzip2.jar"/>+ <classpathentry kind="lib" path="libx/commons-codec-1.3.jar"/>+ <classpathentry kind="lib" path="libx/commons-discovery.jar"/>+ <classpathentry kind="lib" path="libx/commons-jxpath-1.1.jar"/>+ <classpathentry kind="lib" path="libx/commons-logging.jar"/>+ <classpathentry kind="lib" path="libx/informa-0.6.0.jar"/>+ <classpathentry kind="lib" path="libx/jakarta-oro-2.0.7.jar"/>+ <classpathentry kind="lib" path="libx/jaxrpc.jar"/>+ <classpathentry kind="lib" path="libx/jdom.jar"/>+ <classpathentry kind="lib" path="libx/jmimemagic-0.1.0.jar"/>+ <classpathentry kind="lib" path="libx/jrpm-head.jar"/>+ <classpathentry kind="lib" path="libx/jrpm-SNAPSHOT.jar"/>+ <classpathentry kind="lib" path="libx/jsch-0.1.21.jar"/>+ <classpathentry kind="lib" path="libx/log4j-1.2.9.jar"/>+ <classpathentry kind="lib" path="libx/odf_utils_05_11_29.jar"/>+ <classpathentry kind="lib" path="libx/PDFBox-0.7.2.jar"/>+ <classpathentry kind="lib" path="libx/saaj.jar"/>+ <classpathentry kind="lib" path="libx/sbbi-upnplib-1.0.3.jar"/>+ <classpathentry kind="lib" path="libx/tar.jar"/>+ <classpathentry kind="lib" path="libx/tm-extractors-0.4.jar"/>+ <classpathentry kind="lib" path="libx/wsdl4j.jar"/>+ <classpathentry kind="lib" path="libx/xerces.jar"/>+ <classpathentry kind="lib" path="libx/poi-3.0-alpha2-20060616.jar"/>+ <classpathentry kind="lib" path="libx/poi-scratchpad-3.0-alpha2-20060616.jar"/>+ <classpathentry kind="lib" path="/Volumes/Magneto/dev/workspace/trunk/libx/axis.jar"/>+ <classpathentry kind="lib" path="/Volumes/Magneto/dev/workspace/trunk/libx/axis-ant.jar"/>+ <classpathentry kind="lib" path="/Volumes/Magneto/dev/workspace/trunk/libx/saaj.jar"/>+ <classpathentry kind="lib" path="/Volumes/Magneto/dev/workspace/trunk/libx/jaxrpc.jar"/>+ <classpathentry kind="lib" path="/Volumes/Magneto/dev/workspace/trunk/libx/wsdl4j.jar"/>+ <classpathentry kind="lib" path="/Volumes/Magneto/dev/workspace/trunk/libx/commons-discovery.jar"/>+ <classpathentry kind="lib" path="/Volumes/Magneto/dev/workspace/trunk/libx/commons-logging.jar"/>+ <classpathentry kind="lib" path="libx/inetlib.jar"/>+ <classpathentry kind="lib" path="libx/gnumail.jar"/>+ <classpathentry kind="lib" path="libx/activation.jar"/>+ <classpathentry kind="lib" path="libx/webcat-0.1-swf.jar"/>+ <classpathentry kind="output" path="gen"/>+</classpath>diff --git a/source/de/anomic/plasma/plasmaSearchEvent.java b/source/de/anomic/plasma/plasmaSearchEvent.javaindex f639df0fe..d11096e7d 100644--- a/source/de/anomic/plasma/plasmaSearchEvent.java+++ b/source/de/anomic/plasma/plasmaSearchEvent.java@@ -197,7 +197,7 @@ public final class plasmaSearchEvent extends Thread implements Runnable {plasmaSearchResult result = orderFinal(rcLocal);if (result != null) {result.globalContributions = globalContributions;- result.localContributions = rcLocal.size();+ result.localContributions = (rcLocal == null) ? 0 : rcLocal.size();// flush results in a separate threadthis.start(); // start to flush results@@ -343,7 +343,7 @@ public final class plasmaSearchEvent extends Thread implements Runnable {profileLocal.getTargetTime(plasmaSearchTimingProfile.PROCESS_JOIN),query.maxDistance);profileLocal.setYieldTime(plasmaSearchTimingProfile.PROCESS_JOIN);- profileLocal.setYieldCount(plasmaSearchTimingProfile.PROCESS_JOIN, rcLocal.size());+ profileLocal.setYieldCount(plasmaSearchTimingProfile.PROCESS_JOIN, (rcLocal == null) ? 0 : rcLocal.size());return rcLocal;}