﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5735	Crash while dragging	Vort_	team	"What steps will reproduce the problem?
 1. Open drop-down menu (""File"" for example)
 2. While it is opened, point mouse anywhere on the map, push left mouse button and drag mouse

What is the expected result?
 Menu is closed

What happens instead?
 Exception

Please provide any additional information below. Attach a screenshot if
possible.

{{{
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2010-12-07 02:31:23
Last Changed Author: bastiK
Revision: 3701
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2010-12-06 21:19:45 +0100 (Mon, 06 Dec 2010)
Last Changed Rev: 3701

Identification: JOSM/1.5 (3701 ru)
Memory Usage: 42 MB / 494 MB (4 MB allocated, but free)
Java version: 1.6.0_22, Sun Microsystems Inc., Java HotSpot(TM) Client VM
Operating system: Windows 7
Dataset consistency test: No problems found

Plugin: imagery (24670)
Plugin: wmsplugin (24223)

java.lang.NullPointerException
	at org.openstreetmap.josm.actions.mapmode.SelectAction.mouseDragged(SelectAction.java:181)
	at java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:303)
	at java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:302)
	at java.awt.Component.processMouseMotionEvent(Component.java:6315)
	at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3285)
	at java.awt.Component.processEvent(Component.java:6036)
	at java.awt.Container.processEvent(Container.java:2041)
	at java.awt.Component.dispatchEventImpl(Component.java:4630)
	at java.awt.Container.dispatchEventImpl(Container.java:2099)
	at java.awt.Component.dispatchEvent(Component.java:4460)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4255)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
	at java.awt.Container.dispatchEventImpl(Container.java:2085)
	at java.awt.Window.dispatchEventImpl(Window.java:2478)
	at java.awt.Component.dispatchEvent(Component.java:4460)
	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	tested	duplicate	mouse, menu, drag	
