Modify

Opened 3 years ago

Closed 16 months ago

#21200 closed defect (needinfo)

DataIntegrityProblemException: Deleted node referenced at org.openstreetmap.josm.data.osm.Way.checkNodes (delete action) after move

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

Description (last modified by skyper)

Error in moving polygon

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:18118
Build-Date:2021-08-02 19:18:35

Identification: JOSM/1.5 (18118 en) Mac OS X 10.14.6
OS Build number: Mac OS X 10.14.6 (18G9216)
Memory Usage: 1587 MB / 2048 MB (634 MB allocated, but free)
Java version: 16.0.2+7, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 188945226 1920×1080 (scaling 1.00×1.00) Display 69931224 2048×1152 (scaling 2.00×2.00)
Maximum Screen Size: 2048×1152
Best cursor sizes: 16×16→16×16, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=18118, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.apple.eawt=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=/private/var/folders/r3/s4gn52zd6y5dp7xgfsz8x8_80000gn/T/AppTranslocation/E07F1257-2D8F-4A8C-90C1-CAC2B54BAADD/d/JOSM 5.app/Contents/MacOS/JOSM]
Dataset consistency test: No problems found

Plugins:
+ Mapillary (2.0.0-alpha.30-dirty)
+ apache-commons (35524)
+ apache-http (35589)
+ buildings_tools (35756)
+ javafx-osx (35655)
+ jna (35662)
+ mapwithai (1.8.2)
+ measurement (35640)
+ osm-obj-info (66)
+ utilsplugin2 (35792)

Tagging presets:
+ ${HOME}/Downloads/FB_presets.max.xml

Map paint styles:
+ ${HOME}/Downloads/FB-Styles-12821.mapcss
+ ${HOME}/Downloads/rainbow_roads (1).mapcss
+ ${HOME}/Downloads/Sneffels.mapcss
+ https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1

Validator rules:
+ ${HOME}/Downloads/FB_rules5.12.validator.mapcss
+ ${HOME}/Desktop/FB_rules5.13.validator.mapcss

Last errors/warnings:
- 01319.775 W: Unable to convert property color to type class java.awt.Color: found Keyword{transparent} of type class org.openstreetmap.josm.gui.mappaint.Keyword!
- 01332.672 W: Unable to convert property color to type class java.awt.Color: found Keyword{transparent} of type class org.openstreetmap.josm.gui.mappaint.Keyword!
- 01368.385 W: Unable to convert property color to type class java.awt.Color: found Keyword{transparent} of type class org.openstreetmap.josm.gui.mappaint.Keyword!
- 01543.733 W: Unable to convert property color to type class java.awt.Color: found Keyword{transparent} of type class org.openstreetmap.josm.gui.mappaint.Keyword!
- 01543.778 W: Unable to convert property color to type class java.awt.Color: found Keyword{transparent} of type class org.openstreetmap.josm.gui.mappaint.Keyword!
- 01550.284 W: Unable to convert property color to type class java.awt.Color: found Keyword{transparent} of type class org.openstreetmap.josm.gui.mappaint.Keyword!
- 01663.221 W: java.net.UnknownHostException: api.openstreetmap.org
- 01663.221 E: java.net.UnknownHostException: api.openstreetmap.org
- 01663.222 W: org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM server. Please check your internet connection.. Cause: java.net.UnknownHostException: api.openstreetmap.org
- 07504.982 E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=-4424850544399134157 version=0 MVT nodes=[{Node id=-4471493567344177943 version=0 MVD lat=37.959375813482374,lon=-122.53806602610294}, {Node id=-4471493567344177892 version=0 MVD lat=37.95942180053847,lon=-122.53799774879845}, {Node id=-4471493567344177928 version=0 MVD lat=37.95942593618086,lon=-122.53800222961897}, {Node id=-4471493567344177913 version=0 MVD lat=37.959453683497834,lon=-122.53796103296}, {Node id=-4471493567344177945 version=0 MVD lat=37.959447990860035,lon=-122.53795486518841}, {Node id=-4471493567344177931 version=0 MVD lat=37.959462247568204,lon=-122.53793369813766}, {Node id=-4471493567344177964 version=0 MVD lat=37.959490208972255,lon=-122.53796399333972}, {Node id=-4471493567344177948 version=0 MVD lat=37.959505523632984,lon=-122.53794125552491}, {Node id=-4471493567344177895 version=0 MVD lat=37.959513090430754,lon=-122.53794945388898}, {Node id=-4471493567344177967 version=0 MV lat=37.95953173767494,lon=-122.53792176814824}, {Node id=-4471493567344178185 version=0 MVD lat=37.95952171693044,lon=-122.53793618681576}, {Node id=-4471493567344178186 version=0 MVD lat=37.959546127005055,lon=-122.53796347663777}, {Node id=-4471493567344178183 version=0 MVD lat=37.95955868664996,lon=-122.53794528843397}, {Node id=-4471493567344177915 version=0 MVD lat=37.95958348232638,lon=-122.53797131137544}, {Node id=-4471493567344177897 version=0 MVD lat=37.95959355425467,lon=-122.53795635747431}, {Node id=-4471493567344177934 version=0 MVD lat=37.959622501832,lon=-122.53798772121687}, {Node id=-4471493567344177918 version=0 MVD lat=37.95964519317319,lon=-122.53795403111576}, {Node id=-4471493567344177951 version=0 MVD lat=37.95950536344218,lon=-122.53780253029484}, {Node id=-4471493567344177935 version=0 MVD lat=37.95945979476038,lon=-122.53787018651326}, {Node id=-4471493567344177891 version=0 MVD lat=37.9594534124925,lon=-122.53786327155136}, {Node id=-4471493567344177963 version=0 MVD lat=37.95943776507076,lon=-122.5378865034029}, {Node id=-4471493567344177912 version=0 MVD lat=37.9594256066255,lon=-122.53787333016126}, {Node id=-4471493567344177894 version=0 MVD lat=37.9593295674213,lon=-122.53801592019963}, {Node id=-4471493567344177943 version=0 MVD lat=37.959375813482374,lon=-122.53806602610294}]} (changed by the following commands: [Move 1 node], [Sequence: Orthogonalize], [Sequence: Add and move a virtual new node to way], [Sequence: Extrude Way], [Sequence: Extrude Way], [Sequence: Delete])



