Modify

Opened 6 years ago

Closed 6 years ago

#9197 closed defect (fixed)

DataIntegrityProblemException with reverter plugin

Reported by: naoliv Owned by: Upliner
Priority: normal Milestone:
Component: Plugin reverter Version: latest
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Open JOSM
  2. Try to revert the changeset 18289381

Ang got this:

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2013-10-16 01:34:20
Last Changed Author: xeen
Revision: 6320
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2013-10-15 09:44:39 +0200 (Tue, 15 Oct 2013)
Last Changed Rev: 6320

Identification: JOSM/1.5 (6320 en) Linux Debian GNU/Linux unstable (sid)
Memory Usage: 241 MB / 1756 MB (126 MB allocated, but free)
Java version: 1.7.0_25, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u25-2.3.12-4
VM arguments: [-Djava.net.useSystemProxies=true, -Dawt.useSystemAAFontSettings=on]

Dataset consistency test:
[DELETED REFERENCED] {Relation id=597999 version=76 VT [way 4614939, way 157321887, way 157321880, way 157321882, way 157321884, way 4327793, way 4588387, way 214444353, way 214444356, way 214570207, way 4588382, way 214444364, way 214444354, way 8149373, way 49733678, way 240213730, way 240213735, way 240213728, way 240213739, way 8149371, way 49733681, way 4588388, way 4588389, way 4300280, way 4588390, way 4588391, way 4300267, way 4546843, way 4547038, way 23441440, way 49670728, way 23441437, way 23441431, way 23441434, way 4547043, way 5028485, way 32343749, way 32343750, way 32343748, way 32343751, way 32318473, way 32318475, way 32318471, way 32318477, way 151439834, way 151439832, way 161189654, way 161189656, way 5028486, way 161189665, way 161189668, way 151439835, way 151439833, way 225571256, way 5028489, way 133757341, way 151300316, way 151300338, way 151300299, way 151798132, way 151300298, way 151300303, way 151300341, way 151300319, way 151300351, way 151300296, way 151300295, way 151300313, way 151300342, way 151300317, way 151300323, way 151300328, way 151300337, way 151300300, way 151300347, way 237978409, way 151304224, way 151304225, way 151304220, way 151304217, way 49733775, way 151300304, way 151300348, way 151300318, way 151300315, way 151300302, way 151300335, way 151300314, way 151300306, way 151300353, way 151300311, way 151300350, way 151300301, way 151300352, way 151300312, way 151300297, way 151300309, way 151300324, way 151300320, way 151300329, way 45347216, way 151304227, way 151304219, way 151304228, way 5028493, way 5028495, way 151304216, way 151304222, way 151304226, way 154057111, way 154057097, way 5028496, way 154057114, way 154057109, way 151304221, way 151304215, way 5028497, way 171468335, way 171468336, way 192032059, way 192032061, way 240325028, way 240325026, way 189242688, way 189242695, way 189242685, way 189242698, way 189242682, way 189242693, way 156650754, way 156650755, way 5028498, way 156650753, way 156650756, way 189242686, way 189242709, way 189242687, way 189242700, way 189242690, way 189242703, way 240325027, way 240325029, way 192032058, way 192032060, way 171468334, way 171468333, way 45665284, way 239833426, way 239833424, way 171810286, way 171810292, way 191966633, way 191966638, way 191962775, way 191962777, way 191966634, way 191966641, way 94962510, way 94962494, way 174781682, way 174781683, way 240586319, way 240586321, way 240586323, way 240586328, way 240586325, way 240586327, way 241200772, way 241200770, way 50711113, way 241200771, way 241200773, way 240586324, way 240586329, way 240586326, way 240586322, way 240586318, way 240586320, way 174781680, way 174781684, way 94962512, way 94962514, way 191966635, way 191966649, way 191962776, way 191962778, way 191966631, way 191966645, way 171810285, way 171810289, way 239833427, way 239833425, way 50711114, way 222952945, way 222952944, way 228389009, way 228389008, way 97630840, way 97630690, way 165788146, way 165788145, way 165788141, way 165788147, way 45665286, way 165788142, way 165788144, way 165788143, way 165788148, way 97630862, way 97630784, way 228389010, way 228389011, way 222952946, way 222952947, way 40341213, way 50710965, way 95013137, way 95013138, way 193611531, way 193611545, way 97332811, way 97332856, way 95013140, way 95013142, way 193611528, way 193611538, way 97332820, way 97332821, way 40338837, way 40338836, way 40338835, way 40338834, way 50710968, way 50710966, way 169840179, way 193611529, way 193611546, way 193611544, way 193611540, way 193611534, way 193611527, way 169840176, way 193611537, way 193611532, way 23979332, way 229953774, way 229953773, way 229953788, way 229953770, way 229953779, way 229953787, way 229953778, way 229953783, way 229953776, way 229953785, way 50710964, way 193611539, way 193611542, way 193611541, way 193611547, way 193611536, way 193611543, way 169840177, way 193611533, way 193611530, way 169840178, way 229953780, way 229953789, way 229953781, way 229953784, way 229953775, way 229953782, way 229953772, way 229953786, way 229953777, way 229953771, way 23979359, way 241173748, way 241173755, way 241173747, way 241173758, way 241173752, way 241173745, way 241173753, way 241173744, way 100197738, way 100197777, way 160017162, way 160017176, way 161910907, way 161910893, way 99859200, way 99859199, way 174861027, way 174861045, way 173672161, way 173672154, way 94747538, way 94747540, way 234852098, way 234852093, way 234852097, way 234852096, way 234852090, way 234852104, way 234852092, way 234852105, way 234852094, way 234852106, way 99697953, way 99697963, way 155295937, way 155295939, way 234734045, way 234734043, way 84530796, way 84530784, way 230272593, way 230272596, way 189775742, way 189775744, way 231168107, way 231168108, way 189247496, way 189247498, way 204434903, way 204434902, way 227256701, way 227256690, way 227256698, way 227256706, way 220941907, way 220941909, way 191812140, way 191812143, way 186550326, way 186550332, way 224816411, way 224816413, way 23979331, way 224816410, way 224816412, way 186550327, way 186550329, way 191812137, way 191812142, way 220941908, way 220941906, way 227256696, way 227256693, way 227256704, way 227256708, way 204434904, way 204434909, way 189247497, way 189247499, way 231168106, way 231168109, way 189775743, way 189775745, way 230272594, way 230272595, way 84530790, way 84530793, way 234734044, way 234734046, way 234830883, way 234830887, way 99697956, way 99697959, way 234852095, way 234852101, way 234852089, way 234852103, way 234852088, way 234852100, way 234852099, way 234852091, way 234852102, way 94747537, way 94747539, way 173672155, way 173672163, way 174861048, way 174861050, way 99859202, way 99859201, way 161910910, way 161910882, way 160017174, way 160017163, way 100197747, way 100197780, way 241173751, way 241173743, way 241173749, way 241173757, way 241173750, way 241173756, way 241173746, way 241173754, way 23981661, way 160015171, way 160015170, way 160015165, way 160015173, way 94754636, way 94830437, way 94754620, way 94754626, way 94754617, way 94754631, way 92235858, way 92235855, way 23899118, way 92235871, way 92235850, way 94754621, way 94754619, way 94754635, way 94754627, way 94830435, way 94754628, way 160015160, way 160015162, way 160015159, way 160015176, way 49733680, way 49733679, way 8149372, way 50711116, way 50711115, way 40341212, way 40341216]} refers to deleted primitive {Way id=45665286 version=12 D nodes=[]}
[WARN - NO NODES] Way {Way id=237602866 version=3 MT nodes=[{Node id=2454824941 version=1 V lat=-22.0087941,lon=-47.3421108}]} has only one node
[WARN - NO NODES] Way {Way id=186662915 version=2 MT> nodes=[{Node id=1974066989 version=2 V lat=-22.070146,lon=-46.9784097}]} has only one node
[WARN - NO NODES] Way {Way id=205627021 version=4 MT nodes=[{Node id=2155970460 version=2 V lat=-21.9948208,lon=-46.8081397}]} has only one node


