Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) bugfix for Nullpointerexception

theli63a004abff49
diff --git a/source/de/anomic/index/indexCollectionRI.java b/source/de/anomic/index/indexCollectionRI.java
index 5ff107e8b..0209e14e2 100644
--- a/source/de/anomic/index/indexCollectionRI.java
+++ b/source/de/anomic/index/indexCollectionRI.java
@@ -114,6 +114,7 @@ public class indexCollectionRI implements indexRI {
public Object next() {
Object[] oo = (Object[]) wci.next();
+ if (oo == null) return null;
byte[] key = (byte[]) oo[0];
kelondroRowSet collection = (kelondroRowSet) oo[1];
if (collection == null) return null;