Index: /trunk/src/org/openstreetmap/josm/gui/help/HelpBrowserHistory.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/help/HelpBrowserHistory.java	(revision 12551)
+++ /trunk/src/org/openstreetmap/josm/gui/help/HelpBrowserHistory.java	(revision 12552)
@@ -80,22 +80,24 @@
      */
     public void setCurrentUrl(String url) {
-        boolean add = true;
+        if (url != null) {
+            boolean add = true;
 
-        if (historyPos >= 0 && historyPos < history.size() && history.get(historyPos).equals(url)) {
-            add = false;
-        } else if (historyPos == history.size() -1) {
-            // do nothing just append
-        } else if (historyPos == 0 && !history.isEmpty()) {
-            history = new ArrayList<>(Collections.singletonList(history.get(0)));
-        } else if (historyPos < history.size() -1 && historyPos > 0) {
-            history = new ArrayList<>(history.subList(0, historyPos));
-        } else {
-            history = new ArrayList<>();
+            if (historyPos >= 0 && historyPos < history.size() && history.get(historyPos).equals(url)) {
+                add = false;
+            } else if (historyPos == history.size() -1) {
+                // do nothing just append
+            } else if (historyPos == 0 && !history.isEmpty()) {
+                history = new ArrayList<>(Collections.singletonList(history.get(0)));
+            } else if (historyPos < history.size() -1 && historyPos > 0) {
+                history = new ArrayList<>(history.subList(0, historyPos));
+            } else {
+                history = new ArrayList<>();
+            }
+            if (add) {
+                history.add(url);
+                historyPos = history.size()-1;
+            }
+            fireStateChanged();
         }
-        if (add) {
-            history.add(url);
-            historyPos = history.size()-1;
-        }
-        fireStateChanged();
     }
 }
