﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4211	Error when switching up layers	atgnclk@…	team	"When changing josm layers order or switching some of them into active/inactive or making some visible/invisible I get the standart err message with no opportunity to upload edited data directly on the server, although still have the way of saving it into an osm file and exiting the application.
The err message appears after trying to draw a new line or selecting an existed one with data layer active.

I guess the problem may be caused by piclayer plugin I used for adding some more layers.

{{{
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2009-12-20 02:31:44
Last Changed Author: bastiK
Revision: 2662
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2009-12-19 18:56:45 +0100 (Sat, 19 Dec 2009)
Last Changed Rev: 2662

Memory Usage: 40 MB / 508 MB (3 MB allocated, but free)
Java version: 1.6.0_17


Plugins: PicLayer,buildings_tools,lakewalker,multipoly,validator,wmsplugin
Plugin PicLayer Version: 19062
Plugin buildings_tools Version: 26
Plugin lakewalker Version: 18880
Plugin multipoly Version: 19138
Plugin validator Version: 19072
Plugin wmsplugin Version: 18953

java.lang.NullPointerException
	at org.openstreetmap.josm.actions.mapmode.DrawAction.exitMode(DrawAction.java:244)
	at org.openstreetmap.josm.gui.MapFrame.selectMapMode(MapFrame.java:265)
	at org.openstreetmap.josm.actions.mapmode.MapMode.actionPerformed(MapMode.java:72)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.JToggleButton$ToggleButtonModel.setPressed(Unknown Source)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
"	defect	closed	major		Core	latest	duplicate	template_report	
