Modify

Opened 7 years ago

Closed 6 years ago

#12148 closed defect (duplicate)

Data Integrity Exception when trying to revert

Reported by: anonymous Owned by: team
Priority: minor Milestone:
Component: Core Version: tested
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Use plugin Reverter to revert changesets
  2. Since it cannot partly revert properly, I deleted some nodes in the new reverted layer and then merge
  3. Conflicts occurred consequently, but when I resolve some deleted nodes the app crashed

What is the expected result?

resolve the conflict by my choice

What happens instead?

app crashed for some ways referencing deleted nodes

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: 2015-11-24 00:04:12 +0100 (Tue, 24 Nov 2015)
Build-Date:2015-11-23 23:14:21
Revision:9060
Relative:URL: ^/trunk

Identification: JOSM/1.5 (9060 zh_CN) Windows 8 64-Bit
Memory Usage: 107 MB / 247 MB (28 MB allocated, but free)
Java version: 1.8.0_25, Oracle Corporation, Java HotSpot(TM) Client VM
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:C:\Program Files (x86)\Java\jre1.8.0_25\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=C:\Users\foobar\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\56\1ee8cfb8-4622b760, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=26339, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAC1Eam5scC5hcHBsaWNhdGlvbi5ocmVmPWh0dHBzOi8vam9zbS5vcGVuc3RyZWV0bWFwLmRlL2Rvd25sb2FkL2pvc20uam5scAA=]

Dataset consistency test:
[DELETED REFERENCED] {Way id=84245486 version=2 MVT nodes=[{Node id=979931566 version=3 V lat=30.5399697,lon=114.3556237}, {Node id=979931568 version=3 V lat=30.5408581,lon=114.3554368}, {Node id=979931561 version=3 MVD lat=30.5407379,lon=114.3546453}]} refers to deleted primitive {Node id=979931561 version=3 MVD lat=30.5407379,lon=114.3546453}


Plugins:
- geotools (30569)
- jts (30416)
- opendata (30607)
- reverter (31241)
- utilsplugin2 (30460)

Last errors/warnings:
- E: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=84245486 version=2 MVT nodes=[{Node id=979931566 version=3 V lat=30.5399697,lon=114.3556237}, {Node id=979931568 version=3 V lat=30.5408581,lon=114.3554368}, {Node id=979931561 version=3 MVD lat=30.5407379,lon=114.3546453}]}

org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=84245486 version=2 MVT nodes=[{Node id=979931566 version=3 V lat=30.5399697,lon=114.3556237}, {Node id=979931568 version=3 V lat=30.5408581,lon=114.3554368}, {Node id=979931561 version=3 MVD lat=30.5407379,lon=114.3546453}]}
	at org.openstreetmap.josm.data.osm.Way.checkNodes(Way.java:600)
	at org.openstreetmap.josm.data.osm.Way.fireNodesChanged(Way.java:617)
	at org.openstreetmap.josm.data.osm.Way.setNodes(Way.java:74)
	at org.openstreetmap.josm.data.osm.DataSet.unlinkNodeFromWays(DataSet.java:992)
	at org.openstreetmap.josm.data.osm.DataSet.unlinkReferencesToPrimitive(DataSet.java:1048)
	at org.openstreetmap.josm.command.conflict.DeletedStateConflictResolveCommand.deleteMy(DeletedStateConflictResolveCommand.java:75)
	at org.openstreetmap.josm.command.conflict.DeletedStateConflictResolveCommand.executeCommand(DeletedStateConflictResolveCommand.java:62)
	at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:53)
	at org.openstreetmap.josm.data.UndoRedoHandler.addNoRedraw(UndoRedoHandler.java:43)
	at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:69)
	at org.openstreetmap.josm.gui.dialogs.ConflictResolutionDialog$ApplyResolutionAction.actionPerformed(ConflictResolutionDialog.java:234)
	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$400(Unknown Source)
	at java.awt.EventQueue$3.run

Attachments (0)

Change History (1)

comment:1 Changed 6 years ago by skyper

Resolution: duplicate
Status: newclosed

Closed as duplicate of #6529.
Still the old problem

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.

Add Comment


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

 
Note: See TracTickets for help on using tickets.