Skip to content

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

fix for NPE

orbiter7a59012632e3
diff --git a/source/net/yacy/kelondro/blob/ArrayStack.java b/source/net/yacy/kelondro/blob/ArrayStack.java
index 818277055..0b564ba10 100755
--- a/source/net/yacy/kelondro/blob/ArrayStack.java
+++ b/source/net/yacy/kelondro/blob/ArrayStack.java
@@ -622,6 +622,7 @@ public class ArrayStack implements BLOB {
private void next0() {
while (this.bii.hasNext()) {
BLOB b = this.bii.next().blob;
+ if (b == null) continue;
try {
this.next = b.get(key);
if (this.next != null) return;