Modify

Opened 9 years ago

Closed 9 years ago

#13349 closed defect (duplicate)

Deleting overnoded data in China causes "report bug" screen to appear

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

Description

What steps will reproduce the problem?

  1. Delete relations, nodes and ways in vicinity of https://www.openstreetmap.org/changeset/39092693
  2. "check on server" when prompted

What is the expected result?

Not falling over

What happens instead?

JOSM falls over.

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

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-08-11 21:54:24 +0200 (Thu, 11 Aug 2016)
Build-Date:2016-08-11 22:36:05
Revision:10786
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10786 en_GB) Windows 7 64-Bit
Memory Usage: 440 MB / 875 MB (214 MB allocated, but free)
Java version: 1.8.0_101-b13, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM

Dataset consistency test:
[DELETED REFERENCED] {Way id=409963539 version=3 V nodes=[{Node id=4118319196 version=1 VD lat=30.550699,lon=114.5055012}, {Node id=4118319192 version=1 V lat=30.5506334,lon=114.5054518}, {Node id=4118319188 version=1 V lat=30.5505789,lon=114.5054106}, {Node id=4118319185 version=1 V lat=30.5505323,lon=114.505376}, {Node id=4118319177 version=1 V lat=30.5504434,lon=114.5053109}, {Node id=4118319174 version=1 V lat=30.5503561,lon=114.5052516}, {Node id=4118319172 version=1 V lat=30.5502293,lon=114.5051651}, {Node id=4118319160 version=1 V lat=30.549543,lon=114.5047009}, {Node id=4118319152 version=1 V lat=30.5491593,lon=114.504462}, {Node id=4118319150 version=1 V lat=30.5490484,lon=114.504395}, {Node id=4118319148 version=1 V lat=30.5490226,lon=114.5043789}, {Node id=4118319140 version=1 V lat=30.5486768,lon=114.5041692}, {Node id=4118319136 version=1 V lat=30.5484489,lon=114.504031}]} refers to deleted primitive {Node id=4118319196 version=1 VD lat=30.550699,lon=114.5055012}


Plugins:
+ continuosDownload (53)
+ reverter (32796)
+ todo (29154)
+ undelete (32699)

Last errors/warnings:
- E: Error header: Precondition failed: Way 409963562 is still used by relations 6134440.
- E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=412, Error Header=<Precondition failed: Way 409963562 is still used by relations 6134440.>
- E: Object still in use - <html><strong>Failed</strong> to delete <strong>way 409963562</strong>. It is still referred to by relation 6134440.<br>Please load the relation, remove the reference to the way, and upload again.<br><br>Click <strong>Prepare conflict resolution</strong> to load them now.<br>If necessary JOSM will create conflicts which you can resolve in the Conflict Resolution dialogue.</html>
- E: Error header: Precondition failed: Node 4118319196 is still used by ways 409963539,409963546.
- E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=412, Error Header=<Precondition failed: Node 4118319196 is still used by ways 409963539,409963546.>
- E: Object still in use - <html><strong>Failed</strong> to delete <strong>node 4118319196</strong>. It is still referred to by ways [409963539, 409963546].<br>Please load the ways, remove the reference to the node, and upload again.<br><br>Click <strong>Prepare conflict resolution</strong> to load them now.<br>If necessary JOSM will create conflicts which you can resolve in the Conflict Resolution dialogue.</html>
- W: Conflicts detected - <html>There were 8 conflicts detected.</html>
- W: Conflicts detected - <html>There were 30 conflicts detected.</html>
- W: Deleted or moved objects - <html>There are 99 objects in your local dataset which might be deleted on the server.<br>If you later try to delete or update them the server is likely to report a conflict.<br>Click <strong>Check on the server</strong> to check the state of these objects on the server.<br>Click <strong>Ignore</strong> to ignore.</html>
- E: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=409963539 version=3 V nodes=[{Node id=4118319196 version=1 VD lat=30.550699,lon=114.5055012}, {Node id=4118319192 version=1 V lat=30.5506334,lon=114.5054518}, {Node id=4118319188 version=1 V lat=30.5505789,lon=114.5054106}, {Node id=4118319185 version=1 V lat=30.5505323,lon=114.505376}, {Node id=4118319177 version=1 V lat=30.5504434,lon=114.5053109}, {Node id=4118319174 version=1 V lat=30.5503561,lon=114.5052516}, {Node id=4118319172 version=1 V lat=30.5502293,lon=114.5051651}, {Node id=4118319160 version=1 V lat=30.549543,lon=114.5047009}, {Node id=4118319152 version=1 V lat=30.5491593,lon=114.504462}, {Node id=4118319150 version=1 V lat=30.5490484,lon=114.504395}, {Node id=4118319148 version=1 V lat=30.5490226,lon=114.5043789}, {Node id=4118319140 version=1 V lat=30.5486768,lon=114.5041692}, {Node id=4118319136 version=1 V lat=30.5484489,lon=114.504031}]}


