Opened 6 years ago

Last modified 6 years ago

#16583 closed defect

DataIntegrityProblemException: Primitive must be part of the dataset — at Version 1

Reported by: Polyglot Owned by: Biswesh
Priority: major Milestone:
Component: Plugin pt_assistant Version:
Keywords: template_report relation Cc:

Description (last modified by Don-vip)

What steps will reproduce the problem?

  1. using routing helper functionality

What is the expected result?

What happens instead?

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: 2018-07-29 00:41:59 +0200 (Sun, 29 Jul 2018)
Build-Date:2018-07-29 01:32:17
Revision:14066
Relative:URL: ^/trunk

Identification: JOSM/1.5 (14066 en) Linux Mint 18.3 Sylvia
Memory Usage: 1328 MB / 1733 MB (459 MB allocated, but free)
Java version: 1.8.0_171-8u171-b11-0ubuntu0.16.04.1-b11, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1600x900
Maximum Screen Size: 1600x900
Java package: openjdk-8-jre:amd64-8u171-b11-0ubuntu0.16.04.1
Dataset consistency test: No problems found

Plugins:
+ Mapillary (v1.5.15)
+ OpeningHoursEditor (34389)
+ apache-commons (34389)
+ apache-http (34389)
+ buildings_tools (34212)
+ ejml (34389)
+ geotools (34125)
+ jts (34206)
+ measurement (34206)
+ opendata (34389)
+ pt_assistant (306)
+ reverter (34271)
+ scripting (30785)
+ tag2link (34109)
+ terracer (34109)
+ todo (30305)
+ utilsplugin2 (34389)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/BENELUX&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Trees&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/OneClick&zip=1

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/NumberedCycleNodeNetworks&zip=1

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- W: Unable to delete archived backup file <josm.userdata>/autosave/deleted_layers/PT Barcelona.osm_20180808_125551957.osm
- W: Unsaved changes - <html>You have unsaved changes in this editor window.<br><br>Do you want to discard these changes and reload data from layer?</html>
- W: Unsaved changes - <html>You have unsaved changes in this editor window.<br><br>Do you want to discard these changes and reload data from layer?</html>
- E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Way id=-7678890 version=0 VT> nodes=[{Node id=1944547125 version=1 V lat=42.7000282,lon=2.8865307}, {Node id=271809213 version=2 V lat=42.6999394,lon=2.886576}, {Node id=271809213 version=2 V lat=42.6999394,lon=2.886576}, {Node id=272402867 version=3 V lat=42.699813,lon=2.8866344}, {Node id=272402867 version=3 V lat=42.699813,lon=2.8866344}, {Node id=271809215 version=2 V lat=42.6992823,lon=2.8869002}, {Node id=271809215 version=2 V lat=42.6992823,lon=2.8869002}, {Node id=1161357934 version=1 V lat=42.6990099,lon=2.8870086}, {Node id=1161357934 version=1 V lat=42.6990099,lon=2.8870086}, {Node id=5620373782 version=1 VT lat=42.6986738,lon=2.8871653}, {Node id=5620373782 version=1 VT lat=42.6986738,lon=2.8871653}, {Node id=271809664 version=2 V lat=42.6985135,lon=2.88724}, {Node id=271809664 version=2 V lat=42.6985135,lon=2.88724}, {Node id=271809210 version=3 V lat=42.6984064,lon=2.8872843}, {Node id=271809210 version=3 V lat=42.6984064,lon=2.8872843}, {Node id=1161356878 version=1 V lat=42.6981225,lon=2.8874236}, {Node id=1161356878 version=1 V lat=42.6981225,lon=2.8874236}, {Node id=271811583 version=3 V lat=42.698038,lon=2.887465}, {Node id=271811583 version=3 V lat=42.698038,lon=2.887465}, {Node id=272402816 version=3 V lat=42.6978493,lon=2.8875467}, {Node id=272402816 version=3 V lat=42.6978493,lon=2.8875467}, {Node id=272402806 version=3 V lat=42.6974746,lon=2.8877236}, {Node id=272402806 version=3 V lat=42.6974746,lon=2.8877236}, {Node id=5620373785 version=1 VT lat=42.6974039,lon=2.8877603}, {Node id=5620373785 version=1 VT lat=42.6974039,lon=2.8877603}, {Node id=272402718 version=3 V lat=42.6973333,lon=2.887797}, {Node id=272402718 version=3 V lat=42.6973333,lon=2.887797}, {Node id=271809216 version=2 V lat=42.697292,lon=2.8878362}, {Node id=271809216 version=2 V lat=42.697292,lon=2.8878362}, {Node id=35196688 version=3 V lat=42.6972726,lon=2.8878947}]}


