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 Christenf748b0aa7c0c
diff --git a/source/net/yacy/cora/protocol/http/HTTPClient.java b/source/net/yacy/cora/protocol/http/HTTPClient.javaindex 8006a9835..d98dda4e3 100644--- a/source/net/yacy/cora/protocol/http/HTTPClient.java+++ b/source/net/yacy/cora/protocol/http/HTTPClient.java@@ -605,7 +605,7 @@ public class HTTPClient {} catch (final IOException e) {ConnectionInfo.removeConnection(httpUriRequest.hashCode());httpUriRequest.abort();- throw new IOException("Client can't execute: " + e.getCause().getMessage());+ throw new IOException("Client can't execute: " + (e.getCause() == null ? e.getMessage() : e.getCause().getMessage()));}}