Modify

Opened 14 months ago

Last modified 14 months ago

#23868 new defect

Cad tools bug and deleted file

Reported by: akheeel.1989@… Owned by: Anamaria.Rotariu
Priority: normal Milestone:
Component: Plugin cadtools Version:
Keywords: template_report Cc:

Description

Working on mapping a city in Syria with the data available not very helpful, I was trying to add building parts and converting a polygon to A circle using cad tools, then I encountered the bug, I may have deleted some nodes that were wrongly placed. I tried to reload the file but now the main file corrupted and I am unable to open it because of a missing node it appears.

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.

Revision:19160
Build-Date:2024-08-01 15:31:59

Identification: JOSM/1.5 (19160 en_GB) Windows 11 64-Bit
OS Build number: Windows 10 Pro 23H2 (22631)
Memory Usage: 992 MB / 7980 MB (286 MB allocated, but free)
Java version: 21.0.4+7-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: \Display0 2560x1440x32bpp@144Hz (scaling 1.00×1.00)
Maximum Screen Size: 2560×1440
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: Cp1252
Locale info: en_GB
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.19160, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=%UserProfile%\AppData\Local\JOSM\JOSM.exe]

Dataset consistency test:
[NO DATASET] {Node id=-47109 version=0 MV lat=35.01216790305023,lon=37.05209769241512} is referenced by {Way id=-7034 version=0 MV nodes=[{Node id=-47108 version=0 MV lat=35.01217723949317,lon=37.05206617645919}, {Node id=-47109 version=0 MV lat=35.01216790305023,lon=37.05209769241512}, {Node id=-47110 version=0 MV lat=35.01214977936385,lon=37.05212384395301}, {Node id=-47111 version=0 MV lat=35.01212122081959,lon=37.05212719671428}, {Node id=-47112 version=0 MV lat=35.01209101465614,lon=37.05212384395301}, {Node id=-47113 version=0 MV lat=35.01206794812382,lon=37.052109762355684}, {Node id=-47114 version=0 MV lat=35.01205476724528,lon=37.05208763413131}, {Node id=-47115 version=0 MV lat=35.01204817680522,lon=37.052057459279894}, {Node id=-47116 version=0 MV lat=35.01205366883865,lon=37.052023931667215}, {Node id=-47117 version=0 MV lat=35.01206849732704,lon=37.052007167860864}, {Node id=-47118 version=0 MV lat=35.01208771943764,lon=37.05199576847256}, {Node id=-47119 version=0 MV lat=35.0121157287907,lon=37.05198772184551}, {Node id=-47120 version=0 MV lat=35.01214538574231,lon=37.051996439024805}, {Node id=-47121 version=0 MV lat=35.01216186182188,lon=37.052019908353685}, {Node id=-47122 version=0 MV lat=35.012169550657894,lon=37.052043377682566}, {Node id=-47108 version=0 MV lat=35.01217723949317,lon=37.05206617645919}]} but not found in dataset
[NO DATASET] {Node id=-47114 version=0 MV lat=35.01205476724528,lon=37.05208763413131} is referenced by {Way id=-7034 version=0 MV nodes=[{Node id=-47108 version=0 MV lat=35.01217723949317,lon=37.05206617645919}, {Node id=-47109 version=0 MV lat=35.01216790305023,lon=37.05209769241512}, {Node id=-47110 version=0 MV lat=35.01214977936385,lon=37.05212384395301}, {Node id=-47111 version=0 MV lat=35.01212122081959,lon=37.05212719671428}, {Node id=-47112 version=0 MV lat=35.01209101465614,lon=37.05212384395301}, {Node id=-47113 version=0 MV lat=35.01206794812382,lon=37.052109762355684}, {Node id=-47114 version=0 MV lat=35.01205476724528,lon=37.05208763413131}, {Node id=-47115 version=0 MV lat=35.01204817680522,lon=37.052057459279894}, {Node id=-47116 version=0 MV lat=35.01205366883865,lon=37.052023931667215}, {Node id=-47117 version=0 MV lat=35.01206849732704,lon=37.052007167860864}, {Node id=-47118 version=0 MV lat=35.01208771943764,lon=37.05199576847256}, {Node id=-47119 version=0 MV lat=35.0121157287907,lon=37.05198772184551}, {Node id=-47120 version=0 MV lat=35.01214538574231,lon=37.051996439024805}, {Node id=-47121 version=0 MV lat=35.01216186182188,lon=37.052019908353685}, {Node id=-47122 version=0 MV lat=35.012169550657894,lon=37.052043377682566}, {Node id=-47108 version=0 MV lat=35.01217723949317,lon=37.05206617645919}]} but not found in dataset
[NO DATASET] {Node id=-47119 version=0 MV lat=35.0121157287907,lon=37.05198772184551} is referenced by {Way id=-7034 version=0 MV nodes=[{Node id=-47108 version=0 MV lat=35.01217723949317,lon=37.05206617645919}, {Node id=-47109 version=0 MV lat=35.01216790305023,lon=37.05209769241512}, {Node id=-47110 version=0 MV lat=35.01214977936385,lon=37.05212384395301}, {Node id=-47111 version=0 MV lat=35.01212122081959,lon=37.05212719671428}, {Node id=-47112 version=0 MV lat=35.01209101465614,lon=37.05212384395301}, {Node id=-47113 version=0 MV lat=35.01206794812382,lon=37.052109762355684}, {Node id=-47114 version=0 MV lat=35.01205476724528,lon=37.05208763413131}, {Node id=-47115 version=0 MV lat=35.01204817680522,lon=37.052057459279894}, {Node id=-47116 version=0 MV lat=35.01205366883865,lon=37.052023931667215}, {Node id=-47117 version=0 MV lat=35.01206849732704,lon=37.052007167860864}, {Node id=-47118 version=0 MV lat=35.01208771943764,lon=37.05199576847256}, {Node id=-47119 version=0 MV lat=35.0121157287907,lon=37.05198772184551}, {Node id=-47120 version=0 MV lat=35.01214538574231,lon=37.051996439024805}, {Node id=-47121 version=0 MV lat=35.01216186182188,lon=37.052019908353685}, {Node id=-47122 version=0 MV lat=35.012169550657894,lon=37.052043377682566}, {Node id=-47108 version=0 MV lat=35.01217723949317,lon=37.05206617645919}]} but not found in dataset


