Modify

Opened 6 years ago

Closed 6 years ago

#17513 closed defect (duplicate)

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

Reported by: c933103@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report relation Cc:

Description

What steps will reproduce the problem?

  1. split a highway
  2. add only some of the split highway into a relation
  3. undo the split
  4. click ok to finish the relation editing

What is the expected result?

There should be some sort of process that either prevent undoing a split highway if some of that split highway have been used for relation already, or the highway in relation should be updated accordingly.

What happens instead?

It crash.

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

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-02-02 21:01:18 +0100 (Sat, 02 Feb 2019)
Build-Date:2019-02-04 21:50:11
Revision:14760
Relative:URL: ^/trunk

Identification: JOSM/1.5 (14760 en) Windows 10 64-Bit
OS Build number: Windows 10 Home 1607 (14393)
Memory Usage: 800 MB / 1820 MB (140 MB allocated, but free)
Java version: 1.8.0_202-b08, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1920x1080
Maximum Screen Size: 1920x1080

Dataset consistency test:
[NO DATASET] {Way id=-109120 version=0 MVT> nodes=[{Node id=1653118463 version=4 V lat=22.27904,lon=114.22835}, {Node id=1004684460 version=4 V lat=22.27901,lon=114.22809}]} is referenced by {Relation id=3403758 version=62 VT [way 26469077, way 247881690, way 255232574, way 26468958, way 149397348, way 149397347, way 247789967, way 84578858, way 569668761, way 494253460, way 149397253, way 244299704, way 85392433, way 84578882, way 86918212, way 86918175, way 86918193, way 85392452, way 85404045, way 85485974, way 85485969, way 86289325, way 85392458, way 85392438, way 85460153, way 85460168, way 84474631, way 88608593, way 85392454, way 84474633, way 86222906, way 243671745, way 86222935, way 86918190, way 447712278, way 86222959, way 86222928, way 243672187, way 466854789, way 28104263, way 278030635, way 26562744, way 254825258, way 250755954, way 250756888, way 152494872, way 263827852, way 240143329, way 86463849, way 233035250, way 86463825, way 263826346, way 86463869, way 252270689, way 252270707, way 148193735, way 492853855, way 492853857, way 86811680, way 512157933, way 264757497, way 512157935, way 233035248, way 512157936, way 512157934, way 233035251, way 249898306, way 253660570, way 86385979, way 236255996, way 253660487, way 233035251, way 512157947, way 39950718, way 512157946, way 152494836, way 292511085, way 232985003, way 292515232, way 86811682, way 292525624, way 296716690, way 26562793, way 232985001, way 88521223, way 100133120, way 98557099, way 492399961, way 98557072, way 245221125, way 98557095, way 28380138, way 293838960, way 288199685, way 461849931, way 244379074, way 244381094, way 28380121, way 246639302, way 73379716, way 244381265, way 28808176, way 73379998, way 28808183, way 97816032, way 97816033, way 512136143, way 28808186, way 492626915, way 492626917, way 28808171, way 512124371, way 97816045, way 28808274, way 492642967, way 512136144, way 28808285, way 254023951, way 28808290, way 492637160, way 28808644, way 254024637, way 243675325, way 524157847, way 73379658, way 245215073, way 244379037, way 442798019, way 461849929, way 244379074, way 244381094, way 244379187, way 26989244, way 641173362, way 458073302, way 172520614, way 28808126, way 243666063, way 28808122, way 243666220, way 28808120, way 152494924, way 289970174, way -109120, way 254025675, way 675724675, way 232985006, way 152494842, way 152494840, way 86811728, way 292515118, way 292513518, way 292512608, way 292502155, way 86811732, way 249898638, way 512157946, way 39950718, way 512157947, way 233035251, way 512157934, way 512157936, way 233035248, way 512157935, way 264767199, way 152494900, way 86811708, way 100134862, way 86811675, way 32615247, way 84469782, way 523847065, way 246652722, way 85392465, way 453295142, way 85392459, way 86222905, way 88695258, way 453243709, way 278040049, way 88695242, way 86222962, way 84474638, way 85392435, way 261090062, way 85392420, way 253996139, way 523841892, way 85392443, way 86918187, way 243667969, way 85392427, way 494437355, way 248053108, way 240161920, way 84578854, way 26562735, way 266353235, way 244300009, way 26562729, way 545013893, way 494290878, way 40491386, way 494290880, way 26468964, way 26468960, way 86325233, way 86325213, way 87081213, way 247860248, way 87081163, way 88008309, way 88008405, way 86325218, way 233035249, way 88008364, way 87148763, way 302358889, way 87148773, way 16281897, way 454449770, way 88261016, way 454449768, way 27059099, way 450602304, way 450602300, way 410319743, way 87081198, way 447712277, way 87081208, way 40491106, way 40491101, way 447712280, way 40491088, way 40491085, way 40491079, way 40491076, way 40491039, way 342109874, way 40491075, way 40491049, way 40491054, way 40491045, way 40491070, way 312256591, way 642385666, way 301094021, way 342109870, way 534666978, way 86222877, way 675845490, way 417918049, way 233035253, way 124353607, way 88260997, way 454449769, way 454449770, way 16281897, way 87148773, way 302358889, way 87148763, way 88008392, way 454449770]} but not found in dataset


