Index: /trunk/src/org/openstreetmap/josm/gui/layer/gpx/ConvertToDataLayerAction.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/layer/gpx/ConvertToDataLayerAction.java	(revision 9214)
+++ /trunk/src/org/openstreetmap/josm/gui/layer/gpx/ConvertToDataLayerAction.java	(revision 9215)
@@ -92,4 +92,5 @@
         /**
          * Converts a {@link MarkerLayer} to a {@link OsmDataLayer}.
+         * @param layer marker layer
          */
         public FromMarkerLayer(MarkerLayer layer) {
Index: /trunk/src/org/openstreetmap/josm/io/session/GpxTracksSessionExporter.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/io/session/GpxTracksSessionExporter.java	(revision 9214)
+++ /trunk/src/org/openstreetmap/josm/io/session/GpxTracksSessionExporter.java	(revision 9215)
@@ -44,7 +44,12 @@
 
     private final GpxLayer layer;
-    private JRadioButton link, include;
+    private JRadioButton link;
+    private JRadioButton include;
     private JCheckBox export;
 
+    /**
+     * Constructs a new {@code GpxTracksSessionExporter}.
+     * @param layer GPX layer to export
+     */
     public GpxTracksSessionExporter(GpxLayer layer) {
         this.layer = layer;
@@ -78,5 +83,5 @@
         JPanel cardLink = new JPanel(new GridBagLayout());
         final File file = layer.getAssociatedFile();
-        if (file != null) {
+        if (file != null && file.exists()) {
             JosmTextField tf = new JosmTextField();
             tf.setText(file.getPath());
@@ -97,5 +102,5 @@
         cards.add(cardInclude, "include");
 
-        if (file != null) {
+        if (file != null && file.exists()) {
             link.setSelected(true);
         } else {
@@ -136,5 +141,5 @@
                 } else {
                     GuiHelper.setEnabledRec(p, true);
-                    link.setEnabled(file != null);
+                    link.setEnabled(file != null && file.exists());
                 }
             }
Index: /trunk/src/org/openstreetmap/josm/io/session/OsmDataSessionExporter.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/io/session/OsmDataSessionExporter.java	(revision 9214)
+++ /trunk/src/org/openstreetmap/josm/io/session/OsmDataSessionExporter.java	(revision 9215)
@@ -49,7 +49,12 @@
 
     private final OsmDataLayer layer;
-    private JRadioButton link, include;
+    private JRadioButton link;
+    private JRadioButton include;
     private JCheckBox export;
 
+    /**
+     * Constructs a new {@code OsmDataSessionExporter}.
+     * @param layer Data layer to export
+     */
     public OsmDataSessionExporter(OsmDataLayer layer) {
         this.layer = layer;
@@ -62,4 +67,7 @@
 
     private class LayerSaveAction extends AbstractAction {
+        /**
+         * Constructs a new {@code LayerSaveAction}.
+         */
         LayerSaveAction() {
             putValue(SMALL_ICON, new ImageProvider("save").setWidth(16).get());
@@ -105,5 +113,5 @@
         final LayerSaveAction saveAction = new LayerSaveAction();
         final JButton save = new JButton(saveAction);
-        if (file != null) {
+        if (file != null && file.exists()) {
             JosmTextField tf = new JosmTextField();
             tf.setText(file.getPath());
@@ -126,5 +134,5 @@
         cards.add(cardInclude, "include");
 
-        if (file != null) {
+        if (file != null && file.exists()) {
             link.setSelected(true);
         } else {
@@ -166,5 +174,5 @@
                     GuiHelper.setEnabledRec(p, true);
                     save.setEnabled(saveAction.isEnabled());
-                    link.setEnabled(file != null);
+                    link.setEnabled(file != null && file.exists());
                 }
             }
