Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#18489 closed defect (duplicate)

IAE: node is already deleted (DeleteAction) - Conflicts crash JOSM

Reported by: Wulfmorn Owned by: Wulfmorn
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Create conflicts (not sure which or how, probably deleting objects from nodes outside downloaded area)
  2. Use "resolve all conflicts to my version"

What is the expected result?

All conflicts resolved.

What happens instead?

Crash report and. Can no longer resolve bugs despite there being conflicts. Conflicts window is empty but upload is still blocked.
Ways that end without nodes can be seen.

The issue was later resolved but I don't know how...

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: 2019-12-01 23:10:15 +0100 (Sun, 01 Dec 2019)
Build-Date:2019-12-02 02:30:57
Revision:15553
Relative:URL: ^/trunk

Identification: JOSM/1.5 (15553 en) Windows 10 64-Bit
OS Build number: Windows 10 Pro 1903 (18362)
Memory Usage: 1263 MB / 1820 MB (536 MB allocated, but free)
Java version: 1.8.0_144-b01, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1920x1080, \Display1 1920x1080
Maximum Screen Size: 1920x1080
Dataset consistency test: No problems found

Plugins:
+ PicLayer (35248)
+ buildings_tools (35248)
+ turnrestrictions (35248)
+ utilsplugin2 (35248)

Map paint styles:
- http://osm.wzh.be/josm/roadspeeds/roadspeeds.mapcss
- http://osm.wzh.be/josm/entur_1.0.mapcss
- http://osm.wzh.be/josm/different_buildings/different_buildings.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1

Last errors/warnings:
- E: Object still in use - <html><strong>Failed</strong> to delete <strong>node 2858415311</strong>. It is still referred to by way 470320103.<br>Please load the way, remove the reference to the node, and upload again.<br><br>Click <strong>Prepare conflict resolution</strong> to load them now.<br>If necessary JOSM will create conflicts which you can resolve in the Conflict Resolution Dialog.</html>
- W: Unable to convert property fill-extent to type float: found  of type class java.lang.String!
- W: Unable to convert property fill-extent to type float: found  of type class java.lang.String!
- E: Error header: Node 2858415311 is still used by ways 470320103.
- E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=412, Error Header=<Node 2858415311 is still used by ways 470320103.>
- E: Object still in use - <html><strong>Failed</strong> to delete <strong>node 2858415311</strong>. It is still referred to by way 470320103.<br>Please load the way, remove the reference to the node, and upload again.<br><br>Click <strong>Prepare conflict resolution</strong> to load them now.<br>If necessary JOSM will create conflicts which you can resolve in the Conflict Resolution Dialog.</html>
- W: Unable to convert property fill-extent to type float: found  of type class java.lang.String!
- W: Unable to convert property fill-extent to type float: found  of type class java.lang.String!
- E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=470320103 version=2 MVT nodes=[{Node id=7096734804 version=1 V lat=59.88217192425769,lon=12.350149270418402}, {Node id=7096734805 version=1 V lat=59.882136584414994,lon=12.34995022024223}, {Node id=7096734803 version=1 V lat=59.88202568721837,lon=12.349852184256475}, {Node id=7096734802 version=1 V lat=59.88130191000145,lon=12.349476431077486}, {Node id=2858415309 version=3 V lat=59.881235,lon=12.3495157}, {Node id=4645201475 version=2 V lat=59.881136,lon=12.3496081}, {Node id=4645201476 version=2 V lat=59.8802733,lon=12.3489241}, {Node id=7096734820 version=1 V lat=59.880200986993,lon=12.348896236153758}, {Node id=7096734819 version=1 V lat=59.88004535041355,lon=12.349318278481082}, {Node id=7096734818 version=1 V lat=59.87992975893435,lon=12.349876642095683}, {Node id=7096734817 version=1 V lat=59.879929284455315,lon=12.350001352885927}, {Node id=7096734816 version=1 V lat=59.88030607093978,lon=12.350262250291733}, {Node id=7096734815 version=1 V lat=59.88055372454177,lon=12.350334549671691}, {Node id=7096734814 version=1 V lat=59.88086722530172,lon=12.350490660925946}, {Node id=7096734813 version=1 V lat=59.881089555324294,lon=12.35071340504035}, {Node id=7096734812 version=1 V lat=59.88120653167521,lon=12.350965320053527}, {Node id=7096734811 version=1 V lat=59.88124997436285,lon=12.351196374318903}, {Node id=7096734810 version=1 V lat=59.88132487866618,lon=12.351285403819293}, {Node id=7096734809 version=1 V lat=59.881483087881236,lon=12.351287651301583}, {Node id=7096734808 version=1 V lat=59.881733839054014,lon=12.351291437035902}, {Node id=7096734806 version=1 V lat=59.882001334900096,lon=12.351311701216732}, {Node id=7096734807 version=1 V lat=59.882062115672234,lon=12.35129201935142}, {Node id=7096734804 version=1 V lat=59.88217192425769,lon=12.350149270418402}, {Node id=2858415311 version=3 MVD lat=59.882165129113616,lon=12.350034036075641}]}
- E: Handled by bug report queue: java.lang.IllegalArgumentException: {Node id=2858415311 version=3 MVD lat=59.882165129113616,lon=12.350034036075641} is already deleted


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (18) of main
java.lang.IllegalArgumentException: {Node id=2858415311 version=3 MVD lat=59.882165129113616,lon=12.350034036075641} is already deleted
	at org.openstreetmap.josm.command.DeleteCommand.executeCommand(DeleteCommand.java:191)
	at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:79)
	at org.openstreetmap.josm.data.UndoRedoHandler.addNoRedraw(UndoRedoHandler.java:301)
	at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:355)
	at org.openstreetmap.josm.actions.mapmode.ImproveWayAccuracyAction.mouseReleased(ImproveWayAccuracyAction.java:502)
	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(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.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(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 (5)

comment:1 by stoecker, 4 years ago

Owner: changed from team to Wulfmorn
Status: newneedinfo

Without a reproducible way to get this report there is little what we can do. The error lies in the things you did before the conflict resolution.

Last edited 4 years ago by stoecker (previous) (diff)

comment:2 by Wulfmorn, 4 years ago

Ok. I've had this bug before, and I'd prefer to not get it again just to try it since it probably messes with the uploaded data. It should be done in a sandbox. Very likely I can't give a specific test-case since I would be changing the case while creating the bug.
The issue very likely is in the conflict resolution tool. Either in general or specifically in the "resolve all" option.

If I am able, I will try to dig up more information. Hopefully, someone else is able to help because this is a really nasty bug that corrupts the data being uploaded.

comment:3 by stoecker, 4 years ago

If not reproducible easily try to describe as best what you did if it happens again. E.g. What you did before and what the conflict was... The more issue specific info you have the better. If it is a part of larger changes try to focus on the elements related to the conflict/issue. Save the dataset before uploading. That could help as well.

comment:4 by Don-vip, 4 years ago

Resolution: duplicate
Status: needinfoclosed

Closed as duplicate of #18027.

comment:5 by skyper, 4 years ago

Summary: Conflicts crash JOSMIAE: node is already deleted (DeleteAction) - Conflicts crash JOSM

Modify Ticket

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