﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5311	Tried to join (shift-j) to multi-polygons	anonymous	team	"What steps will reproduce the problem?
* Loaded the attached file, selected both water multi-polygons and tried to join them

* Tried with both latest and tested version.

What is the expected result?

* I expected them to become one object

What happens instead?

* error dialog asking to log a bug came up.  

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

{{{
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2010-08-07 01:31:29
Last Changed Author: ulfl
Revision: 3420
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2010-08-06 20:58:09 +0200 (Fri, 06 Aug 2010)
Last Changed Rev: 3420

Identification: JOSM/1.5 (3420 en)
Memory Usage: 600 MB / 1779 MB (124 MB allocated, but free)
Java version: 1.6.0_20, Sun Microsystems Inc., Java HotSpot(TM) 64-Bit Server VM
Operating system: Linux
Dataset consistency test: No problems found

Plugin: AddrInterpolation (21710)
Plugin: DirectUpload (22017)
Plugin: dataimport (20431)
Plugin: editgpx (21706)
Plugin: ext_tools (21930)
Plugin: fuzzer (15)
Plugin: multipoly (22171)
Plugin: openstreetbugs (21706)
Plugin: openvisible (21706)
Plugin: remotecontrol (21706)
Plugin: reverter (22533)
Plugin: slippymap (21706)
Plugin: tageditor (21026)
Plugin: undelete (22365)
Plugin: validator (22204)
Plugin: walkingpapers (21706)
Plugin: waydownloader (21706)
Plugin: wayselector (21706)
Plugin: wmsplugin (22286)

java.lang.NullPointerException
	at org.openstreetmap.josm.data.UndoRedoHandler.addNoRedraw(UndoRedoHandler.java:37)
	at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:59)
	at org.openstreetmap.josm.actions.JoinAreasAction.commitCommands(JoinAreasAction.java:444)
	at org.openstreetmap.josm.actions.JoinAreasAction.joinAreas(JoinAreasAction.java:229)
	at org.openstreetmap.josm.actions.JoinAreasAction.actionPerformed(JoinAreasAction.java:166)
	at javax.swing.SwingUtilities.notifyAction(Unknown Source)
	at javax.swing.JComponent.processKeyBinding(Unknown Source)
	at javax.swing.KeyboardManager.fireBinding(Unknown Source)
	at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
	at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
	at javax.swing.JComponent.processKeyBindings(Unknown Source)
	at javax.swing.JComponent.processKeyEvent(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.KeyboardFocusManager.redispatchEvent(Unknown Source)
	at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
	at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(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	normal		Core	latest	fixed	template_report	MikeyCarter
