Opened 9 years ago

Closed 9 years ago

#8866 closed defect (fixed)

Exception after deleting an empty relation

Reported by: anonymous Owned by: team
Priority: normal Milestone:
Component: Core validator Version:
Keywords: template_report Cc:


What steps will reproduce the problem?

  1. wanted to exchange a multipolygon of houses with single houses and therefore deleted relation
  2. deleted inner and then outer
  3. usually there shouldn't be anything left over, but this time there was an empty relation
  4. aborted saving and deleted the empty relation

What is the expected result?
empty relation is deleted without a problem

What happens instead?
an exception

Please provide any additional information below. Attach a screenshot if

Repository Root:
Build-Date: 2013-07-10 01:34:22
Last Changed Author: stoecker
Revision: 6060
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Date: 2013-07-08 22:13:24 +0200 (Mon, 08 Jul 2013)
Last Changed Rev: 6060

Identification: JOSM/1.5 (6060 de) Linux openSUSE 12.3 (x86_64)
Memory Usage: 166 MB / 1768 MB (33 MB allocated, but free)
Java version: 1.7.0_21, Oracle Corporation, OpenJDK 64-Bit Server VM
VM arguments: [-Xbootclasspath/a:/usr/share/icedtea-web/netx.jar:/usr/share/java/js.jar, -Xms8m,, -Dicedtea-web.bin.location=/usr/bin/javaws]
Dataset consistency test: No problems found

Plugin: FixAddresses (29661)
Plugin: HouseNumberTaggingTool (29487)
Plugin: geochat (29592)
Plugin: merge-overlap (29645)
Plugin: terracer (29623)
Plugin: turnrestrictions (29435)
Plugin: waypoint_search (29435)
Plugin: wikipedia (29523)

	at java.util.Collections$
	at org.openstreetmap.josm.gui.dialogs.ValidatorDialog.setSelection(
	at org.openstreetmap.josm.gui.dialogs.ValidatorDialog.access$700(
	at org.openstreetmap.josm.gui.dialogs.ValidatorDialog$SelectionWatch.valueChanged(
	at javax.swing.JTree.fireValueChanged(
	at javax.swing.JTree$TreeSelectionRedirector.valueChanged(
	at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(
	at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(
	at javax.swing.tree.DefaultTreeSelectionModel.addSelectionPaths(
	at javax.swing.tree.DefaultTreeSelectionModel.addSelectionPath(
	at javax.swing.JTree.addSelectionPath(
	at javax.swing.JTree.setExpandedState(
	at javax.swing.JTree.collapsePath(
	at javax.swing.plaf.basic.BasicTreeUI.toggleExpandState(
	at javax.swing.plaf.basic.BasicTreeUI.handleExpandControlClick(
	at javax.swing.plaf.basic.BasicTreeUI.checkForClickInExpandControl(
	at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(
	at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(
	at java.awt.AWTEventMulticaster.mousePressed(
	at java.awt.AWTEventMulticaster.mousePressed(
	at java.awt.Component.processMouseEvent(
	at javax.swing.JComponent.processMouseEvent(
	at java.awt.Component.processEvent(
	at java.awt.Container.processEvent(
	at java.awt.Component.dispatchEventImpl(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.LightweightDispatcher.retargetMouseEvent(
	at java.awt.LightweightDispatcher.processMouseEvent(
	at java.awt.LightweightDispatcher.dispatchEvent(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Window.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.EventQueue.dispatchEventImpl(
	at java.awt.EventQueue.access$200(
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(

Attachments (0)

Change History (4)

comment:1 Changed 9 years ago by skyper

Could you please tell us the id of the relation and/or attach s small example .osm file to reproduce ?


comment:2 Changed 9 years ago by Don-vip

Component: CoreCore validator

Problem looks similar to #8822

comment:3 Changed 9 years ago by gorgonz@…

i'm not exactly here, but i guess, that it was in changeset and there are 3 candidates. hmm, think it was 93462.

comment:4 Changed 9 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 6062/josm:

fix #8866 - NoSuchElementException after deleting an empty relation

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.