From 18513e2ee2130fc4bc32d7bba73ee962ff05fe69 Mon Sep 17 00:00:00 2001 From: lotus Date: Tue, 16 Dec 2008 13:36:13 +0000 Subject: [PATCH] npe fix: http://forum.yacy-websuche.de/viewtopic.php?t=1646 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5393 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/data/bookmarksDB.java | 1 + 1 file changed, 1 insertion(+) diff --git a/source/de/anomic/data/bookmarksDB.java b/source/de/anomic/data/bookmarksDB.java index 0fbbe6b6b..fa021caac 100644 --- a/source/de/anomic/data/bookmarksDB.java +++ b/source/de/anomic/data/bookmarksDB.java @@ -537,6 +537,7 @@ public class bookmarksDB { * @param tag an object of type Tag to be stored/removed */ public void storeTag(final Tag tag){ + if (tag == null) return; try { if(tag.size() >0){ bookmarksDB.this.tagsTable.put(tag.getTagHash(), tag.getMap());