From f94131c13d4fe63fc2f8bdb284abed84dc164c7b Mon Sep 17 00:00:00 2001 From: theli Date: Mon, 4 Sep 2006 09:02:23 +0000 Subject: [PATCH] *) Bugfix for Blacklist_p.java - avoid nullpointerexception git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2475 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/Blacklist_p.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htroot/Blacklist_p.java b/htroot/Blacklist_p.java index c4aeede5a..9e6f8cb2a 100644 --- a/htroot/Blacklist_p.java +++ b/htroot/Blacklist_p.java @@ -196,7 +196,7 @@ public class Blacklist_p { // get the entry that should be deleted String oldEntry = (String)post.get("selectedEntry"); - if (oldEntry.trim().length() == 0) { + if (oldEntry == null || oldEntry.trim().length() == 0) { prop.put("LOCATION",header.get("PATH") + "?selectList=&selectedListName=" + blacklistToUse); return prop; }