Index: /trunk/src/org/openstreetmap/josm/actions/HistoryInfoAction.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/actions/HistoryInfoAction.java	(revision 1432)
+++ /trunk/src/org/openstreetmap/josm/actions/HistoryInfoAction.java	(revision 1433)
@@ -33,4 +33,5 @@
         new Visitor() {
             public void visit(Node n) {
+                if(n.id <= 0) return;
                 OpenBrowser.displayUrl("http://www.openstreetmap.org/browse/node/" + n.id + "/history");
                 sel.add(n);
@@ -38,4 +39,5 @@
 
             public void visit(Way w) {
+                if(w.id <= 0) return;
                 OpenBrowser.displayUrl("http://www.openstreetmap.org/browse/way/" + w.id + "/history");
                 sel.add(w);
@@ -43,4 +45,5 @@
 
             public void visit(Relation e) {
+                if(e.id <= 0) return;
                 OpenBrowser.displayUrl("http://www.openstreetmap.org/browse/relation/" + e.id + "/history");
                 sel.add(e);
@@ -55,5 +58,5 @@
         if (sel.isEmpty()) {
             JOptionPane.showMessageDialog(Main.parent,
-            tr("Please select at least one node, way or relation."));
+            tr("Please select at least one node, way or relation. Only already uploaded elements have a history."));
                 return;
         }
