Modify

Opened 12 years ago

Last modified 7 years ago

#7621 new defect

DataIntegrityProblemException: 'Deleted member referenced' after adding ways to relation

Reported by: pvm96@… Owned by: team
Priority: normal Milestone:
Component: Core Version: tested
Keywords: DataIntegrityProblemException deleted member referenced Cc: ris, naoliv, malenki, dieterdreist

Description

What steps will reproduce the problem?

  1. created some ways
  2. opened an existing relation
  3. added the ways to relation, set role to inner, clicked ok

What is the expected result?
everything should be ok

What happens instead?
a "osm bug" window appears and asks to send a bug report

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

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-04-14 14:26:11
Last Changed Author: simon04
Revision: 5181
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-04-14 12:01:16 +0200 (Sat, 14 Apr 2012)
Last Changed Rev: 5181

Identification: JOSM/1.5 (5181 en)
Memory Usage: 467 MB / 989 MB (63 MB allocated, but free)
Java version: 1.6.0_22, Sun Microsystems Inc., Java HotSpot(TM) Client VM
Operating system: Windows XP

Dataset consistency test:
[DELETED REFERENCED] {Relation id=2140983 version=1 MVT [way 159966832, way -12883, way -14265, way -14027, way -13826, way -13835, way -13716, way -13728, way -13702, way -13663, way -13559, way -14912, way -15114, way -15094, way -14997, way -14953, way -14413, way -14968, way -14886, way -14982, way -14392, way -15038, way -14546, way -14532, way -14381, way -14302, way -14285, way -14364, way -14693, way -14337, way -14407, way -14729, way -14560, way -16167, way -16045, way -16008, way -16104, way -16088, way -16131, way -16238, way -15810, way -15891, way -15915, node -15933, way -15923, way -15960, way -15938, way -15721, way -15766]} refers to deleted primitive {Node id=-15933 version=0 MVD lat=53.80824714097955,lon=82.10623418499418}


Plugin: FastDraw (28167)
Plugin: SimplifyArea (27905)
Plugin: editgpx (28204)

org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted member referenced: {Relation id=2140983 version=1 MVT [way 159966832, way -12883, way -14265, way -14027, way -13826, way -13835, way -13716, way -13728, way -13702, way -13663, way -13559, way -14912, way -15114, way -15094, way -14997, way -14953, way -14413, way -14968, way -14886, way -14982, way -14392, way -15038, way -14546, way -14532, way -14381, way -14302, way -14285, way -14364, way -14693, way -14337, way -14407, way -14729, way -14560, way -16167, way -16045, way -16008, way -16104, way -16088, way -16131, way -16238, way -15810, way -15891, way -15915, node -15933, way -15923, way -15960, way -15938, way -15721, way -15766]}
	at org.openstreetmap.josm.data.osm.Relation.checkMembers(Relation.java:478)
	at org.openstreetmap.josm.data.osm.Relation.fireMembersChanged(Relation.java:485)
	at org.openstreetmap.josm.data.osm.Relation.setMembers(Relation.java:59)
	at org.openstreetmap.josm.data.osm.Relation.cloneFrom(Relation.java:223)
	at org.openstreetmap.josm.command.ChangeCommand.executeCommand(ChangeCommand.java:43)
	at org.openstreetmap.josm.data.UndoRedoHandler.addNoRedraw(UndoRedoHandler.java:36)
	at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:58)
	at org.openstreetmap.josm.gui.dialogs.relation.GenericRelationEditor$SavingAction.applyExistingNonConflictingRelation(GenericRelationEditor.java:1203)
	at org.openstreetmap.josm.gui.dialogs.relation.GenericRelationEditor$OKAction.run(GenericRelationEditor.java:1314)
	at org.openstreetmap.josm.gui.dialogs.relation.GenericRelationEditor$OKAction.actionPerformed(GenericRelationEditor.java:1321)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
	at java.awt.Component.processMouseEvent(Component.java:6267)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
	at java.awt.Component.processEvent(Component.java:6032)
	at java.awt.Container.processEvent(Container.java:2041)
	at java.awt.Component.dispatchEventImpl(Component.java:4630)
	at java.awt.Container.dispatchEventImpl(Container.java:2099)
	at java.awt.Component.dispatchEvent(Component.java:4460)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
	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:4460)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	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 (13)

