Modify

Opened 2 years ago

Closed 8 months ago

#6365 closed defect (needinfo)

Exception after removing a duplicated way found with the validator

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

Description (last modified by simon04)

What steps will reproduce the problem?
I haven't tried to reproduce it, but here's what I did:

  1. Use the validator. It finds a duplicated way. (There were actually 3 ways with the same nodes. Originally they all had the same tags. One had been edited.)
  2. Remove the two unedited copies, and upload.
  3. Click back in the validation results box.

What is the expected result?
No exception.

What happens instead?
Exception.

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

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2011-04-26 01:31:34
Last Changed Author: bastiK
Revision: 4064
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2011-04-25 20:32:26 +0200 (Mon, 25 Apr 2011)
Last Changed Rev: 4064

Identification: JOSM/1.5 (4064 en)
Memory Usage: 63 MB / 245 MB (15 MB allocated, but free)
Java version: 1.6.0_24, Sun Microsystems Inc., Java HotSpot(TM) Client VM
Operating system: Linux
Dataset consistency test: No problems found


org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Way id=34686541 version=1 MDT> nodes=[]}
	at org.openstreetmap.josm.data.osm.OsmPrimitive.checkDataset(OsmPrimitive.java:343)
	at org.openstreetmap.josm.data.osm.OsmPrimitive.getReferrers(OsmPrimitive.java:1287)
	at org.openstreetmap.josm.data.validation.tests.DuplicateWay.isFixable(DuplicateWay.java:251)
	at org.openstreetmap.josm.data.validation.TestError.isFixable(TestError.java:216)
	at org.openstreetmap.josm.gui.dialogs.ValidatorDialog.setSelection(ValidatorDialog.java:391)
	at org.openstreetmap.josm.gui.dialogs.ValidatorDialog.access$400(ValidatorDialog.java:67)
	at org.openstreetmap.josm.gui.dialogs.ValidatorDialog$ClickWatch.mouseClicked(ValidatorDialog.java:434)
	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
	at java.awt.Component.processMouseEvent(Component.java:6292)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
	at java.awt.Component.processEvent(Component.java:6054)
	at java.awt.Container.processEvent(Container.java:2041)
	at java.awt.Component.dispatchEventImpl(Component.java:4652)
	at java.awt.Container.dispatchEventImpl(Container.java:2099)
	at java.awt.Component.dispatchEvent(Component.java:4482)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4247)
	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:4482)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
	at java.awt.EventQueue.access$000(EventQueue.java:85)
	at java.awt.EventQueue$1.run(EventQueue.java:603)
	at java.awt.EventQueue$1.run(EventQueue.java:601)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
	at java.awt.EventQueue$2.run(EventQueue.java:617)
	at java.awt.EventQueue$2.run(EventQueue.java:615)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
	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

Attachments (0)

Change History (4)

comment:1 Changed 13 months ago by simon04

  • Component changed from Core to Core validator
  • Description modified (diff)

comment:2 Changed 9 months ago by skyper

  • Owner changed from team to anonymous
  • Status changed from new to needinfo

Does this still happen ?

Should have been fixed a while ago.

comment:3 Changed 9 months ago by Don-vip

Possibly fixed in r5415.

comment:4 Changed 8 months ago by stoecker

  • Resolution set to needinfo
  • Status changed from needinfo to closed

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.