Modify

Opened 8 months ago

Closed 7 months ago

Last modified 7 months ago

#19707 closed defect (duplicate)

DataIntegrityProblemException: Relation member must be part of the same dataset as relation

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

Description

What steps will reproduce the problem?

  1. creating new relation
  2. adding members

What is the expected result? new relation

What happens instead? error

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

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-07-30 12:44:04 +0200 (Thu, 30 Jul 2020)
Revision:16812
Build-Date:2020-07-31 01:30:49
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (16812 de) Windows 10 64-Bit
OS Build number: Windows 10 Pro 2004 (19041)
Memory Usage: 6070 MB / 8192 MB (817 MB allocated, but free)
Java version: 12.0.2+10, AdoptOpenJDK, OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 2560x1440 (scaling 1.0x1.0)
Maximum Screen Size: 2560x1440
Best cursor sizes: 16x16 -> 32x32, 32x32 -> 32x32

Dataset consistency test:
[NO DATASET] {Way id=-120858 version=0 MVT nodes=[{Node id=4124779343 version=1 V lat=48.3344674,lon=9.5163447}, {Node id=1881221318 version=2 V lat=48.334498,lon=9.5163749}, {Node id=1881221335 version=2 V lat=48.3352023,lon=9.5180689}, {Node id=1881221346 version=2 V lat=48.335271,lon=9.5182377}, {Node id=1881221347 version=3 V lat=48.3353081,lon=9.5183401}]} is referenced by {Relation id=-100071 version=0 VT [Linie 438290410, Linie 112789676, Linie -120733, Linie -120737, Linie 410708137, Linie -120764, Linie 410708128, Linie -120779, Linie -120818, Linie 36349058, Linie -120797, Linie 85274977, Linie 36349056, Linie -120858, Linie 410680308, Linie 177698922, Linie -120918, Linie -120942, Linie -121007, Linie 724393780, Linie 33898635, Linie 33898699, Linie -121105, Linie 546996652, Linie 438290405, Linie 112785503]} but not found in dataset
[NO DATASET] {Way id=-120858 version=0 MVT nodes=[{Node id=4124779343 version=1 V lat=48.3344674,lon=9.5163447}, {Node id=1881221318 version=2 V lat=48.334498,lon=9.5163749}, {Node id=1881221335 version=2 V lat=48.3352023,lon=9.5180689}, {Node id=1881221346 version=2 V lat=48.335271,lon=9.5182377}, {Node id=1881221347 version=3 V lat=48.3353081,lon=9.5183401}]} is referenced by {Relation id=-100072 version=0 VT [Linie 438290410, Linie 112789676, Linie -120733, Linie -120737, Linie 410708137, Linie -120764, Linie 410708128, Linie -120779, Linie -120818, Linie 36349058, Linie -120797, Linie 85274977, Linie 36349056, Linie -120858, Linie 410680308, Linie 177698922, Linie -120918, Linie -120942, Linie -121007, Linie 724393780, Linie 33898635, Linie 33898699, Linie -121105, Linie 546996652, Linie 438290405, Linie 112785503]} but not found in dataset


Plugins:
+ DirectDownload (35248)
+ DirectUpload (35499)
+ FastDraw (35499)
+ FixAddresses (35343)
+ HouseNumberTaggingTool (35508)
+ ImproveWay (29)
+ OpeningHoursEditor (35414)
+ PicLayer (35405)
+ PolygonCutOut (v0.7)
+ RelationDissolve (0.2.0)
+ RoadSigns (35510)
+ ShapeTools (1240)
+ SimplifyArea (35405)
+ apache-commons (35362)
+ apache-http (35092)
+ buildings_tools (35500)
+ changeset-viewer (22)
+ contourmerge (v0.1.6)
+ ejml (35313)
+ ext_tools (35499)
+ geotools (35169)
+ gpsblam (35221)
+ gridify (1588746833)
+ jaxb (35092)
+ jna (35092)
+ josm-batch-downloader (1.0.2)
+ jts (35122)
+ log4j (35092)
+ mapathoner (1.0.7)
+ mapwithai (1.6.1)
+ measurement (35405)
+ merge-overlap (35248)
+ namemanager (35248)
+ opendata (35513)
+ openqa (0.1.10)
+ photo_geotagging (35499)
+ photoadjust (35405)
+ rasterfilters (35405)
+ reltoolbox (35405)
+ reverter (35499)
+ tageditor (35258)
+ terracer (35499)
+ turnlanes (35405)
+ turnlanes-tagging (283)
+ turnrestrictions (35515)
+ undelete (35499)
+ utilsplugin2 (35487)
+ waydownloader (35405)
+ wikipedia (1.1.4)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/OneClick&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&preset&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/NewTags&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/hiking_routes_with_trail_marking&zip=1
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/DE.zip

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_buildings&style&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Postcode&style&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&style&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Suburb&style&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Noname&style&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_features&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/ShowID&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_features_ryg&zip=1
- https://pasharm.github.io/New_basic_style_for_JOSM/New_basic_style.mapcss
+ https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1

