Index: applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/DigraphCreationTask.java
===================================================================
--- applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/DigraphCreationTask.java	(revision 28626)
+++ applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/DigraphCreationTask.java	(revision 29525)
@@ -55,5 +55,5 @@
 	protected void finish() {
 		if (canceled) {
-			Main.map.mapView.removeLayer(plugin.getChannelDigraphLayer());
+			Main.main.removeLayer(plugin.getChannelDigraphLayer());
 			return;
 		}