Plugins:
+ ImportImagePlugin (34576)
+ MicrosoftStreetside (34867)
+ OpenStreetCam (184)
+ PicLayer (34867)
+ SeaChart (34652)
+ apache-commons (34506)
+ apache-http (34632)
+ ejml (34389)
+ geotools (34513)
+ imagery_offset_db (34867)
+ javafx-windows
+ jna (34867)
+ jts (34524)
+ lakewalker (34867)
+ log4j (34527)
+ reverter (34917)
+ turnrestrictions (34867)
+ utilsplugin2 (34915)
+ wms-turbo-challenge2 (34867)

Last errors/warnings:
- W: Plugin javafx-windows requires Java version 10. The current Java version is 8. You have to update Java in order to use this plugin.
- E: unable to find dependency javafx for plugin MicrosoftStreetside
- W: No configuration settings found.  Using hardcoded default values for all pools.
- W: Unsaved changes - <html>The relation has been changed.<br><br>Do you want to save your changes?</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 3403758, way -109120)


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (17) of main
org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Relation member must be part of the same dataset as relation(relation 3403758, way -109120)
	at org.openstreetmap.josm.data.osm.Relation.checkMembers(Relation.java:470)
	at org.openstreetmap.josm.data.osm.Relation.fireMembersChanged(Relation.java:488)
	at org.openstreetmap.josm.data.osm.Relation.setMembers(Relation.java:59)
	at org.openstreetmap.josm.data.osm.Relation.cloneFrom(Relation.java:243)
	at org.openstreetmap.josm.command.ChangeCommand.executeCommand(ChangeCommand.java:65)
	at org.openstreetmap.josm.data.UndoRedoHandler.addNoRedraw(UndoRedoHandler.java:289)
	at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:331)
	at org.openstreetmap.josm.gui.dialogs.relation.actions.SavingAction.applyExistingNonConflictingRelation(SavingAction.java:104)
	at org.openstreetmap.josm.gui.dialogs.relation.actions.SavingAction.applyChanges(SavingAction.java:177)
	at org.openstreetmap.josm.gui.dialogs.relation.actions.OKAction.actionPerformed(OKAction.java:33)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

Attachments (0)

Change History (2)

comment:1 by Don-vip, 6 years ago

Keywords: relation added
Summary: crash during relation editingDataIntegrityProblemException: Relation member must be part of the same dataset as relation

comment:2 by Don-vip, 6 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #16169.

Modify Ticket

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