diff --git a/source/de/anomic/plasma/plasmaWordIndexEntity.java b/source/de/anomic/plasma/plasmaWordIndexEntity.java index 6396ba18c..2a0b4083c 100644 --- a/source/de/anomic/plasma/plasmaWordIndexEntity.java +++ b/source/de/anomic/plasma/plasmaWordIndexEntity.java @@ -207,7 +207,9 @@ public final class plasmaWordIndexEntity { public final class dbenum implements Iterator { Iterator i; public dbenum(boolean up) { - try { + if (theIndex == null) { + i = null; + } else try { i = theIndex.nodeIterator(up, false); } catch (kelondroException e) { e.printStackTrace();