=== REPORTED CRASH DATA ===
BugReportExceptionHandler$BugReporterThread#askForBugReport:
No data collected.

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (18) of main
org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=409963539 version=3 V nodes=[{Node id=4118319196 version=1 VD lat=30.550699,lon=114.5055012}, {Node id=4118319192 version=1 V lat=30.5506334,lon=114.5054518}, {Node id=4118319188 version=1 V lat=30.5505789,lon=114.5054106}, {Node id=4118319185 version=1 V lat=30.5505323,lon=114.505376}, {Node id=4118319177 version=1 V lat=30.5504434,lon=114.5053109}, {Node id=4118319174 version=1 V lat=30.5503561,lon=114.5052516}, {Node id=4118319172 version=1 V lat=30.5502293,lon=114.5051651}, {Node id=4118319160 version=1 V lat=30.549543,lon=114.5047009}, {Node id=4118319152 version=1 V lat=30.5491593,lon=114.504462}, {Node id=4118319150 version=1 V lat=30.5490484,lon=114.504395}, {Node id=4118319148 version=1 V lat=30.5490226,lon=114.5043789}, {Node id=4118319140 version=1 V lat=30.5486768,lon=114.5041692}, {Node id=4118319136 version=1 V lat=30.5484489,lon=114.504031}]}
	at org.openstreetmap.josm.data.osm.Way.checkNodes(Way.java:597)
	at org.openstreetmap.josm.data.osm.Way.fireNodesChanged(Way.java:613)
	at org.openstreetmap.josm.data.osm.Way.setNodes(Way.java:74)
	at org.openstreetmap.josm.data.osm.DataSet.unlinkNodeFromWays(DataSet.java:1006)
	at org.openstreetmap.josm.data.osm.DataSet.unlinkReferencesToPrimitive(DataSet.java:1062)
	at org.openstreetmap.josm.command.conflict.DeletedStateConflictResolveCommand.deleteMy(DeletedStateConflictResolveCommand.java:76)
	at org.openstreetmap.josm.command.conflict.DeletedStateConflictResolveCommand.executeCommand(DeletedStateConflictResolveCommand.java:59)
	at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:54)
	at org.openstreetmap.josm.data.UndoRedoHandler.addNoRedraw(UndoRedoHandler.java:52)
	at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:85)
	at org.openstreetmap.josm.gui.dialogs.ConflictResolutionDialog$ApplyResolutionAction.actionPerformed(ConflictResolutionDialog.java:238)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(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.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(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.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(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.pumpEventsForFilter(Unknown Source)
	at java.awt.WaitDispatchSupport$2.run(Unknown Source)
	at java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.WaitDispatchSupport.enter(Unknown Source)
	at java.awt.Dialog.show(Unknown Source)
	at java.awt.Component.show(Unknown Source)
	at java.awt.Component.setVisible(Unknown Source)
	at java.awt.Window.setVisible(Unknown Source)
	at java.awt.Dialog.setVisible(Unknown Source)
	at org.openstreetmap.josm.gui.dialogs.ConflictResolutionDialog.setVisible(ConflictResolutionDialog.java:71)
	at org.openstreetmap.josm.gui.dialogs.ConflictDialog.resolve(ConflictDialog.java:220)
	at org.openstreetmap.josm.gui.dialogs.ConflictDialog.access$200(ConflictDialog.java:76)
	at org.openstreetmap.josm.gui.dialogs.ConflictDialog$ResolveAction.actionPerformed(ConflictDialog.java:434)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(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.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(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.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(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)

Attachments (0)

Change History (1)

comment:1 by Don-vip, 9 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #13348.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.