Modify

Opened 3 months ago

Last modified 6 weeks ago

#15008 new defect

DataIntegrityProblemException: Primitive must be part of the dataset

Reported by: geri-oc Owned by: team
Priority: critical Milestone:
Component: Plugin turnrestrictions Version:
Keywords: template_report Cc: bastik, stoecker, Klumbumbus, michael2402

Description (last modified by Don-vip)

translation from comment:1:

The error occurred after (accidentaly) unglue(?) all nodes of a way (instead of only one node) and pressing Undo.

What steps will reproduce the problem?

  1. Error after Edit -> Undo

What is the expected result?

What happens instead?

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

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-07-03 00:44:07 +0200 (Mon, 03 Jul 2017)
Build-Date:2017-07-02 23:26:36
Revision:12450
Relative:URL: ^/trunk

Identification: JOSM/1.5 (12450 de) Windows Vista 32-Bit
OS Build number: Windows Vista (TM) Home Premium (6002)
Memory Usage: 398 MB / 989 MB (184 MB allocated, but free)
Java version: 1.8.0_131-b11, Oracle Corporation, Java HotSpot(TM) Client VM
Screen: \Display0 1440x900
Maximum Screen Size: 1440x900
Dataset consistency test: No problems found

Plugins:
+ FastDraw (33182)
+ PicLayer (33385)
+ SeaMapEditor (33054)
+ buildings_tools (33004)
+ measurement (33088)
+ public_transport (33166)
+ reverter (33088)
+ terracer (33088)
+ turnlanes (33294)
+ turnrestrictions (33088)
+ utilsplugin2 (33328)
+ wikipedia (33288)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/NewTags&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Crafts&preset&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/OneClick&zip=1
+ https://raw.github.com/rurseekatze/OpenRailwayMap/master/josm-presets/de.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/Diving&zip=1
+ https://raw.githubusercontent.com/species/josm-preset-wheelchair/master/sidewalks_kerbs.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/Historical_Objects&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Historic_Stone&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/PublicTransportOneClick&preset&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/hiking_routes_with_trail_marking&preset&zip=1
+ https://raw.github.com/Flacus/Windrad/master/windrad.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/ParkingLanes&zip=1
+ https://raw.githubusercontent.com/OpenNauticalChart/josm/master/Presets_Hafen.xml
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/DE.zip
+ https://raw.githubusercontent.com/OpenSeaMap/josm/master/Presets_Sport.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/hiking_routes_with_trail_marking&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Golf_Course&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Playground_Equipment&zip=1

Map paint styles:
- https://github.com/bastik/mapcss-tools/raw/osm/mapnik2mapcss/osm-results/mapnik.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/Cycleways&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1

Validator rules:
+ http://www.openrailwaymap.org/validator/de-openrailwaymap.validator.mapcss
+ https://josm.openstreetmap.de/josmfile?page=Rules/CzechRepublicAddressSystem&zip=1

Last errors/warnings:
- E: Fehler beim Laden des Bildes 'crossover-28.png'
- W:  Crossover: Could not get presets icon crossover-28.png
- E: Fehler beim Laden des Bildes 'milestone.png'
- W:  Milestone: Could not get presets icon milestone.png
- E: Fehler beim Laden des Bildes 'phone-32.png'
- W:  Phone (Railway): Could not get presets icon phone-32.png
- E: Fehler beim Laden des Bildes 'owner-change.svg'
- W:  Change of Operator: Could not get presets icon owner-change.svg
- E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Node id=-40407 version=0 MV lat=51.1002497,lon=14.4010348}
- E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Node id=-40407 version=0 MV lat=51.1002497,lon=14.4010348}


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (16) of main
org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Node id=-40407 version=0 MV lat=51.1002497,lon=14.4010348}
	at org.openstreetmap.josm.data.osm.OsmPrimitive.checkDataset(OsmPrimitive.java:252)
	at org.openstreetmap.josm.data.osm.OsmPrimitive.getReferrers(OsmPrimitive.java:996)
	at org.openstreetmap.josm.data.osm.OsmPrimitive.getReferrers(OsmPrimitive.java:1021)
	at org.openstreetmap.josm.plugins.turnrestrictions.list.TurnRestrictionsInSelectionListModel.initFromSelection(TurnRestrictionsInSelectionListModel.java:40)
	at org.openstreetmap.josm.plugins.turnrestrictions.list.TurnRestrictionsInSelectionListModel.selectionChanged(TurnRestrictionsInSelectionListModel.java:66)
	at org.openstreetmap.josm.data.osm.event.SelectionEventManager$OldListenerInfo.fire(SelectionEventManager.java:57)
	at org.openstreetmap.josm.data.osm.event.SelectionEventManager.fireEvent(SelectionEventManager.java:203)
	at org.openstreetmap.josm.data.osm.event.SelectionEventManager.lambda$selectionChanged$0(SelectionEventManager.java:198)
	at java.awt.event.InvocationEvent.dispatch(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.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)

