Index: /trunk/src/org/openstreetmap/josm/gui/io/SaveLayersTableColumnModel.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/io/SaveLayersTableColumnModel.java	(revision 15622)
+++ /trunk/src/org/openstreetmap/josm/gui/io/SaveLayersTableColumnModel.java	(revision 15623)
@@ -7,4 +7,5 @@
 import java.awt.Dimension;
 import java.awt.GridBagLayout;
+import java.util.Objects;
 
 import javax.swing.JLabel;
@@ -66,5 +67,5 @@
                     panel.add(needsSave, DEFAULT_CELL_STYLE);
                     sb.append(tr("Layer ''{0}'' has modifications which should be saved to its associated file ''{1}''.",
-                            htmlInfoName, info.getFile().toString()));
+                            htmlInfoName, Objects.toString(info.getFile())));
                 } else {
                     if (info.isSavable()) {
