Index: trunk/src/org/openstreetmap/josm/gui/history/VersionInfoPanel.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/history/VersionInfoPanel.java	(revision 11304)
+++ trunk/src/org/openstreetmap/josm/gui/history/VersionInfoPanel.java	(revision 11306)
@@ -202,5 +202,7 @@
         if (primitive != null) {
             Changeset cs = primitive.getChangeset();
-            update(cs, model.isLatest(primitive), primitive.getTimestamp(), primitive.getVersion());
+            if (cs != null) {
+                update(cs, model.isLatest(primitive), primitive.getTimestamp(), primitive.getVersion());
+            }
         }
     }
@@ -217,5 +219,5 @@
     /**
      * Updates the content of this panel based on the changeset information given by {@code cs}.
-     * @param cs the changeset information
+     * @param cs the changeset information - must not be null
      * @param isLatest whether this relates to a not yet commited changeset
      * @param timestamp the timestamp