Validator rules:
+ https://josm.openstreetmap.de/josmfile?page=Rules/GermanySpecific&zip=1

Last errors/warnings:
- W:  Tertiary: Could not get presets icon traffic_signs_presets/ES_tertiary.png
- W: java.net.SocketTimeoutException: Read timed out. Ursache: java.net.SocketTimeoutException: Read timed out
- W: java.net.SocketTimeoutException: Read timed out. Ursache: java.net.SocketTimeoutException: Read timed out
- W: java.net.SocketTimeoutException: Read timed out. Ursache: java.net.SocketTimeoutException: Read timed out
- W: Ungespeicherte Änderungen - <html>Die Relation wurde geändert.<br><br>Wollen Sie die Änderungen speichern?</html>
- E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Header=<line 3: parse error: Value expected - * found.>, Error Body=<<?xml version="1.0" encoding="UTF-8"?>
- E: Fehlerhafte Anfrage - <html>Der OSM-Server »overpass-api.de« meldete eine fehlerhafte Anfrage.<br><br>Fehlermeldung (englisch): line 3: parse error: Value expected - * found. </html>
- W: Datenkonflikt - <html>Diese Relation wurde außerhalb des Editors verändert.<br>Es ist nicht möglich, die Änderungen zu übernehmen und die Bearbeitung fortzusetzen.<br><br>Soll ein Konflikt erstellt und der Editor geschlossen werden?</html>
- E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Relation member must be part of the same dataset as relation(Relation -100071, Linie -120858) (changed by the following commands: )
- E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Relation member must be part of the same dataset as relation(Relation -100072, Linie -120858) (changed by the following commands: )


=== REPORTED CRASH DATA ===
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: Relation member must be part of the same dataset as relation(Relation -100072, Linie -120858) (changed by the following commands: )
	at org.openstreetmap.josm.data.osm.Relation.checkMembers(Relation.java:487)
	at org.openstreetmap.josm.data.osm.Relation.setDataset(Relation.java:471)
	at org.openstreetmap.josm.data.osm.DataSet.lambda$addPrimitive$5(DataSet.java:502)
	at org.openstreetmap.josm.data.osm.DataSet.update(DataSet.java:955)
	at org.openstreetmap.josm.data.osm.DataSet.addPrimitive(DataSet.java:495)
	at org.openstreetmap.josm.command.AddCommand.executeCommand(AddCommand.java:54)
	at org.openstreetmap.josm.data.UndoRedoHandler.addNoRedraw(UndoRedoHandler.java:300)
	at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:354)
	at org.openstreetmap.josm.gui.dialogs.relation.actions.SavingAction.applyNewRelation(SavingAction.java:66)
	at org.openstreetmap.josm.gui.dialogs.relation.actions.SavingAction.applyChanges(SavingAction.java:161)
	at org.openstreetmap.josm.gui.dialogs.relation.actions.OKAction.actionPerformed(OKAction.java:33)
	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:6632)
	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
	at java.desktop/java.awt.Component.processEvent(Component.java:6397)
	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
	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:2762)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
	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(AccessController.java:389)
	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(AccessController.java:389)
	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 (5)

comment:1 Changed 8 months ago by skyper

Is it reproducible ?

Could you, please, give us a step by step description beginning at the start-up of JOSM? Thanks.

comment:2 Changed 8 months ago by simon04

Summary: error when saving new relationDataIntegrityProblemException: Relation member must be part of the same dataset as relation

comment:3 Changed 8 months ago by stoecker

Owner: changed from team to seichter
Status: newneedinfo

comment:4 Changed 7 months ago by GerdP

Resolution: fixed
Status: needinfoclosed

Very likely fixed with r17063, see #19353.

comment:5 Changed 7 months ago by Klumbumbus

Resolution: fixedduplicate

Modify Ticket

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