﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
8487	Copy & edit relation while a filter is active	fmarchal@…	team	"What steps will reproduce the problem?
 1. Enter a filter in the relation list.
 2. Select a relation in the list.
 3. Click on the button to copy and edit the relation.
 4. Save the newly edited relation.

What is the expected result?

The relation should be added silently to the list.

What happens instead?

A message pops up asking to report the error.

Please provide any additional information below. Attach a screenshot if
possible.

{{{
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2013-02-06 02:31:34
Last Changed Author: Don-vip
Revision: 5697
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2013-02-06 01:35:48 +0100 (Wed, 06 Feb 2013)
Last Changed Rev: 5697

Identification: JOSM/1.5 (5697 fr)
Memory Usage: 734 MB / 862 MB (456 MB allocated, but free)
Java version: 1.6.0_18, Sun Microsystems Inc., OpenJDK 64-Bit Server VM
Operating system: Linux
Dataset consistency test: No problems found

Plugin: DirectUpload (29210)
Plugin: FixAddresses (29210)
Plugin: download_along (29210)
Plugin: editgpx (29210)
Plugin: photo_geotagging (29210)

java.lang.NullPointerException
	at javax.swing.JComponent.scrollRectToVisible(JComponent.java:3062)
	at org.openstreetmap.josm.gui.dialogs.RelationListDialog.selectRelations(RelationListDialog.java:296)
	at org.openstreetmap.josm.gui.dialogs.RelationListDialog.selectRelation(RelationListDialog.java:282)
	at org.openstreetmap.josm.gui.dialogs.relation.GenericRelationEditor$SavingAction$1.run(GenericRelationEditor.java:1181)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
	at java.awt.EventQueue.access$000(EventQueue.java:96)
	at java.awt.EventQueue$1.run(EventQueue.java:608)
	at java.awt.EventQueue$1.run(EventQueue.java:606)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:617)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:138
}}}
"	defect	closed	normal		Core	latest	duplicate	template_report	
