﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
8435	[PATCH] Relationship Editor crashes JOSM	Lesath	team	"What steps will reproduce the problem?
 1. Start JOSM, Create a new layer with File-> New Layer
 2. Create a Polygon (doesn't matter how many edges)
 3. Click Tools->Create multipoligon

What is the expected result?

Creation of the multipolygon plus opening of the relationship-editor

What happens instead?

A crash occurs... The multipolygon is created, but can not be edited.

Please provide any additional information below. Attach a screenshot if
possible.

{{{
Build-Date: 2013-02-18 09:11:12
Revision: 5725
Is-Local-Build: true

Identification: JOSM/1.5 (5725 SVN de)
Memory Usage: 369 MB / 507 MB (45 MB allocated, but free)
Java version: 1.6.0_39, Apple Inc., Java HotSpot(TM) 64-Bit Server VM
Operating system: Mac OS X
Dataset consistency test: No problems found

Plugin: OpeningHoursEditor (29210)
Plugin: download_along (29210)
Plugin: turnlanes (29210)
Plugin: turnrestrictions (29210)

java.lang.NullPointerException
	at org.openstreetmap.josm.gui.dialogs.RelationListDialog$RelationListModel.setSelectedRelations(RelationListDialog.java:919)
	at org.openstreetmap.josm.gui.dialogs.RelationListDialog.selectRelations(RelationListDialog.java:300)
	at org.openstreetmap.josm.gui.dialogs.RelationListDialog.selectRelation(RelationListDialog.java:289)
	at org.openstreetmap.josm.actions.CreateMultipolygonAction$1.run(CreateMultipolygonAction.java:115)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:708)
	at java.awt.EventQueue.access$400(EventQueue.java:82)
	at java.awt.EventQueue$2.run(EventQueue.java:669)
	at java.awt.EventQueue$2.run(EventQueue.java:667)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:678)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122
}}}
"	defect	closed	critical		Core	latest	fixed	template_report	
