Modify

Opened 4 years ago

Closed 17 months ago

#19658 closed defect (irreproducible)

DataIntegrityProblemException: Deleted member referenced after deleting some relation categories [ National parks in Europe by country(11106422) ]

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

Description

What steps will reproduce the problem?

  1. ???

What is the expected result?

What happens instead?

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

Reporting because JOSM told me to report.

Note: I used conflict resolution earlier in https://www.openstreetmap.org/changeset/89149625 on 11106422

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-08-07 18:58:40 +0200 (Fri, 07 Aug 2020)
Revision:16853
Build-Date:2020-08-08 01:30:49
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (16853 en_GB) Linux Ubuntu 20.04.1 LTS
Memory Usage: 705 MB / 976 MB (557 MB allocated, but free)
Java version: 11.0.8+10-post-Ubuntu-0ubuntu120.04, Ubuntu, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920x1080 (scaling 1.0x1.0)
Maximum Screen Size: 1920x1080
Best cursor sizes: 16x16 -> 16x16, 32x32 -> 32x32
Java package: openjdk-11-jre:amd64-11.0.8+10-0ubuntu1~20.04
Java ATK Wrapper package: libatk-wrapper-java:all-0.37.1-1
libcommons-logging-java: libcommons-logging-java:all-1.2-2
fonts-noto: fonts-noto:-

Dataset consistency test:
[DELETED REFERENCED] {Relation id=11106422 version=2 VT [relation 11106421]} refers to deleted primitive {Relation id=11106421 version=6 D]}


Plugins:
+ buildings_tools (35500)
+ measurement (35405)
+ reverter (35499)
+ todo (30306)

Last errors/warnings:
- W: java.net.SocketException: Unexpected end of file from server. Cause: java.net.SocketException: Unexpected end of file from server
- E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Header=<line 3: parse error: Unknown type &quot;r&quot;>, Error Body=<<?xml version="1.0" encoding="UTF-8"?>
- E: Bad Request - <html>The OSM server 'overpass-api.de' reported a bad request.<br><br>Error message(untranslated): line 3: parse error: Unknown type &quot;r&quot; </html>
- E: Error header: Precondition failed: The relation 11106421 is used in relations 11106422.
- E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=412, Error Header=<Precondition failed: The relation 11106421 is used in relations 11106422.>
- E: Object still in use - <html><strong>Failed</strong> to delete <strong>relation 11106421</strong>. It is still referred to by relation 11106422.<br>Please load the relation, remove the reference to the relation, 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: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted member referenced: {Relation id=11106422 version=2 VT [relation 11106421]} (changed by the following commands: )


=== REPORTED CRASH DATA ===
sequence_information:
 - sequence_name: Sequence: Delete
 - sequence_command: Change relation network ("National parks in Europe by country", 1 member)
 - sequence_index: 0
 - sequence_commands: [org.openstreetmap.josm.command.ChangeCommand;org.openstreetmap.josm.command.DeleteCommand]
 - sequence_commands_descriptions: [Change relation network ("National parks in Europe by country", 1 member);Delete 2 relations]

BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (18) of main
org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted member referenced: {Relation id=11106422 version=2 VT [relation 11106421]} (changed by the following commands: )
	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.actions.mapmode.DeleteAction.deleteRelations(DeleteAction.java:367)
	at org.openstreetmap.josm.actions.relation.DeleteRelationsAction.deleteRelation(DeleteRelationsAction.java:37)
	at org.openstreetmap.josm.actions.relation.DeleteRelationsAction.actionPerformed(DeleteRelationsAction.java:48)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
	at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
	at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279)
	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635)
	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
	at java.desktop/java.awt.Component.processEvent(Component.java:6400)
	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

Attachments (0)

Change History (4)

comment:1 by simon04, 4 years ago

Summary: Not sure what happened, I was deleting some relation categories [ National parks in Europe by country(11106422) ]DataIntegrityProblemException: Deleted member referenced after deleting some relation categories [ National parks in Europe by country(11106422) ]

comment:2 by stoecker, 4 years ago

Owner: changed from team to mkoniecz
Status: newneedinfo

Any idea how to reproduce this? Which plugins you used?

comment:3 by anonymous, 4 years ago

Out of plugins listed (buildings_tools, measurement, reverter, todo) AFAIK none was in active use - though maybe some interface was opened and not noticed (especially for todo/measurement).

I have no idea how to trigger it, I reported it solely because JOSM asked me to do this.

comment:4 by mkoniecz, 17 months ago

Resolution: irreproducible
Status: needinfoclosed

never happened again, no idea how to reproduce, reported only because JOSM told me to

Modify Ticket

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