=== REPORTED CRASH DATA ===
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: Primitive must be part of the dataset: {Way id=-7678890 version=0 VT> nodes=[{Node id=1944547125 version=1 V lat=42.7000282,lon=2.8865307}, {Node id=271809213 version=2 V lat=42.6999394,lon=2.886576}, {Node id=271809213 version=2 V lat=42.6999394,lon=2.886576}, {Node id=272402867 version=3 V lat=42.699813,lon=2.8866344}, {Node id=272402867 version=3 V lat=42.699813,lon=2.8866344}, {Node id=271809215 version=2 V lat=42.6992823,lon=2.8869002}, {Node id=271809215 version=2 V lat=42.6992823,lon=2.8869002}, {Node id=1161357934 version=1 V lat=42.6990099,lon=2.8870086}, {Node id=1161357934 version=1 V lat=42.6990099,lon=2.8870086}, {Node id=5620373782 version=1 VT lat=42.6986738,lon=2.8871653}, {Node id=5620373782 version=1 VT lat=42.6986738,lon=2.8871653}, {Node id=271809664 version=2 V lat=42.6985135,lon=2.88724}, {Node id=271809664 version=2 V lat=42.6985135,lon=2.88724}, {Node id=271809210 version=3 V lat=42.6984064,lon=2.8872843}, {Node id=271809210 version=3 V lat=42.6984064,lon=2.8872843}, {Node id=1161356878 version=1 V lat=42.6981225,lon=2.8874236}, {Node id=1161356878 version=1 V lat=42.6981225,lon=2.8874236}, {Node id=271811583 version=3 V lat=42.698038,lon=2.887465}, {Node id=271811583 version=3 V lat=42.698038,lon=2.887465}, {Node id=272402816 version=3 V lat=42.6978493,lon=2.8875467}, {Node id=272402816 version=3 V lat=42.6978493,lon=2.8875467}, {Node id=272402806 version=3 V lat=42.6974746,lon=2.8877236}, {Node id=272402806 version=3 V lat=42.6974746,lon=2.8877236}, {Node id=5620373785 version=1 VT lat=42.6974039,lon=2.8877603}, {Node id=5620373785 version=1 VT lat=42.6974039,lon=2.8877603}, {Node id=272402718 version=3 V lat=42.6973333,lon=2.887797}, {Node id=272402718 version=3 V lat=42.6973333,lon=2.887797}, {Node id=271809216 version=2 V lat=42.697292,lon=2.8878362}, {Node id=271809216 version=2 V lat=42.697292,lon=2.8878362}, {Node id=35196688 version=3 V lat=42.6972726,lon=2.8878947}]}
	at org.openstreetmap.josm.data.osm.OsmPrimitive.checkDataset(OsmPrimitive.java:247)
	at org.openstreetmap.josm.data.osm.OsmPrimitive.getReferrers(OsmPrimitive.java:826)
	at org.openstreetmap.josm.data.osm.OsmPrimitive.getReferrers(OsmPrimitive.java:848)
	at org.openstreetmap.josm.plugins.pt_assistant.actions.MendRelationAction.isRestricted(MendRelationAction.java:1281)
	at org.openstreetmap.josm.plugins.pt_assistant.actions.MendRelationAction.removeInvalidWaysFromParentWays(MendRelationAction.java:1066)
	at org.openstreetmap.josm.plugins.pt_assistant.actions.MendRelationAction.goToNextWays(MendRelationAction.java:818)
	at org.openstreetmap.josm.plugins.pt_assistant.actions.MendRelationAction.downloadAreaAroundWay(MendRelationAction.java:1236)
	at org.openstreetmap.josm.plugins.pt_assistant.actions.MendRelationAction.goToNextWays(MendRelationAction.java:827)
	at org.openstreetmap.josm.plugins.pt_assistant.actions.MendRelationAction.findNextWayAfterDownload(MendRelationAction.java:653)
	at org.openstreetmap.josm.plugins.pt_assistant.actions.MendRelationAction.downloadAreaAroundWay(MendRelationAction.java:1159)
	at org.openstreetmap.josm.plugins.pt_assistant.actions.MendRelationAction.findNextWayBeforeDownload(MendRelationAction.java:621)
	at org.openstreetmap.josm.plugins.pt_assistant.actions.MendRelationAction.callNextWay(MendRelationAction.java:321)
	at org.openstreetmap.josm.plugins.pt_assistant.actions.MendRelationAction.downloadAreaAroundWay(MendRelationAction.java:1200)
	at org.openstreetmap.josm.plugins.pt_assistant.actions.MendRelationAction.callNextWay(MendRelationAction.java:331)
	at org.openstreetmap.josm.plugins.pt_assistant.actions.MendRelationAction.downloadAreaAroundWay(MendRelationAction.java:1200)
	at org.openstreetmap.josm.plugins.pt_assistant.actions.MendRelationAction.callNextWay(MendRelationAction.java:331)
	at org.openstreetmap.josm.plugins.pt_assistant.actions.MendRelationAction.getNextWayAfterSelection(MendRelationAction.java:1974)
	at org.openstreetmap.josm.plugins.pt_assistant.actions.MendRelationAction$2.keyPressed(MendRelationAction.java:1659)
	at java.awt.Component.processKeyEvent(Component.java:6491)
	at javax.swing.JComponent.processKeyEvent(JComponent.java:2832)
	at java.awt.Component.processEvent(Component.java:6310)
	at java.awt.Container.processEvent(Container.java:2238)
	at java.awt.Component.dispatchEventImpl(Component.java:4889)
	at java.awt.Container.dispatchEventImpl(Container.java:2296)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)
	at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:835)
	at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1103)
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:974)
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:800)
	at java.awt.Component.dispatchEventImpl(Component.java:4760)
	at java.awt.Container.dispatchEventImpl(Container.java:2296)
	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:80)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
	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:80)
	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)

Change History (1)

comment:1 by Don-vip, 6 years ago

Description: modified (diff)
Keywords: relation added
Summary: using routing helper functionalityDataIntegrityProblemException: Primitive must be part of the dataset
Note: See TracTickets for help on using tickets.