=== REPORTED CRASH DATA ===
sequence_information:
 - sequence_name: Sequence: Delete
 - sequence_command: Change nodes of ‎building‎ (23 nodes)‌
 - sequence_index: 0
 - sequence_commands: [org.openstreetmap.josm.command.ChangeNodesCommand;org.openstreetmap.josm.command.DeleteCommand]
 - sequence_commands_descriptions: [Change nodes of ‎building‎ (23 nodes)‌;Delete node node]

BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (24) of main
org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=-4424850544399134157 version=0 MVT nodes=[{Node id=-4471493567344177943 version=0 MVD lat=37.959375813482374,lon=-122.53806602610294}, {Node id=-4471493567344177892 version=0 MVD lat=37.95942180053847,lon=-122.53799774879845}, {Node id=-4471493567344177928 version=0 MVD lat=37.95942593618086,lon=-122.53800222961897}, {Node id=-4471493567344177913 version=0 MVD lat=37.959453683497834,lon=-122.53796103296}, {Node id=-4471493567344177945 version=0 MVD lat=37.959447990860035,lon=-122.53795486518841}, {Node id=-4471493567344177931 version=0 MVD lat=37.959462247568204,lon=-122.53793369813766}, {Node id=-4471493567344177964 version=0 MVD lat=37.959490208972255,lon=-122.53796399333972}, {Node id=-4471493567344177948 version=0 MVD lat=37.959505523632984,lon=-122.53794125552491}, {Node id=-4471493567344177895 version=0 MVD lat=37.959513090430754,lon=-122.53794945388898}, {Node id=-4471493567344177967 version=0 MV lat=37.95953173767494,lon=-122.53792176814824}, {Node id=-4471493567344178185 version=0 MVD lat=37.95952171693044,lon=-122.53793618681576}, {Node id=-4471493567344178186 version=0 MVD lat=37.959546127005055,lon=-122.53796347663777}, {Node id=-4471493567344178183 version=0 MVD lat=37.95955868664996,lon=-122.53794528843397}, {Node id=-4471493567344177915 version=0 MVD lat=37.95958348232638,lon=-122.53797131137544}, {Node id=-4471493567344177897 version=0 MVD lat=37.95959355425467,lon=-122.53795635747431}, {Node id=-4471493567344177934 version=0 MVD lat=37.959622501832,lon=-122.53798772121687}, {Node id=-4471493567344177918 version=0 MVD lat=37.95964519317319,lon=-122.53795403111576}, {Node id=-4471493567344177951 version=0 MVD lat=37.95950536344218,lon=-122.53780253029484}, {Node id=-4471493567344177935 version=0 MVD lat=37.95945979476038,lon=-122.53787018651326}, {Node id=-4471493567344177891 version=0 MVD lat=37.9594534124925,lon=-122.53786327155136}, {Node id=-4471493567344177963 version=0 MVD lat=37.95943776507076,lon=-122.5378865034029}, {Node id=-4471493567344177912 version=0 MVD lat=37.9594256066255,lon=-122.53787333016126}, {Node id=-4471493567344177894 version=0 MVD lat=37.9593295674213,lon=-122.53801592019963}, {Node id=-4471493567344177943 version=0 MVD lat=37.959375813482374,lon=-122.53806602610294}]} (changed by the following commands: [Move 1 node], [Sequence: Orthogonalize], [Sequence: Add and move a virtual new node to way], [Sequence: Extrude Way], [Sequence: Extrude Way], [Sequence: Delete])
	at org.openstreetmap.josm.data.osm.Way.checkNodes(Way.java:553)
	at org.openstreetmap.josm.data.osm.Way.fireNodesChanged(Way.java:571)
	at org.openstreetmap.josm.data.osm.Way.setNodes(Way.java:67)
	at org.openstreetmap.josm.data.osm.Way.load(Way.java:282)
	at org.openstreetmap.josm.command.Command.undoCommand(Command.java:171)
	at org.openstreetmap.josm.command.SequenceCommand.undoCommands(SequenceCommand.java:138)
	at org.openstreetmap.josm.command.SequenceCommand.undoCommand(SequenceCommand.java:167)
	at org.openstreetmap.josm.data.UndoRedoHandler.lambda$undo$0(UndoRedoHandler.java:381)
	at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWait(GuiHelper.java:224)
	at org.openstreetmap.josm.data.UndoRedoHandler.undo(UndoRedoHandler.java:372)
	at org.openstreetmap.josm.gui.dialogs.CommandStackDialog$UndoRedoAction.actionPerformed(CommandStackDialog.java:529)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
	at java.desktop/javax.swing.JComponent.processMouseEvent(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 (3)

in reply to:  description comment:1 by skyper, 3 years ago

Description: modified (diff)
Keywords: deleted node referenced added
Owner: changed from team to anonymous
Status: newneedinfo
Summary: Error in moving polygonDataIntegrityProblemException: Deleted node referenced at org.openstreetmap.josm.data.osm.Way.checkNodes (delete action) after move

Replying to anonymous:

- 07504.982 E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=-4424850544399134157 version=0 MVT nodes=[{Node id=-4471493567344177943 version=0 MVD lat=37.959375813482374,lon=-122.53806602610294}, {Node id=-4471493567344177892 version=0 MVD lat=37.95942180053847,lon=-122.53799774879845}, {Node id=-4471493567344177928 version=0 MVD lat=37.95942593618086,lon=-122.53800222961897}, {Node id=-4471493567344177913 version=0 MVD lat=37.959453683497834,lon=-122.53796103296}, {Node id=-4471493567344177945 version=0 MVD lat=37.959447990860035,lon=-122.53795486518841}, {Node id=-4471493567344177931 version=0 MVD lat=37.959462247568204,lon=-122.53793369813766}, {Node id=-4471493567344177964 version=0 MVD lat=37.959490208972255,lon=-122.53796399333972}, {Node id=-4471493567344177948 version=0 MVD lat=37.959505523632984,lon=-122.53794125552491}, {Node id=-4471493567344177895 version=0 MVD lat=37.959513090430754,lon=-122.53794945388898}, {Node id=-4471493567344177967 version=0 MV lat=37.95953173767494,lon=-122.53792176814824}, {Node id=-4471493567344178185 version=0 MVD lat=37.95952171693044,lon=-122.53793618681576}, {Node id=-4471493567344178186 version=0 MVD lat=37.959546127005055,lon=-122.53796347663777}, {Node id=-4471493567344178183 version=0 MVD lat=37.95955868664996,lon=-122.53794528843397}, {Node id=-4471493567344177915 version=0 MVD lat=37.95958348232638,lon=-122.53797131137544}, {Node id=-4471493567344177897 version=0 MVD lat=37.95959355425467,lon=-122.53795635747431}, {Node id=-4471493567344177934 version=0 MVD lat=37.959622501832,lon=-122.53798772121687}, {Node id=-4471493567344177918 version=0 MVD lat=37.95964519317319,lon=-122.53795403111576}, {Node id=-4471493567344177951 version=0 MVD lat=37.95950536344218,lon=-122.53780253029484}, {Node id=-4471493567344177935 version=0 MVD lat=37.95945979476038,lon=-122.53787018651326}, {Node id=-4471493567344177891 version=0 MVD lat=37.9594534124925,lon=-122.53786327155136}, {Node id=-4471493567344177963 version=0 MVD lat=37.95943776507076,lon=-122.5378865034029}, {Node id=-4471493567344177912 version=0 MVD lat=37.9594256066255,lon=-122.53787333016126}, {Node id=-4471493567344177894 version=0 MVD lat=37.9593295674213,lon=-122.53801592019963}, {Node id=-4471493567344177943 version=0 MVD lat=37.959375813482374,lon=-122.53806602610294}]} (changed by the following commands: [Move 1 node], [Sequence: Orthogonalize], [Sequence: Add and move a virtual new node to way], [Sequence: Extrude Way], [Sequence: Extrude Way], [Sequence: Delete])

=== REPORTED CRASH DATA ===
sequence_information:
 - sequence_name: Sequence: Delete
 - sequence_command: Change nodes of ‎building‎ (23 nodes)‌
 - sequence_index: 0
 - sequence_commands: [org.openstreetmap.josm.command.ChangeNodesCommand;org.openstreetmap.josm.command.DeleteCommand]
 - sequence_commands_descriptions: [Change nodes of ‎building‎ (23 nodes)‌;Delete node node]

May you, please, explain, what do did and how you got the data inconsistency?
Is it reproducable? How?

Thanks a lot.

comment:2 by skyper, 3 years ago

Similar to #21217

comment:3 by taylor.smock, 16 months ago

Resolution: needinfo
Status: needinfoclosed

I've recently fixed some code which may cause this in:

  • AddrInterpolation
  • buildings_tools
  • merge-overlap
  • reltoolbox
  • utilsplugin2

This ticket uses

+ buildings_tools (35756)
+ utilsplugin2 (35792)

Modify Ticket

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