Modify

Opened 2 years ago

Closed 2 years ago

#22762 closed defect (irreproducible)

MWAI deleted node exception of some kind

Reported by: watmildon Owned by: watmildon
Priority: normal Milestone:
Component: Plugin mapwithai Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

Same workflow as my previous issue (NAD + MWAI buildings)
I was merging one building and the two address nodes for it.

My bounding box: 39.0475691;-95.7792163;39.0500979;-95.7756919

Here's the tags off one of the address nodes I was merging:

addr:city=Topeka
addr:housenumber=1033
addr:postcode=66615
addr:state=KS
addr:street=Southwest Red Oaks Place

What is the expected result?

Merged data

What happens instead?

Exception

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

Revision:18646
Build-Date:2023-01-30 15:15:00

Identification: JOSM/1.5 (18646 en) Windows 10 64-Bit
OS Build number: Windows 10 Pro 2009 (19045)
Memory Usage: 1568 MB / 4088 MB (287 MB allocated, but free)
Java version: 17.0.6+10-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1440×2560 (scaling 1.00×1.00) \Display1 3840×2160 (scaling 1.50×1.50)
Maximum Screen Size: 3840×2560
Best cursor sizes: 16×16→48×48, 32×32→48×48
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.18646, --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 problems found

Plugins:
+ FastDraw (35978)
+ FixAddresses (36011)
+ MapRoulette (7)
+ apache-commons (36034)
+ apache-http (35924)
+ buildings_tools (36011)
+ conflation (0.6.9)
+ continuosDownload (105)
+ contourmerge (v0.1.9)
+ ejml (35924)
+ geotools (36028)
+ gridify (1606242219)
+ imagery_offset_db (35978)
+ jackson (36034)
+ jaxb (35952)
+ jna (36005)
+ jts (36004)
+ mapwithai-110 (v1.10.0)
+ opendata (36025)
+ reverter (36043)
+ tageditor (36011)
+ terracer (35978)
+ todo (30306)
+ turnrestrictions (36011)
+ utilsplugin2 (36011)
+ wikipedia (605)

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/TigerReviewedNo&zip=1
+ %UserProfile%\Address Tags Validator - Highlight unaddressed
- https://josm.openstreetmap.de/josmfile?page=Styles/Modified&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/AddressValidator&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Admin_Boundaries&zip=1

Last errors/warnings:
- 01233.401 W: Could not move autosaved file MapWithAI_20230222_144121616.osm to deleted_layers folder
- 01233.402 W: Unable to delete backup file <josm.pref>\autosave\MapWithAI_20230222_144121616.osm
- 01244.221 E: java.nio.file.AccessDeniedException: <josm.cache>\mirror_https___josm.openstreetmap.de_josmfile_page_Styles_MapWithAI_zip_1.tmp -> <josm.cache>\mirror_https___josm.openstreetmap.de_josmfile_page_Styles_MapWithAI_zip_1
- 01245.372 E: java.nio.file.AccessDeniedException: <josm.cache>\mirror_https___josm.openstreetmap.de_josmfile_page_Styles_MapWithAI_zip_1.tmp -> <josm.cache>\mirror_https___josm.openstreetmap.de_josmfile_page_Styles_MapWithAI_zip_1
- 05719.442 W: Unable to delete old backup file <josm.pref>\autosave\MapWithAI_20230222_145621596.osm
- 05728.825 W: Could not move autosaved file MapWithAI_20230222_160621660.osm to deleted_layers folder
- 05728.826 W: Unable to delete backup file <josm.pref>\autosave\MapWithAI_20230222_160621660.osm
- 06867.382 E: java.nio.file.AccessDeniedException: <josm.cache>\mirror_https___josm.openstreetmap.de_josmfile_page_Styles_MapWithAI_zip_1.tmp -> <josm.cache>\mirror_https___josm.openstreetmap.de_josmfile_page_Styles_MapWithAI_zip_1
- 06872.154 E: java.nio.file.AccessDeniedException: <josm.cache>\mirror_https___josm.openstreetmap.de_josmfile_page_Styles_MapWithAI_zip_1.tmp -> <josm.cache>\mirror_https___josm.openstreetmap.de_josmfile_page_Styles_MapWithAI_zip_1
- 07367.259 E: Handled by bug report queue: org.openstreetmap.josm.tools.bugreport.ReportedException: ReportedException [thread=Thread[AWT-EventQueue-0,6,main], exception=ReportedException [thread=Thread[AWT-EventQueue-0,6,main], exception=org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=-4605183002708851727 version=0 MVT nodes=[{Node id=-4610743426014521993 version=0 MV lat=39.049294328825,lon=-95.777719917606}, {Node id=-4610743426014520678 version=0 MV lat=39.049365483862,lon=-95.777896253039}, {Node id=-4610743426014521537 version=0 MV lat=39.049156156997,lon=-95.778036305753}, {Node id=2081821858 version=2 MVDT lat=39.0491944,lon=-95.7778993}, {Node id=-4610743426014521993 version=0 MV lat=39.049294328825,lon=-95.777719917606}]} (changed by the following commands: [Delete 197 nodes]), methodWarningFrom=null], methodWarningFrom=null]. Cause: org.openstreetmap.josm.tools.bugreport.ReportedException: ReportedException [thread=Thread[AWT-EventQueue-0,6,main], exception=org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=-4605183002708851727 version=0 MVT nodes=[{Node id=-4610743426014521993 version=0 MV lat=39.049294328825,lon=-95.777719917606}, {Node id=-4610743426014520678 version=0 MV lat=39.049365483862,lon=-95.777896253039}, {Node id=-4610743426014521537 version=0 MV lat=39.049156156997,lon=-95.778036305753}, {Node id=2081821858 version=2 MVDT lat=39.0491944,lon=-95.7778993}, {Node id=-4610743426014521993 version=0 MV lat=39.049294328825,lon=-95.777719917606}]} (changed by the following commands: [Delete 197 nodes]), methodWarningFrom=null]. Cause: org.openstreetmap.josm.tools.bugreport.ReportedException: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=-4605183002708851727 version=0 MVT nodes=[{Node id=-4610743426014521993 version=0 MV lat=39.049294328825,lon=-95.777719917606}, {Node id=-4610743426014520678 version=0 MV lat=39.049365483862,lon=-95.777896253039}, {Node id=-4610743426014521537 version=0 MV lat=39.049156156997,lon=-95.778036305753}, {Node id=2081821858 version=2 MVDT lat=39.0491944,lon=-95.7778993}, {Node id=-4610743426014521993 version=0 MV lat=39.049294328825,lon=-95.777719917606}]} (changed by the following commands: [Delete 197 nodes]). Cause: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=-4605183002708851727 version=0 MVT nodes=[{Node id=-4610743426014521993 version=0 MV lat=39.049294328825,lon=-95.777719917606}, {Node id=-4610743426014520678 version=0 MV lat=39.049365483862,lon=-95.777896253039}, {Node id=-4610743426014521537 version=0 MV lat=39.049156156997,lon=-95.778036305753}, {Node id=2081821858 version=2 MVDT lat=39.0491944,lon=-95.7778993}, {Node id=-4610743426014521993 version=0 MV lat=39.049294328825,lon=-95.777719917606}]} (changed by the following commands: [Delete 197 nodes])



