﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3539	NullPointerException when deleting the only data layer from the context menu	skela	team	"I had downloaded a few regions to a data layer (to fix validation errors) and committed twice to the same changeset that I left open. Then, I right-clicked the data layer in the list of layers and selected the menu item with the trash bin symbol, to delete the layer. The map display was replaced by the startup splash screen, and I got the exception window. The debug information is as follows:

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.0
Created-By: 11.2-b01 (Sun Microsystems Inc.)
Main-class: JOSM
Main-Version: 2066 SVN
Main-Date: 2009-09-05T18:29:48.583227Z
Memory Usage: 37 MB / 496 MB (10 MB allocated, but free)
Java version: 1.6.0_12

Plugins: AgPifoJdataimportopenstreetbugsopenvisibleosmarendervalidator
Plugin AgPifoJ Version: 17363
Plugin dataimport Version: 16382
Plugin openstreetbugs Version: 17410
Plugin openvisible Version: 16587
Plugin osmarender Version: 17379
Plugin validator Version: 17352


java.lang.NullPointerException
	at org.openstreetmap.josm.gui.dialogs.LayerListDialog$LayerList.processMouseEvent(LayerListDialog.java:1037)
	at java.awt.Component.processEvent(Component.java:5981)
	at java.awt.Container.processEvent(Container.java:2041)
	at java.awt.Component.dispatchEventImpl(Component.java:4583)
	at java.awt.Container.dispatchEventImpl(Container.java:2099)
	at java.awt.Component.dispatchEvent(Component.java:4413)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4220)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4150)
	at java.awt.Container.dispatchEventImpl(Container.java:2085)
	at java.awt.Window.dispatchEventImpl(Window.java:2475)
	at java.awt.Component.dispatchEvent(Component.java:4413)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)"	defect	closed	normal		Core		fixed		
