Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
npe fix
Michael Peter Christen5b83887da817
diff --git a/source/net/yacy/kelondro/blob/Heap.java b/source/net/yacy/kelondro/blob/Heap.javaindex d16c252ef..cd8b3eea5 100644--- a/source/net/yacy/kelondro/blob/Heap.java+++ b/source/net/yacy/kelondro/blob/Heap.java@@ -166,7 +166,6 @@ public final class Heap extends HeapModifier implements BLOB {* @throws SpaceExceededException*/public void flushBuffer() throws IOException {- assert this.buffer != null;if (this.buffer == null) return;// check size of bufferdiff --git a/source/net/yacy/peers/NewsDB.java b/source/net/yacy/peers/NewsDB.javaindex cef2912a4..f6926d512 100644--- a/source/net/yacy/peers/NewsDB.java+++ b/source/net/yacy/peers/NewsDB.java@@ -150,6 +150,7 @@ public class NewsDB {}public synchronized Record get(final String id) throws IOException {+ if (this.news == null) return null;try {return b2r(this.news.get(UTF8.getBytes(id), false));} catch (final kelondroException e) {