=== REPORTED CRASH DATA ===
sequence_information:
 - sequence_name: Sequence: Add object from MapWithAI
 - sequence_command: Create connections from MapWithAI data
 - sequence_index: 1
 - sequence_commands: [org.openstreetmap.josm.plugins.mapwithai.commands.MovePrimitiveDataSetCommand;org.openstreetmap.josm.plugins.mapwithai.commands.CreateConnectionsCommand]
 - sequence_commands_descriptions: [Move OsmPrimitives between layers;Create connections from MapWithAI data]

BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (23) of main
ReportedException [thread=Thread[AWT-EventQueue-0,6,main], exception=ReportedException [thread=Thread[AWT-EventQueue-0,6,main], exception=ReportedException [thread=Thread[AWT-EventQueue-0,6,main], exception=org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=-4605183002708851727 version=0 MVT nodes=[{Node id=-4610743426014521993 version=0 MV lat=39.049294328825,lon=-95.777719917606}, {Node id=-4610743426014520678 version=0 MV lat=39.049365483862,lon=-95.777896253039}, {Node id=-4610743426014521537 version=0 MV lat=39.049156156997,lon=-95.778036305753}, {Node id=2081821858 version=2 MVDT lat=39.0491944,lon=-95.7778993}, {Node id=-4610743426014521993 version=0 MV lat=39.049294328825,lon=-95.777719917606}]} (changed by the following commands: [Delete 197 nodes]), methodWarningFrom=null], methodWarningFrom=null], methodWarningFrom=null]
	at org.openstreetmap.josm.command.SequenceCommand.createReportedException(SequenceCommand.java:146)
	at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:114)
	at org.openstreetmap.josm.plugins.mapwithai.commands.CreateConnectionsCommand.executeCommand(CreateConnectionsCommand.java:68)
	at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:112)
	at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWait(GuiHelper.java:225)
	at org.openstreetmap.josm.plugins.mapwithai.commands.MapWithAIAddCommand.run(MapWithAIAddCommand.java:110)
	at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWait(GuiHelper.java:225)
	at org.openstreetmap.josm.plugins.mapwithai.commands.MapWithAIAddCommand.executeCommand(MapWithAIAddCommand.java:84)
	at org.openstreetmap.josm.data.UndoRedoHandler.addNoRedraw(UndoRedoHandler.java:300)
	at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:354)
	at org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIMoveAction.lambda$actionPerformed$1(MapWithAIMoveAction.java:90)
	at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWait(GuiHelper.java:225)
	at org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIMoveAction.actionPerformed(MapWithAIMoveAction.java:90)
	at java.desktop/javax.swing.SwingUtilities.notifyAction(Unknown Source)
	at java.desktop/javax.swing.JComponent.processKeyBinding(Unknown Source)
	at java.desktop/javax.swing.KeyboardManager.fireBinding(Unknown Source)
	at java.desktop/javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
	at java.desktop/javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
	at java.desktop/javax.swing.JComponent.processKeyBindings(Unknown Source)
	at java.desktop/javax.swing.JComponent.processKeyEvent(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.KeyboardFocusManager.redispatchEvent(Unknown Source)
	at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
	at java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
	at java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
	at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(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.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)
Caused by: ReportedException [thread=Thread[AWT-EventQueue-0,6,main], exception=ReportedException [thread=Thread[AWT-EventQueue-0,6,main], exception=org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=-4605183002708851727 version=0 MVT nodes=[{Node id=-4610743426014521993 version=0 MV lat=39.049294328825,lon=-95.777719917606}, {Node id=-4610743426014520678 version=0 MV lat=39.049365483862,lon=-95.777896253039}, {Node id=-4610743426014521537 version=0 MV lat=39.049156156997,lon=-95.778036305753}, {Node id=2081821858 version=2 MVDT lat=39.0491944,lon=-95.7778993}, {Node id=-4610743426014521993 version=0 MV lat=39.049294328825,lon=-95.777719917606}]} (changed by the following commands: [Delete 197 nodes]), methodWarningFrom=null], methodWarningFrom=null]
	at org.openstreetmap.josm.command.SequenceCommand.createReportedException(SequenceCommand.java:146)
	at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:114)
	at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:112)
	... 49 more