=== RUNNING THREADS ===
Thread: RemoteControl HTTPS Server (39) of main
java.net.DualStackPlainSocketImpl.accept0(Native Method)
java.net.DualStackPlainSocketImpl.socketAccept(Unknown Source)
java.net.AbstractPlainSocketImpl.accept(Unknown Source)
java.net.PlainSocketImpl.accept(Unknown Source)
java.net.ServerSocket.implAccept(Unknown Source)
sun.security.ssl.SSLServerSocketImpl.accept(Unknown Source)
org.openstreetmap.josm.io.remotecontrol.RemoteControlHttpsServer.run(RemoteControlHttpsServer.java:407)

Thread: File Watcher (10) of main
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.park(Unknown Source)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source)
java.util.concurrent.LinkedBlockingDeque.take(Unknown Source)
sun.nio.fs.AbstractWatchService.take(Unknown Source)
org.openstreetmap.josm.io.FileWatcher.processEvents(FileWatcher.java:114)
org.openstreetmap.josm.io.FileWatcher$$Lambda$4/6800315.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

Thread: Attach Listener (5) of system

Thread: Timer-0 (38) of main
java.lang.Object.wait(Native Method)
java.util.TimerThread.mainLoop(Unknown Source)
java.util.TimerThread.run(Unknown Source)

Thread: D3D Screen Updater (20) of system
java.lang.Object.wait(Native Method)
sun.java2d.d3d.D3DScreenUpdateManager.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

Thread: Finalizer (3) of system
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(Unknown Source)
java.lang.ref.ReferenceQueue.remove(Unknown Source)
java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)

Thread: RemoteControl HTTP Server (35) of main
java.net.DualStackPlainSocketImpl.accept0(Native Method)
java.net.DualStackPlainSocketImpl.socketAccept(Unknown Source)
java.net.AbstractPlainSocketImpl.accept(Unknown Source)
java.net.PlainSocketImpl.accept(Unknown Source)
java.net.ServerSocket.implAccept(Unknown Source)
java.net.ServerSocket.accept(Unknown Source)
org.openstreetmap.josm.io.remotecontrol.RemoteControlHttpServer.run(RemoteControlHttpServer.java:103)

Thread: DestroyJavaVM (42) of main

Thread: Java2D Disposer (11) of system
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(Unknown Source)
java.lang.ref.ReferenceQueue.remove(Unknown Source)
sun.java2d.Disposer.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

Thread: AWT-Windows (14) of system
sun.awt.windows.WToolkit.eventLoop(Native Method)
sun.awt.windows.WToolkit.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

Thread: Reference Handler (2) of system
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Unknown Source)
java.lang.ref.Reference.tryHandlePending(Unknown Source)
java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)

Thread: Timer-1 (46) of main
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Unknown Source)
java.util.TimerThread.mainLoop(Unknown Source)
java.util.TimerThread.run(Unknown Source)

Thread: Thread-1 (9) of main
sun.nio.fs.WindowsNativeDispatcher.GetQueuedCompletionStatus0(Native Method)
sun.nio.fs.WindowsNativeDispatcher.GetQueuedCompletionStatus(Unknown Source)
sun.nio.fs.WindowsWatchService$Poller.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

Thread: message-notifier-0 (41) of main
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(Unknown Source)
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source)
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source)
java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