comment:1 by skyper, 11 years ago

Similar to #6529 and #8766.

comment:2 by skyper, 11 years ago

Ticket #9078 has been marked as a duplicate of this ticket.

comment:3 by skyper, 11 years ago

Cc: ris added
Keywords: DataIntegrityProblemException deleted member referenced added; template_report removed
Version: tested

comment:4 by Don-vip, 10 years ago

Summary: Adding ways to relation caused "a bug" windowDataIntegrityProblemException: 'Deleted member referenced' after adding ways to relation

comment:5 by skyper, 9 years ago

Just happend to me:

What steps will reproduce the problem?

  1. completely revert this changeset to new layer
  2. solved conflicts by keeping all my members and only adding way 326046223 to both relations
  3. downloaded all members of 1108752 and 1108753
  4. (sort 1108752 in relation manager and click "ok")
  5. sort 1108753 in relation manager and click "ok"

What is the expected result?

relation manager closes

What happens instead?

DataIntegrityProblemExeption

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

Not sure what really cased the inconsistency. Might have hit an deleted member.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2015-02-10 02:33:49
Last Changed Author: bastiK
Revision: 8029
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Relative URL: ^/trunk
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2015-02-09 22:04:50 +0100 (Mon, 09 Feb 2015)
Last Changed Rev: 8029

Identification: JOSM/1.5 (8029 en) Linux Debian GNU/Linux 7.8 (wheezy)
Memory Usage: 246 MB / 882 MB (85 MB allocated, but free)
Java version: 1.7.0_75, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u75-2.5.4-1~deb7u1

Dataset consistency test:
[DELETED REFERENCED] {Relation id=1108752 version=20 MVT [way 4866766, way 235394448, way 4867040, way 71523381, way 31649896, way 144891949, way 69992858, way 69992859, way 144907351, way 144907236, way 82459733, way 70686302, way 70686300, way 42696742, way 71523383, way 71523379, way 24982657, way 223361654, way 223361655, way 223361676, way 71897870, way 71523376, way 30579750, way 45391229, way 115631602, way 115631600, way 231237760, way 45899348, way 37077201, way 41452228, way 51205727, way 37077136, way 41452226, way 231237764, way 230622744, way 231237761, way 230622750, way 230622741, way 230622749, way 231237762, way 231237765, way 27605662, way 27605666, way 230622743, way 42021095, way 42021097, way 326046223, way 70686304]} refers to deleted primitive {Way id=70686304 version=11 D nodes=[]}
[DELETED REFERENCED] {Relation id=1108753 version=31 MVT [way 144909134, way 144907720, way 144907535, way 144907224, way 144907236, way 82459733, way 70686302, way 70686300, way 144454343, way 71188274, way 70686299, way 113758596, way 113758688, way 113758622, way 113758666, way 113758580, way 95991120, way 113758589, way 95991108, way 95991101, way 113758611, way 113758634, way 70686284, way 145133736, way 144911248, way 144911147, way 145827515, way 291527338, way 70686297, way 70661520, way 291773588, way 70661519, way 70661527, way 70661526, way 291773587, way 291527339, way 42021097, way 42021095, way 230622743, way 27605666, way 27605662, way 231237765, way 231237762, way 230622749, way 230622741, way 230622750, way 231237761, way 230622744, way 231237764, way 41452226, way 37077136, way 51205727, way 41452228, way 37077201, way 45899348, way 231237760, way 70686304, way 70686294, way 70686293, way 326046223]} refers to deleted primitive {Way id=70686304 version=11 D nodes=[]}