Plugins:
+ BuildingGeneralization (36)
+ CADTools (23)
+ ColorPlugin (v1.1.2.1)
+ Create_grid_of_ways (36178)
+ ImportImagePlugin (36184)
+ Mapillary (1770.1)
+ ShapeTools (1250)
+ apache-commons (36282)
+ areaselector (2.6.2)
+ austriaaddresshelper (88)
+ auto_tools (81)
+ buildings_tools (36226)
+ ejml (36176)
+ geotools (36273)
+ imagery_offset_db (36289)
+ importvec (36200)
+ jackson (36273)
+ jaxb (36118)
+ jts (36004)
+ log4j (36273)
+ mapwithai (829)
+ measurement (36256)
+ merge-overlap (36178)
+ osmai (1.0)
+ pbf (36282)
+ pdfimport (36298)
+ pmtiles (36219)
+ sds (36298)
+ terracer (36298)
+ utilsplugin2 (36298)

Tagging presets:
+ https://github.com/kendzi/Simple3dBuildingsPreset/releases/download/0.9_2018-05-08/s3db-preset.zip
+ https://josm.openstreetmap.de/josmfile?page=Presets/BuildingPreset&zip=1

Map paint styles:
+ https://pasharm.github.io/New_basic_style_for_JOSM/New_basic_style.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_buildings_en&zip=1
- https://raw.githubusercontent.com/yopaseopor/indoormap/master/indoormap-style.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/ColorWays&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Greenery&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Enhanced_Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Suburb&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Historic_Stones&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/MapillaryDetections&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/LexxPlussStyle&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/NewModifiedBuildings&zip=1
- %UserProfile%\Desktop\Minerva\off course repair\Final\map with ai
- https://josm.openstreetmap.de/josmfile?page=Styles/ColourGPSData&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/ColourTag&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/light_source&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/LayerChecker&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/NewParkingFeatures&zip=1
+ https://github.com/igitov/forest-josm-style/archive/master.zip
+ https://josm.openstreetmap.de/josmfile?page=Styles/Bench&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Potlatch2&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/HiDPISupport&zip=1