Caused by: ReportedException [thread=Thread[AWT-EventQueue-0,6,main], exception=org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=-4605183002708851727 version=0 MVT nodes=[{Node id=-4610743426014521993 version=0 MV lat=39.049294328825,lon=-95.777719917606}, {Node id=-4610743426014520678 version=0 MV lat=39.049365483862,lon=-95.777896253039}, {Node id=-4610743426014521537 version=0 MV lat=39.049156156997,lon=-95.778036305753}, {Node id=2081821858 version=2 MVDT lat=39.0491944,lon=-95.7778993}, {Node id=-4610743426014521993 version=0 MV lat=39.049294328825,lon=-95.777719917606}]} (changed by the following commands: [Delete 197 nodes]), methodWarningFrom=null]
	at org.openstreetmap.josm.command.SequenceCommand.createReportedException(SequenceCommand.java:146)
	at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:114)
	at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:112)
	... 50 more
Caused by: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=-4605183002708851727 version=0 MVT nodes=[{Node id=-4610743426014521993 version=0 MV lat=39.049294328825,lon=-95.777719917606}, {Node id=-4610743426014520678 version=0 MV lat=39.049365483862,lon=-95.777896253039}, {Node id=-4610743426014521537 version=0 MV lat=39.049156156997,lon=-95.778036305753}, {Node id=2081821858 version=2 MVDT lat=39.0491944,lon=-95.7778993}, {Node id=-4610743426014521993 version=0 MV lat=39.049294328825,lon=-95.777719917606}]} (changed by the following commands: [Delete 197 nodes])
	at org.openstreetmap.josm.data.osm.Way.checkNodes(Way.java:555)
	at org.openstreetmap.josm.data.osm.Way.fireNodesChanged(Way.java:573)
	at org.openstreetmap.josm.data.osm.Way.setNodes(Way.java:68)
	at org.openstreetmap.josm.command.ChangeNodesCommand.modifyWay(ChangeNodesCommand.java:45)
	at org.openstreetmap.josm.command.AbstractNodesCommand.executeCommand(AbstractNodesCommand.java:55)
	at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:112)
	... 51 more

Attachments (0)

Change History (4)

comment:1 by taylor.smock, 2 years ago

+ mapwithai-110 (v1.10.0)

Are you still using a custom MapWithAI version? I wasn't able to reproduce. I did, however, find a different issue.

comment:2 by taylor.smock, 2 years ago

Owner: changed from taylor.smock to watmildon
Status: assignedneedinfo

comment:3 by watmildon, 2 years ago

I had 784 and a 1.10.20 and some older 1.9.x version in the plugin folder. Cleaned that up and now just on the main feed for sure. Will let you know if this comes up again.

I'll play with this today and close the ticket if I can't get it to repro.

comment:4 by watmildon, 2 years ago

Resolution: irreproducible
Status: needinfoclosed

I haven't been able to repro this so I'll close it out for now.

Modify Ticket

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