Index: trunk/src/org/openstreetmap/josm/gui/bbox/SlippyMapBBoxChooser.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/bbox/SlippyMapBBoxChooser.java	(revision 19385)
+++ trunk/src/org/openstreetmap/josm/gui/bbox/SlippyMapBBoxChooser.java	(revision 19386)
@@ -153,5 +153,5 @@
             provider -> provider.getTileSources().stream()
         ).collect(Collectors.toMap(
-            TileSource::getId,
+            ts -> getTileSourceId(ts),
             ts -> ts,
             (oldTs, newTs) -> oldTs,
@@ -160,4 +160,14 @@
     }
 
+    /**
+     * In case the tile source has no ID, use the name
+     */
+    private static String getTileSourceId(TileSource ts) {
+        String id = ts.getId();
+        if (id == null)
+            id = ts.getName();
+        return id;
+    }
+    
     /**
      * Get the distance in meter that correspond to 100 px on screen.