Thread: RemoteControl HTTP Server (36) of main
java.net.DualStackPlainSocketImpl.accept0(Native Method)
java.net.DualStackPlainSocketImpl.socketAccept(Unknown Source)
java.net.AbstractPlainSocketImpl.accept(Unknown Source)
java.net.PlainSocketImpl.accept(Unknown Source)
java.net.ServerSocket.implAccept(Unknown Source)
java.net.ServerSocket.accept(Unknown Source)
org.openstreetmap.josm.io.remotecontrol.RemoteControlHttpServer.run(RemoteControlHttpServer.java:103)

Thread: main-worker-0 (44) of main
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.park(Unknown Source)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

Thread: Map Status Collector (49) of main
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.park(Unknown Source)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
org.openstreetmap.josm.gui.MapStatus$Collector.run(MapStatus.java:406)
java.lang.Thread.run(Unknown Source)

Thread: TimerQueue (18) of system
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(Unknown Source)
java.util.concurrent.DelayQueue.take(Unknown Source)
javax.swing.TimerQueue.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

Thread: image-fetcher-0 (27) of main
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.park(Unknown Source)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

Thread: styled-map-renderer-240 (563)
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.ForkJoinPool.awaitWork(Unknown Source)
java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)

Thread: JCS-ElementEventQueue-Thread-7 (32) of main
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.park(Unknown Source)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

Thread: AWT-Shutdown (13) of system
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Unknown Source)
sun.awt.AWTAutoShutdown.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

Thread: AWT-EventQueue-0 (16) of main
Stacktrace see above.

Thread: Weak reference cleaner (21) of main
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(Unknown Source)
java.lang.ref.ReferenceQueue.remove(Unknown Source)
org.openstreetmap.josm.tools.ListenableWeakReference.clean(ListenableWeakReference.java:61)
org.openstreetmap.josm.tools.ListenableWeakReference$$Lambda$76/25607935.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

Thread: Signal Dispatcher (4) of system

Thread: RemoteControl HTTPS Server (37) of main
java.net.DualStackPlainSocketImpl.accept0(Native Method)
java.net.DualStackPlainSocketImpl.socketAccept(Unknown Source)
java.net.AbstractPlainSocketImpl.accept(Unknown Source)
java.net.PlainSocketImpl.accept(Unknown Source)
java.net.ServerSocket.implAccept(Unknown Source)
sun.security.ssl.SSLServerSocketImpl.accept(Unknown Source)
org.openstreetmap.josm.io.remotecontrol.RemoteControlHttpsServer.run(RemoteControlHttpsServer.java:407)

Attachments (0)

Change History (23)

comment:1 Changed 3 months ago by geri-oc

Es wurde nach dem (versehentlichen) Trennen aller nodes eines Weges (statt nur eines node)und dem "Rückgängig" gemeldet.

comment:2 Changed 2 months ago by Don-vip

Cc: bastik stoecker Klumbumbus added
Owner: changed from team to geri-oc
Status: newneedinfo

can anyone please translate this bug report? :)

comment:3 Changed 2 months ago by Klumbumbus

Summary: Fehlermeldung nach Bearbeiten -> zurückError after Edit -> Undo

comment:4 Changed 2 months ago by Klumbumbus

Description: modified (diff)

comment:5 Changed 2 months ago by Klumbumbus

geri-oc: meintest du Linien trennen (shortcut G)?

comment:6 Changed 2 months ago by Don-vip

Component: CorePlugin turnrestrictions

comment:7 Changed 2 months ago by anonymous

Linie aus mehreren Linien auswählen (mittleres Mausrad)
mit STRG+Klick zwei Punkte zum trennen auswählen
jetzt normalerweise mit p trennnen - statt dessen STRG weiter gedrückt -> also STRG+P (alle Punkte)

Bedienungs-Fehler gemerkt

Letzte Aktion zurücknehmen (Rückgängig)geklickt:

"Fehlermeldung"

English Google-Translator:
Select line from multiple lines (middle mouse wheel)
With CTRL + click two points to separate
Now normally separated by p - instead of pressing CTRL -> CTRL + P (all points)

Operation error noted

Undo last action (Undo):

"Error message"

comment:8 Changed 2 months ago by geri-oc

