Modify

Opened 9 months ago

Last modified 8 months ago

#19576 needinfo defect

DataIntegrityProblemException: Impossible to delete points created by CAD Tools plugin. Undo not working.

Reported by: anonymous Owned by: anonymous
Priority: normal Milestone:
Component: Core Version: tested
Keywords: template_report deleted node referenced Cc:

Description

What steps will reproduce the problem?

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: 2020-06-30 19:13:42 +0200 (Tue, 30 Jun 2020)
Build-Date:2020-07-01 01:30:51
Revision:16731
Relative:URL: ^/trunk

Identification: JOSM/1.5 (16731 en) Windows 10 64-Bit
OS Build number: Windows 10 Pro 1909 (18363)
Memory Usage: 1416 MB / 3623 MB (643 MB allocated, but free)
Java version: 1.8.0_251-b08, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920x1080 (scaling 1.0x1.0)
Maximum Screen Size: 1920x1080
Best cursor sizes: 16x16 -> 32x32, 32x32 -> 32x32

Dataset consistency test:
[NO DATASET] {Node id=-112328 version=0 MV lat=45.347651801630924,lon=28.822635403669793} is referenced by {Way id=-101993 version=0 MVT nodes=[{Node id=-112328 version=0 MV lat=45.347651801630924,lon=28.822635403669793}, {Node id=-112329 version=0 MV lat=45.34765004678214,lon=28.822610142202183}]} but not found in dataset
[NO DATASET] {Node id=-112329 version=0 MV lat=45.34765004678214,lon=28.822610142202183} is referenced by {Way id=-101993 version=0 MVT nodes=[{Node id=-112328 version=0 MV lat=45.347651801630924,lon=28.822635403669793}, {Node id=-112329 version=0 MV lat=45.34765004678214,lon=28.822610142202183}]} but not found in dataset
[NO DATASET] {Node id=-112327 version=0 MV lat=45.34767916228111,lon=28.822665185255133} is referenced by {Way id=-102178 version=0 MVT nodes=[{Node id=-112327 version=0 MV lat=45.34767916228111,lon=28.822665185255133}, {Node id=-112328 version=0 MV lat=45.347651801630924,lon=28.822635403669793}]} but not found in dataset
[NO DATASET] {Node id=-112328 version=0 MV lat=45.347651801630924,lon=28.822635403669793} is referenced by {Way id=-102178 version=0 MVT nodes=[{Node id=-112327 version=0 MV lat=45.34767916228111,lon=28.822665185255133}, {Node id=-112328 version=0 MV lat=45.347651801630924,lon=28.822635403669793}]} but not found in dataset
[WARN - ZERO NODES] Way {Way id=-102177 version=0 MVT nodes=[]} has zero nodes
[WARN - ZERO NODES] Way {Way id=-102061 version=0 MVT nodes=[]} has zero nodes


Plugins:
+ BuildingGeneralization (23)
+ CADTools (1008)
+ ColorPlugin (1537115529)
+ PicLayer (35405)
+ alignways (35474)
+ buildings_tools (35500)
+ measurement (35405)
+ tageditor (35258)
+ turnlanes (35405)
+ turnlanes-tagging (283)
+ utilsplugin2 (35487)

Tagging presets:
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/UA.zip
+ https://josm.openstreetmap.de/josmfile?page=Presets/Towers&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Quick-stops&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Quick-highways&zip=1

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Sidewalks&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/SimpleBuildingTags&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/SimpleRoofTags&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Surface&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransportV2&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/PriorityRoad&zip=1

Last errors/warnings:
- W: Not a single layer for the name 'Stadium: Izmail - Stadium ver. 2': []
- W: Not a single layer for the name 'Townhall: Izmail - Peremohy Square': []
- W: Not a single layer for the name 'Electro: Izmail - Electrostation': []
- W: Not a single layer for the name 'Izmail Combo Map 1: Izmail - Combo Map': []
- W: JOSM expected to find primitive [node -112327] in dataset but it is not there. Please report this at https://josm.openstreetmap.de. This is not a critical error, it should be safe to continue in your work.
- E: java.lang.Exception
- E: Handled by bug report queue: java.lang.AssertionError: Data consistency problem - way with missing node detected
- E: Handled by bug report queue: java.lang.AssertionError: Data consistency problem - way with missing node detected
- E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Node id=-112327 version=0 MV lat=45.34767916228111,lon=28.822665185255133}
- E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Node id=-112327 version=0 MV lat=45.34767916228111,lon=28.822665185255133}


=== 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: {Node id=-112327 version=0 MV lat=45.34767916228111,lon=28.822665185255133}
	at org.openstreetmap.josm.data.osm.OsmPrimitive.checkDataset(OsmPrimitive.java:200)
	at org.openstreetmap.josm.data.osm.OsmPrimitive.referrers(OsmPrimitive.java:754)
	at org.openstreetmap.josm.data.osm.OsmPrimitive.getReferrers(OsmPrimitive.java:780)
	at org.openstreetmap.josm.data.osm.OsmPrimitive.getReferrers(OsmPrimitive.java:786)
	at org.openstreetmap.josm.command.DeleteCommand.computeNodesToDelete(DeleteCommand.java:359)
	at org.openstreetmap.josm.command.DeleteCommand.delete(DeleteCommand.java:414)
	at org.openstreetmap.josm.command.DeleteCommand.delete(DeleteCommand.java:384)
	at org.openstreetmap.josm.actions.mapmode.DeleteAction.doActionPerformed(DeleteAction.java:160)
	at org.openstreetmap.josm.actions.DeleteAction.actionPerformed(DeleteAction.java:73)
	at javax.swing.SwingUtilities.notifyAction(Unknown Source)
	at javax.swing.JComponent.processKeyBinding(Unknown Source)
	at javax.swing.KeyboardManager.fireBinding(Unknown Source)
	at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
	at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
	at javax.swing.JComponent.processKeyBindings(Unknown Source)
	at javax.swing.JComponent.processKeyEvent(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.KeyboardFocusManager.redispatchEvent(Unknown Source)
	at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
	at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(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 (1)

comment:1 Changed 9 months ago by skyper

Keywords: deleted node referenced added
Owner: changed from team to anonymous
Status: newneedinfo
Summary: Impossible to delete points created by CAD Tools plugin. Undo not working.DataIntegrityProblemException: Impossible to delete points created by CAD Tools plugin. Undo not working.
Version: tested

Is it reproducible? How?
Please, tell us as detailed as possible and step by step what you did.

Most import is how you got the data inconsistency. This must have been triggered by some action prior to deleting or was the loaded data already inconsistent? Does CADTools produce inconsistent data ?

Modify Ticket

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

Add Comment


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

 
Note: See TracTickets for help on using tickets.