Index: /trunk/src/org/openstreetmap/josm/gui/layer/geoimage/GeoImageLayer.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/layer/geoimage/GeoImageLayer.java	(revision 19368)
+++ /trunk/src/org/openstreetmap/josm/gui/layer/geoimage/GeoImageLayer.java	(revision 19369)
@@ -864,5 +864,5 @@
      * @return the gpxCorrelateAction
      */
-    public CorrelateGpxWithImages getGpxCorrelateAction() {
+    public synchronized CorrelateGpxWithImages getGpxCorrelateAction() {
         if (gpxCorrelateAction == null) {
             gpxCorrelateAction = new CorrelateGpxWithImages(this);
