Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#19864 closed defect (fixed)

DataIntegrityProblemException: Deleted member referenced

Reported by: GerdP Owned by: Upliner
Priority: normal Milestone:
Component: Plugin buildings_tools Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Load attached file
  2. Select both buildings and both address nodes
  3. Use Data -> Merge address points

What is the expected result?

address nodes removed, buildings with address info from node added to associatedStreet relation

What happens instead?

bug report

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

Build-Date:2020-09-28 10:27:01
Revision:17063
Is-Local-Build:true

Identification: JOSM/1.5 (17063 SVN en) Windows 10 64-Bit
OS Build number: Windows 10 Home 2004 (19041)
Memory Usage: 1496 MB / 3641 MB (694 MB allocated, but free)
Java version: 1.8.0_191-b12, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920x1080 (scaling 1.0x1.0)
Maximum Screen Size: 1920x1080
Best cursor sizes: 16x16 -> 32x32, 32x32 -> 32x32
VM arguments: [-agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:50575, -ea, -Dfile.encoding=UTF-8]
Program arguments: [--debug]

Dataset consistency test:
[DELETED REFERENCED] {Relation id=-99746 version=0 MVT [way -101784, node -101761, node -101755, way -102915]} refers to deleted primitive {Node id=-101755 version=16 MVDT lat=81.69081490024992,lon=-144.99332188302705}


Plugins:
+ OpeningHoursEditor (35414)
+ PolygonCutOut (v0.7)
+ apache-commons (35524)
+ buildings_tools (35500)
+ continuosDownload (91)
+ ejml (35313)
+ geotools (35169)
+ gridify (1588746833)
+ jaxb (35092)
+ jts (35122)
+ merge-overlap (35248)
+ o5m (35248)
+ opendata (35513)
+ pbf (35446)
+ poly (35248)
+ reverter (35556)
+ terracer (35560)
+ undelete (35521)
+ utilsplugin2 (35487)

Last errors/warnings:
- 00939.055 E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted member referenced: {Relation id=-99746 version=0 MVT [way -101784, node -101761, node -101755, way -102915]} (changed by the following commands: [Move 1 node])
- 00954.003 W: Warning - <html>JOSM could not find information about the following plugins:<ul><li>apache-commons</li><li>geotools</li><li>o5m</li><li>opendata</li><li>jts</li><li>ejml</li><li>reverter</li><li>continuosDownload</li><li>jaxb</li><li>utilsplugin2</li><li>pbf</li><li>gridify</li><li>OpeningHoursEditor</li><li>PolygonCutOut</li><li>poly</li><li>undelete</li><li>buildings_tools</li><li>terracer</li><li>merge-overlap</li></ul>The plugins are not going to be loaded.</html>


=== REPORTED CRASH DATA ===
sequence_information:
 - sequence_name: Sequence: Merge addresses
 - sequence_command: Change relation associatedStreet ("Street", 4 members) [id: -99,746]
 - sequence_index: 4
 - sequence_commands: [org.openstreetmap.josm.command.ChangePropertyCommand;org.openstreetmap.josm.command.ChangeCommand;org.openstreetmap.josm.command.DeleteCommand;org.openstreetmap.josm.command.ChangePropertyCommand;org.openstreetmap.josm.command.ChangeCommand;org.openstreetmap.josm.command.DeleteCommand]
 - sequence_commands_descriptions: [Set addr:housenumber=16 for way '‎House number 16‎ (4 nodes) [id: -102,916]‌';Change relation associatedStreet ("Street", 4 members) [id: -99,746];Delete node House number 16 [id: -101,755, v16];Set addr:housenumber=18 for way '‎House number 18‎ (4 nodes) [id: -102,915]‌';Change relation associatedStreet ("Street", 4 members) [id: -99,746];Delete node House number 18 [id: -101,754, v16]]

BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (20) of main
org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted member referenced: {Relation id=-99746 version=0 MVT [way -101784, node -101761, node -101755, way -102915]} (changed by the following commands: [Move 1 node])
	at org.openstreetmap.josm.data.osm.Relation.checkMembers(Relation.java:492)
	at org.openstreetmap.josm.data.osm.Relation.fireMembersChanged(Relation.java:504)
	at org.openstreetmap.josm.data.osm.Relation.setMembers(Relation.java:61)
	at org.openstreetmap.josm.data.osm.Relation.cloneFrom(Relation.java:258)
	at org.openstreetmap.josm.data.osm.OsmPrimitive.cloneFrom(OsmPrimitive.java:864)
	at org.openstreetmap.josm.command.ChangeCommand.executeCommand(ChangeCommand.java:67)
	at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:112)
	at org.openstreetmap.josm.data.UndoRedoHandler.addNoRedraw(UndoRedoHandler.java:300)
	at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:354)
	at org.openstreetmap.josm.plugins.buildings_tools.MergeAddrPointsAction.actionPerformed(MergeAddrPointsAction.java:180)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:842)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:886)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
	at java.awt.Component.processMouseEvent(Component.java:6539)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
	at java.awt.Component.processEvent(Component.java:6304)
	at java.awt.Container.processEvent(Container.java:2239)
	at java.awt.Component.dispatchEventImpl(Component.java:4889)
	at java.awt.Container.dispatchEventImpl(Container.java:2297)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
	at java.awt.Container.dispatchEventImpl(Container.java:2283)
	at java.awt.Window.dispatchEventImpl(Window.java:2746)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
	at java.awt.EventQueue$4.run(EventQueue.java:733)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Attachments (1)

data_19864.osm (2.3 KB ) - added by GerdP 4 years ago.

Download all attachments as: .zip

Change History (3)

by GerdP, 4 years ago

Attachment: data_19864.osm added

comment:1 by GerdP, 4 years ago

Resolution: fixed
Status: newclosed

In 35563/osm:

fix #19864: DataIntegrityProblemException: Deleted member referenced

  • create only one change command for each parent relation
  • delete all merged nodes in a final command

comment:2 by GerdP, 4 years ago

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

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. 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.