Index: /applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/FakeMapView.java
===================================================================
--- /applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/FakeMapView.java	(revision 35044)
+++ /applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/FakeMapView.java	(revision 35045)
@@ -12,4 +12,5 @@
 import org.openstreetmap.josm.data.coor.EastNorth;
 import org.openstreetmap.josm.gui.MapView;
+import org.openstreetmap.josm.gui.layer.MainLayerManager;
 
 /**
@@ -39,5 +40,5 @@
     FakeMapView(MapView parent, double scale) {
         // TODO: MapView constructor contains registering listeners and other code, that probably shouldn't be called in fake map view
-        super(null, null);
+        super(new MainLayerManager(), null);
         this.parent = parent;
         this.scale = scale;