Plugins:
- OpeningHoursEditor (30962)
- conflation (0.1.7)
- download_along (30892)
- imagery-xml-bounds (30892)
- imagery_offset_db (30892)
- jts (30892)
- mirrored_download (30962)
- photoadjust (30964)
- reverter (30953)
- terracer (30892)
- todo (29154)
- undelete (30892)
- utilsplugin2 (30958)
- waydownloader (30892)
- wikipedia (30892)

Last errors/warnings:
- E: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted member referenced: {Relation id=1108753 version=31 MVT [way 144909134, way 144907720, way 144907535, way 144907224, way 144907236, way 82459733, way 70686302, way 70686300, way 144454343, way 71188274, way 70686299, way 113758596, way 113758688, way 113758622, way 113758666, way 113758580, way 95991120, way 113758589, way 95991108, way 95991101, way 113758611, way 113758634, way 70686284, way 145133736, way 144911248, way 144911147, way 145827515, way 291527338, way 70686297, way 70661520, way 291773588, way 70661519, way 70661527, way 70661526, way 291773587, way 291527339, way 42021097, way 42021095, way 230622743, way 27605666, way 27605662, way 231237765, way 231237762, way 230622749, way 230622741, way 230622750, way 231237761, way 230622744, way 231237764, way 41452226, way 37077136, way 51205727, way 41452228, way 37077201, way 45899348, way 231237760, way 70686304, way 70686294, way 70686293]}
- E: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted member referenced: {Relation id=1108752 version=20 MVT [way 4866766, way 115631600, way 115631602, way 45391229, way 30579750, way 71523376, way 71897870, way 223361676, way 223361655, way 223361654, way 24982657, way 71523379, way 71523383, way 42696742, way 70686300, way 70686302, way 82459733, way 144907236, way 144907351, way 69992859, way 69992858, way 144891949, way 31649896, way 71523381, way 4867040, way 235394448, way 70686304, way 231237760, way 45899348, way 37077201, way 41452228, way 51205727, way 37077136, way 41452226, way 231237764, way 230622744, way 231237761, way 230622750, way 230622741, way 230622749, way 231237762, way 231237765, way 27605662, way 27605666, way 230622743, way 42021095, way 42021097]}
- E: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted member referenced: {Relation id=1108752 version=20 VT [way 4866766, way 115631600, way 115631602, way 45391229, way 30579750, way 71523376, way 71897870, way 223361676, way 223361655, way 223361654, way 24982657, way 71523379, way 71523383, way 42696742, way 70686300, way 70686302, way 82459733, way 144907236, way 144907351, way 69992859, way 69992858, way 144891949, way 31649896, way 71523381, way 4867040, way 235394448, way 70686304, way 231237760, way 45899348, way 37077201, way 41452228, way 51205727, way 37077136, way 41452226, way 231237764, way 230622744, way 231237761, way 230622750, way 230622741, way 230622749, way 231237762, way 231237765, way 27605662, way 27605666, way 230622743, way 42021095, way 42021097]}
- E: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted member referenced: {Relation id=1108752 version=20 MVT [way 4866766, way 235394448, way 4867040, way 71523381, way 31649896, way 144891949, way 69992858, way 69992859, way 144907351, way 144907236, way 82459733, way 70686302, way 70686300, way 42696742, way 71523383, way 71523379, way 24982657, way 223361654, way 223361655, way 223361676, way 71897870, way 71523376, way 30579750, way 45391229, way 115631602, way 115631600, way 231237760, way 45899348, way 37077201, way 41452228, way 51205727, way 37077136, way 41452226, way 231237764, way 230622744, way 231237761, way 230622750, way 230622741, way 230622749, way 231237762, way 231237765, way 27605662, way 27605666, way 230622743, way 42021095, way 42021097, way 326046223, way 70686304]}