vorigen Kommentar leider ohne Anmeldung gepostet:
Ist von mir: geri-oc

Previous posting unfortunately unregistered posted:
Is from me: geri-oc

comment:9 Changed 2 months ago by Klumbumbus

Strg+P ist standardmäßig nicht belegt (außer für Drucken reserviert). Meintest du vlt. Strg+Shift+P (Bereinigen) oder Strg+Alt+Shift+P (Benachbarte Linien trennen)?

Last edited 2 months ago by Klumbumbus (previous) (diff)

comment:10 Changed 2 months ago by geri-oc

Ich konnte das Beispiel von heute früh eben nicht reprodizieren. Aber wahrscheinlich ist es Umschalt gewesen:

gerade mehrmals probiert
way auswählen - way markiert
Umschalt+P zwei nodes klicken - way und nodes markiert
G - trennen - Fehler bemerkt
auf Rückgängig klicken(passiert auch bei STRG+Z) - Fehlermeldung

I could not reproach the example from today. But probably it was change:
Just tried several times
Way - way
Shift + P two nodes click - way and tag marked
G - disconnect errors
To Undo (also happens with CTRL + Z) - Error message

comment:11 Changed 2 months ago by Klumbumbus

I can reproduce:

  1. display the toggle dialog from the turnrestrictions plugin or the reltoolbox plugin (maybe other plugins are affected too?)
  2. select two ways or two nodes
  3. purge
  4. confirm the purge dialog
  5. org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset...

comment:12 Changed 2 months ago by Klumbumbus

