From db934215994bfe62a78b65d6aed854902162e025 Mon Sep 17 00:00:00 2001 From: zzz Date: Thu, 3 Feb 2011 15:45:26 +0000 Subject: [PATCH] * I2PTunnel: Fix NPE --- apps/i2ptunnel/jsp/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/i2ptunnel/jsp/index.jsp b/apps/i2ptunnel/jsp/index.jsp index dcacee195..a5e07c532 100644 --- a/apps/i2ptunnel/jsp/index.jsp +++ b/apps/i2ptunnel/jsp/index.jsp @@ -236,7 +236,7 @@ <% /* should only happen for streamr client */ String cHost= indexBean.getClientInterface(curClient); - if ("".equals(cHost)) { + if (cHost == null || "".equals(cHost)) { out.write(""); out.write(intl._("Host not set")); out.write("");