Plugin: AddrInterpolation (29854)
Plugin: Create_grid_of_ways (29854)
Plugin: ImageryCache (29946)
Plugin: PicLayer (29854)
Plugin: SimplifyArea (30017)
Plugin: buildings_tools (30010)
Plugin: editgpx (29854)
Plugin: geotools (29767)
Plugin: jts (29854)
Plugin: merge-overlap (29854)
Plugin: opendata (30017)
Plugin: pdfimport (29913)
Plugin: reverter (30017)
Plugin: tagging-preset-tester (30017)
Plugin: turnrestrictions (29854)
Plugin: undelete (29854)
Plugin: utilsplugin2 (30017)

org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted member referenced: {Relation id=597999 version=76 VT [way 4614939, way 157321887, way 157321880, way 157321882, way 157321884, way 4327793, way 4588387, way 214444353, way 214444356, way 214570207, way 4588382, way 214444364, way 214444354, way 8149373, way 49733678, way 240213730, way 240213735, way 240213728, way 240213739, way 8149371, way 49733681, way 4588388, way 4588389, way 4300280, way 4588390, way 4588391, way 4300267, way 4546843, way 4547038, way 23441440, way 49670728, way 23441437, way 23441431, way 23441434, way 4547043, way 5028485, way 32343749, way 32343750, way 32343748, way 32343751, way 32318473, way 32318475, way 32318471, way 32318477, way 151439834, way 151439832, way 161189654, way 161189656, way 5028486, way 161189665, way 161189668, way 151439835, way 151439833, way 225571256, way 5028489, way 133757341, way 151300316, way 151300338, way 151300299, way 151798132, way 151300298, way 151300303, way 151300341, way 151300319, way 151300351, way 151300296, way 151300295, way 151300313, way 151300342, way 151300317, way 151300323, way 151300328, way 151300337, way 151300300, way 151300347, way 237978409, way 151304224, way 151304225, way 151304220, way 151304217, way 49733775, way 151300304, way 151300348, way 151300318, way 151300315, way 151300302, way 151300335, way 151300314, way 151300306, way 151300353, way 151300311, way 151300350, way 151300301, way 151300352, way 151300312, way 151300297, way 151300309, way 151300324, way 151300320, way 151300329, way 45347216, way 151304227, way 151304219, way 151304228, way 5028493, way 5028495, way 151304216, way 151304222, way 151304226, way 154057111, way 154057097, way 5028496, way 154057114, way 154057109, way 151304221, way 151304215, way 5028497, way 171468335, way 171468336, way 192032059, way 192032061, way 240325028, way 240325026, way 189242688, way 189242695, way 189242685, way 189242698, way 189242682, way 189242693, way 156650754, way 156650755, way 5028498, way 156650753, way 156650756, way 189242686, way 189242709, way 189242687, way 189242700, way 189242690, way 189242703, way 240325027, way 240325029, way 192032058, way 192032060, way 171468334, way 171468333, way 45665284, way 239833426, way 239833424, way 171810286, way 171810292, way 191966633, way 191966638, way 191962775, way 191962777, way 191966634, way 191966641, way 94962510, way 94962494, way 174781682, way 174781683, way 240586319, way 240586321, way 240586323, way 240586328, way 240586325, way 240586327, way 241200772, way 241200770, way 50711113, way 241200771, way 241200773, way 240586324, way 240586329, way 240586326, way 240586322, way 240586318, way 240586320, way 174781680, way 174781684, way 94962512, way 94962514, way 191966635, way 191966649, way 191962776, way 191962778, way 191966631, way 191966645, way 171810285, way 171810289, way 239833427, way 239833425, way 50711114, way 222952945, way 222952944, way 228389009, way 228389008, way 97630840, way 97630690, way 165788146, way 165788145, way 165788141, way 165788147, way 45665286, way 165788142, way 165788144, way 165788143, way 165788148, way 97630862, way 97630784, way 228389010, way 228389011, way 222952946, way 222952947, way 40341213, way 50710965, way 95013137, way 95013138, way 193611531, way 193611545, way 97332811, way 97332856, way 95013140, way 95013142, way 193611528, way 193611538, way 97332820, way 97332821, way 40338837, way 40338836, way 40338835, way 40338834, way 50710968, way 50710966, way 169840179, way 193611529, way 193611546, way 193611544, way 193611540, way 193611534, way 193611527, way 169840176, way 193611537, way 193611532, way 23979332, way 229953774, way 229953773, way 229953788, way 229953770, way 229953779, way 229953787, way 229953778, way 229953783, way 229953776, way 229953785, way 50710964, way 193611539, way 193611542, way 193611541, way 193611547, way 193611536, way 193611543, way 169840177, way 193611533, way 193611530, way 169840178, way 229953780, way 229953789, way 229953781, way 229953784, way 229953775, way 229953782, way 229953772, way 229953786, way 229953777, way 229953771, way 23979359, way 241173748, way 241173755, way 241173747, way 241173758, way 241173752, way 241173745, way 241173753, way 241173744, way 100197738, way 100197777, way 160017162, way 160017176, way 161910907, way 161910893, way 99859200, way 99859199, way 174861027, way 174861045, way 173672161, way 173672154, way 94747538, way 94747540, way 234852098, way 234852093, way 234852097, way 234852096, way 234852090, way 234852104, way 234852092, way 234852105, way 234852094, way 234852106, way 99697953, way 99697963, way 155295937, way 155295939, way 234734045, way 234734043, way 84530796, way 84530784, way 230272593, way 230272596, way 189775742, way 189775744, way 231168107, way 231168108, way 189247496, way 189247498, way 204434903, way 204434902, way 227256701, way 227256690, way 227256698, way 227256706, way 220941907, way 220941909, way 191812140, way 191812143, way 186550326, way 186550332, way 224816411, way 224816413, way 23979331, way 224816410, way 224816412, way 186550327, way 186550329, way 191812137, way 191812142, way 220941908, way 220941906, way 227256696, way 227256693, way 227256704, way 227256708, way 204434904, way 204434909, way 189247497, way 189247499, way 231168106, way 231168109, way 189775743, way 189775745, way 230272594, way 230272595, way 84530790, way 84530793, way 234734044, way 234734046, way 234830883, way 234830887, way 99697956, way 99697959, way 234852095, way 234852101, way 234852089, way 234852103, way 234852088, way 234852100, way 234852099, way 234852091, way 234852102, way 94747537, way 94747539, way 173672155, way 173672163, way 174861048, way 174861050, way 99859202, way 99859201, way 161910910, way 161910882, way 160017174, way 160017163, way 100197747, way 100197780, way 241173751, way 241173743, way 241173749, way 241173757, way 241173750, way 241173756, way 241173746, way 241173754, way 23981661, way 160015171, way 160015170, way 160015165, way 160015173, way 94754636, way 94830437, way 94754620, way 94754626, way 94754617, way 94754631, way 92235858, way 92235855, way 23899118, way 92235871, way 92235850, way 94754621, way 94754619, way 94754635, way 94754627, way 94830435, way 94754628, way 160015160, way 160015162, way 160015159, way 160015176, way 49733680, way 49733679, way 8149372, way 50711116, way 50711115, way 40341212, way 40341216]}
	at org.openstreetmap.josm.data.osm.Relation.checkMembers(Relation.java:496)
	at org.openstreetmap.josm.data.osm.Relation.fireMembersChanged(Relation.java:503)
	at org.openstreetmap.josm.data.osm.Relation.setMembers(Relation.java:61)
	at org.openstreetmap.josm.data.osm.Relation.cloneFrom(Relation.java:231)
	at org.openstreetmap.josm.command.ChangeCommand.executeCommand(ChangeCommand.java:57)
	at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:51)
	at org.openstreetmap.josm.data.UndoRedoHandler.addNoRedraw(UndoRedoHandler.java:36)
	at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:58)
	at reverter.RevertChangesetTask$1.run(RevertChangesetTask.java:101)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
	at java.awt.EventQueue.access$200(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:694)
	at java.awt.EventQueue$3.run(EventQueue.java:692)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154)
	at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
	at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
	at java.awt.Dialog.show(Dialog.java:1082)
	at java.awt.Component.show(Component.java:1651)
	at java.awt.Component.setVisible(Component.java:1603)
	at java.awt.Window.setVisible(Window.java:1014)
	at java.awt.Dialog.setVisible(Dialog.java:1005)
	at org.openstreetmap.josm.gui.progress.PleaseWaitProgressMonitor$4.run(PleaseWaitProgressMonitor.java:172)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
	at java.awt.EventQueue.access$200(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:694)
	at java.awt.EventQueue$3.run(EventQueue.java:692)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Attachments (0)

Change History (4)

comment:1 Changed 6 years ago by Don-vip

Resolution: wontfix
Status: newclosed

comment:2 Changed 6 years ago by naoliv

Resolution: wontfix
Status: closedreopened

But there are two things here:
1) it should give a friendly message instead crashing
2) I have a valid use for this: to see what and where things were modified by the revert

Sometimes I use the plugin to visualy see what has changed.

comment:3 Changed 6 years ago by Don-vip

I can do point 1.
But for point 2 you'll have to use another tool, it is not technically possible with this plugin, even we would like to support this.

comment:4 Changed 6 years ago by Don-vip

Resolution: fixed
Status: reopenedclosed

Fixed in [o30031].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Upliner.
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.