another way to reproduce:

  1. display the toggle dialog from the turnrestrictions plugin or the reltoolbox plugin
  2. select a way which has waynodes which belong to another way too (e.g. https://www.openstreetmap.org/way/108574602)
  3. press G (un-glue)
  4. press ctrl+Z (undo)

comment:13 Changed 2 months ago by Don-vip

Description: modified (diff)
Summary: Error after Edit -> UndoDataIntegrityProblemException: Primitive must be part of the dataset

comment:14 Changed 2 months ago by Don-vip

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

comment:15 Changed 6 weeks ago by Don-vip

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

comment:16 Changed 6 weeks ago by Don-vip

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

comment:17 Changed 6 weeks ago by Don-vip

Cc: michael2402 added
Owner: changed from geri-oc to team
Priority: normalmajor
Status: needinfonew

comment:18 Changed 6 weeks ago by Klumbumbus

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

comment:19 Changed 6 weeks ago by rickmastfan67

This might have to be bumped up to critical if not blocker. Why you ask? Well, I just encountered it while doing some of my first OSM work in awhile, and I got a never ending crash with one of my files that I was working on. The crash message NEVER showed up in JOSM, I only noticed it in the Command Prompt window. It was so bad that the text was 'flickering' because so many error messages were getting triggered!! The only way I could pin it to this bug, was because thankfully, the PrintScreen button is faster and caught the error report for me.

So, I went looking for a quick, and easy way to duplicate this on command, and I've found it. And it doesn't require any data to be edited what so ever. And I was able to do this on a completely fresh profile.

Steps to reproduce:

  1. Start with a fresh JOSM profile.
  2. Download and install the turnrestrictions & utilsplugin2 plugins.
  3. Restart JOSM so they are activated.
  4. Download the following area: https://www.openstreetmap.org/#map=20/42.548799462597714/-80.0439110494081
  5. Activate the 'Turn Restrictions' window for the right side of the screen.
  6. Ctrl+A to select all of the data that was download.
  7. Ctrl+Shift+P to activate the 'Purge' command from utilsplugin2.
  8. Hit the 'OK' button to purge the data.

What happens:
JOSM freaks out big time. But will eventually calm down and give an error report (unlike with my file that I was working with).

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-08-13 19:54:54 +0200 (Sun, 13 Aug 2017)
Build-Date:2017-08-14 01:35:37
Revision:12598
Relative:URL: ^/trunk

Identification: JOSM/1.5 (12598 en) Windows 7 64-Bit
OS Build number: Windows 7 Professional (7601)
Memory Usage: 845 MB / 1820 MB (195 MB allocated, but free)
Java version: 1.8.0_131-b11, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1920x1080
Maximum Screen Size: 1920x1080
Dataset consistency test: No problems found

Plugins:
+ turnrestrictions (33088)
+ utilsplugin2 (33328)

Last errors/warnings:
- W: Too many errors. Dropping ReportedException [thread=Thread[AWT-EventQueue-0,6,main], exception=org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Node id=808616109 version=1 V lat=42.5543671,lon=-80.2456531}, methodWarningFrom=BugReportExceptionHandler#handleException]
- E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Node id=808616109 version=1 V lat=42.5543671,lon=-80.2456531}
- W: Too many errors. Dropping ReportedException [thread=Thread[AWT-EventQueue-0,6,main], exception=org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Node id=808616109 version=1 V lat=42.5543671,lon=-80.2456531}, methodWarningFrom=BugReportExceptionHandler#handleException]
- E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Node id=808616109 version=1 V lat=42.5543671,lon=-80.2456531}
- W: Too many errors. Dropping ReportedException [thread=Thread[AWT-EventQueue-0,6,main], exception=org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Node id=808616109 version=1 V lat=42.5543671,lon=-80.2456531}, methodWarningFrom=BugReportExceptionHandler#handleException]
- E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Node id=808661965 version=1 V lat=42.5545802,lon=-80.247079}
- E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Node id=808603402 version=1 V lat=42.5546621,lon=-80.248474}
- E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Node id=808603402 version=1 V lat=42.5546621,lon=-80.248474}
- E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Node id=808617092 version=2 V lat=42.5548728,lon=-80.250063}
- E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Node id=808617092 version=2 V lat=42.5548728,lon=-80.250063}


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (19) of main
org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Node id=1402755071 version=1 V lat=42.5481376,lon=-80.067343}
	at org.openstreetmap.josm.data.osm.OsmPrimitive.checkDataset(OsmPrimitive.java:252)
	at org.openstreetmap.josm.data.osm.OsmPrimitive.getReferrers(OsmPrimitive.java:996)
	at org.openstreetmap.josm.data.osm.OsmPrimitive.getReferrers(OsmPrimitive.java:1021)
	at org.openstreetmap.josm.plugins.turnrestrictions.list.TurnRestrictionsInSelectionListModel.initFromSelection(TurnRestrictionsInSelectionListModel.java:40)
	at org.openstreetmap.josm.plugins.turnrestrictions.list.TurnRestrictionsInSelectionListModel.selectionChanged(TurnRestrictionsInSelectionListModel.java:66)
	at org.openstreetmap.josm.data.osm.event.SelectionEventManager$OldListenerInfo.fire(SelectionEventManager.java:57)
	at org.openstreetmap.josm.data.osm.event.SelectionEventManager.fireEvent(SelectionEventManager.java:203)
	at org.openstreetmap.josm.data.osm.event.SelectionEventManager.lambda$selectionChanged$0(SelectionEventManager.java:198)
	at java.awt.event.InvocationEvent.dispatch(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.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)

I also had to go thru about 50 or so error message windows after JOSM stopped freaking out. That alone is a major problem if you triggered this error another way and you wanted to save the file that you were working on.

Last edited 6 weeks ago by rickmastfan67 (previous) (diff)

comment:20 Changed 6 weeks ago by rickmastfan67

Ok, take the utilsplugin2 out of the equation. Didn't know that the 'Purge' command had been moved into the 'Core'.

comment:21 Changed 6 weeks ago by Don-vip

Priority: majorcritical

comment:22 Changed 6 weeks ago by rickmastfan67

Ok, this is nuts, but I can no longer trigger this error on command anymore with r12606. So, something between r12598 & r12606 has caused my example above not to be triggered anymore.

I'm guessing the changes in [12605] for the purge performance issues, happened to eliminate the way I could trigger this bug.

I couldn't even trigger it anymore on the file that I was having major problems with last night in JOSM.

comment:23 Changed 6 weeks ago by Klumbumbus

with r10606 I can't reproduce with comment:11 anymore (which seems to be the same way like comment:19) but I still can reproduce with comment:12

Last edited 6 weeks ago by Klumbumbus (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to geri-oc
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.