Last errors/warnings:
- 00197.043 W: Unable to find supported projection for layer OSM Inspector: Places - . Using EPSG:3857.
- 00349.624 W: Unsupported match type class org.openstreetmap.josm.data.osm.search.SearchCompiler$Always: org.openstreetmap.josm.data.osm.search.SearchCompiler$Always@1c044e91
- 00444.838 E: org.openstreetmap.hot.sds.SdsTransferException: java.net.SocketTimeoutException: Connect timed out. Cause: java.net.SocketTimeoutException: Connect timed out
- 00444.842 E: org.xml.sax.SAXParseException: Premature end of file.
- 02909.421 W: Unsaved changes - <html>The relation has been changed.<br><br>Do you want to save your changes?</html>
- 06169.832 E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Node id=-47109 version=0 MV lat=35.01216790305023,lon=37.05209769241512}
- 06183.183 E: Handled by bug report queue: java.lang.AssertionError: Primitive is of wrong data set for this command: {Node id=-47109 version=0 MV lat=35.01216790305023,lon=37.05209769241512}
- 06187.455 E: Handled by bug report queue: java.lang.AssertionError: Primitive is of wrong data set for this command: {Node id=-47109 version=0 MV lat=35.01216790305023,lon=37.05209769241512}
- 06189.537 E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Nodes in way must be in the same dataset
- 06194.079 E: Handled by bug report queue: java.lang.AssertionError: Primitive is of wrong data set for this command: {Node id=-47109 version=0 MV lat=35.01216790305023,lon=37.05209769241512}



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (56) of main
java.lang.AssertionError: Primitive is of wrong data set for this command: {Node id=-47109 version=0 MV lat=35.01216790305023,lon=37.05209769241512}
	at org.openstreetmap.josm.command.Command.ensurePrimitivesAreInDataset(Command.java:246)
	at org.openstreetmap.josm.command.MoveCommand.executeCommand(MoveCommand.java:254)
	at org.openstreetmap.josm.data.UndoRedoHandler.addNoRedraw(UndoRedoHandler.java:300)
	at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:354)
	at org.openstreetmap.josm.actions.mapmode.SelectAction.lambda$updateCommandWhileDragging$2(SelectAction.java:765)
	at org.openstreetmap.josm.data.osm.DataSet.update(DataSet.java:1099)
	at org.openstreetmap.josm.actions.mapmode.SelectAction.updateCommandWhileDragging(SelectAction.java:732)
	at org.openstreetmap.josm.actions.mapmode.SelectAction.mouseDragged(SelectAction.java:569)
	at java.desktop/java.awt.AWTEventMulticaster.mouseDragged(Unknown Source)
	at java.desktop/java.awt.Component.processMouseMotionEvent(Unknown Source)
	at java.desktop/javax.swing.JComponent.processMouseMotionEvent(Unknown Source)
	at java.desktop/java.awt.Component.processEvent(Unknown Source)
	at java.desktop/java.awt.Container.processEvent(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

Attachments (0)

Change History (1)

comment:1 by stoecker, 14 months ago

Component: CorePlugin cadtools
Owner: changed from team to Anamaria.Rotariu

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Anamaria.Rotariu.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from Anamaria.Rotariu to the specified user.
Next status will be 'needinfo'. The owner will be changed from Anamaria.Rotariu to akheeel.1989@….
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from Anamaria.Rotariu to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.