org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted member referenced: {Relation id=1108752 version=20 MVT [way 4866766, way 235394448, way 4867040, way 71523381, way 31649896, way 144891949, way 69992858, way 69992859, way 144907351, way 144907236, way 82459733, way 70686302, way 70686300, way 42696742, way 71523383, way 71523379, way 24982657, way 223361654, way 223361655, way 223361676, way 71897870, way 71523376, way 30579750, way 45391229, way 115631602, way 115631600, way 231237760, way 45899348, way 37077201, way 41452228, way 51205727, way 37077136, way 41452226, way 231237764, way 230622744, way 231237761, way 230622750, way 230622741, way 230622749, way 231237762, way 231237765, way 27605662, way 27605666, way 230622743, way 42021095, way 42021097, way 326046223, way 70686304]}
	at org.openstreetmap.josm.data.osm.Relation.checkMembers(Relation.java:494)
	at org.openstreetmap.josm.data.osm.Relation.fireMembersChanged(Relation.java:501)
	at org.openstreetmap.josm.data.osm.Relation.setMembers(Relation.java:63)
	at org.openstreetmap.josm.data.osm.Relation.cloneFrom(Relation.java:233)
	at org.openstreetmap.josm.command.ChangeCommand.executeCommand(ChangeCommand.java:65)
	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.relation.GenericRelationEditor$SavingAction.applyExistingNonConflictingRelation(GenericRelationEditor.java:1255)
	at org.openstreetmap.josm.gui.dialogs.relation.GenericRelationEditor$OKAction.run(GenericRelationEditor.java:1368)
	at org.openstreetmap.josm.gui.dialogs.relation.GenericRelationEditor$OKAction.actionPerformed(GenericRelationEditor.java:1376)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
	at java.awt.Component.processMouseEvent(Component.java:6516)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3312)
	at java.awt.Component.processEvent(Component.java:6281)
	at java.awt.Container.processEvent(Container.java:2229)
	at java.awt.Component.dispatchEventImpl(Component.java:4872)
	at java.awt.Container.dispatchEventImpl(Container.java:2287)
	at java.awt.Component.dispatchEvent(Component.java:4698)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
	at java.awt.Container.dispatchEventImpl(Container.java:2273)
	at java.awt.Window.dispatchEventImpl(Window.java:2719)
	at java.awt.Component.dispatchEvent(Component.java:4698)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:740)
	at java.awt.EventQueue.access$300(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:699)
	at java.awt.EventQueue$3.run(EventQueue.java:697)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.awt.EventQueue$4.run(EventQueue.java:713)
	at java.awt.EventQueue$4.run(EventQueue.java:711)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:710)
	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)
Last edited 9 years ago by skyper (previous) (diff)

comment:6 by skyper, 9 years ago

Ticket #10942 has been marked as a duplicate of this ticket.

comment:7 by skyper, 9 years ago

Cc: naoliv added

in reply to:  5 comment:8 by skyper, 9 years ago

Replying to skyper:

Not sure what really cased the inconsistency. Might have hit an deleted member.

Exactly, this way was my problem but the nightmare continued (#11098).

comment:9 by skyper, 9 years ago

Think I found the cause of the data inconsistency at least in my case

  1. revert a relation including a meanwhile deleted member (still incomplete)
  2. download incomplete members

meanwhile deleted member are not present in data set but are still present as member in the relation (and now even shown as complete)

Last edited 9 years ago by skyper (previous) (diff)

comment:10 by skyper, 7 years ago

Ticket #10986 has been marked as a duplicate of this ticket.

comment:11 by skyper, 7 years ago

Cc: malenki added

comment:12 by skyper, 7 years ago

Ticket #12339 has been marked as a duplicate of this ticket.

comment:13 by skyper, 7 years ago

Cc: dieterdreist added

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to pvm96@….
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


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