Index: trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetSearchDialog.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetSearchDialog.java	(revision 3637)
+++ trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetSearchDialog.java	(revision 3638)
@@ -121,5 +121,8 @@
                 } else if (item instanceof Key) {
                     tags.add(((Key) item).key);
-                    tags.add(((Key) item).value);
+                    String value = ((Key) item).value;
+                    if (value != null) {
+                        tags.add(value);
+                    }
                 } else if (item instanceof Text) {
                     tags.add(((Text) item).key);
