Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

npe fix: http://forum.yacy-websuche.de/viewtopic.php?t=1646

lotus18513e2ee213
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());