diff --git a/.classpath b/.classpath
index 8830f61b6..7956b3244 100644
--- a/.classpath
+++ b/.classpath
@@ -1,38 +1,49 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/source/de/anomic/plasma/plasmaSearchEvent.java b/source/de/anomic/plasma/plasmaSearchEvent.java
index 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 thread
this.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;
}