Modify

Opened 5 years ago

Closed 5 years ago

#18676 closed defect (duplicate)

IllegalArgumentException node is already deleted at org.openstreetmap.josm.command.DeleteCommand.executeCommand (JOSM crashed during conflict clearance)

Reported by: jumat@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report node already deleted Cc:

Description

What steps will reproduce the problem?

  1. conflict clearance of points or lines

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-02-01 01:10:57 +0100 (Sat, 01 Feb 2020)
Build-Date:2020-02-01 00:12:46
Revision:15806
Relative:URL: ^/trunk

Identification: JOSM/1.5 (15806 de) Mac OS X 10.15.3
OS Build number: Mac OS X 10.15.3 (19D76)
Memory Usage: 1294 MB / 1820 MB (270 MB allocated, but free)
Java version: 1.8.0_241-b07, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: Display 441084945 2560x1080
Maximum Screen Size: 2560x1080
VM arguments: [-Djava.library.path=/private/var/folders/mq/zwtfhdb533d13ylzfqpbjrfc0000gn/T/AppTranslocation/A775F461-E79D-4675-A4EF-6A250B6D9854/d/JOSM.app/Contents/MacOS, -DLibraryDirectory=${HOME}/Library, -DDocumentsDirectory=${HOME}/Documents, -DApplicationSupportDirectory=${HOME}/Library/Application Support, -DCachesDirectory=${HOME}/Library/Caches, -DApplicationDirectory=${HOME}/Applications, -DAutosavedInformationDirectory=${HOME}/Library/Autosave Information, -DDesktopDirectory=${HOME}/Desktop, -DDownloadsDirectory=${HOME}/Downloads, -DMoviesDirectory=${HOME}/Movies, -DMusicDirectory=${HOME}/Music, -DPicturesDirectory=${HOME}/Pictures, -DSharedPublicDirectory=${HOME}/Public, -DSystemLibraryDirectory=/Library, -DSystemApplicationSupportDirectory=/Library/Application Support, -DSystemCachesDirectory=/Library/Caches, -DSystemApplicationDirectory=/Applications, -DSystemUserDirectory=/Users, -DUserHome=${HOME}, -DSandboxEnabled=true, -DLaunchModifierFlags=0, -DLaunchModifierFlagCapsLock=false, -DLaunchModifierFlagShift=false, -DLaunchModifierFlagControl=false, -DLaunchModifierFlagOption=false, -DLaunchModifierFlagCommand=false, -DLaunchModifierFlagNumericPad=false, -DLaunchModifierFlagHelp=false, -DLaunchModifierFlagFunction=false, -Dapple.laf.useScreenMenuBar=true, -Dcom.apple.macos.use-file-dialog-packages=true, -Dcom.apple.macos.useScreenMenuBar=true, -Dcom.apple.mrj.application.apple.menu.about.name=JOSM, -Dcom.apple.smallTabs=true]
Dataset consistency test: No problems found

Plugins:
+ FastDraw (35256)
+ austriaaddresshelper (57)
+ buildings_tools (35248)
+ continuosDownload (91)
+ contourmerge (v0.1.5)
+ utilsplugin2 (35248)

Map paint styles:
+ ${HOME}/Downloads/browser/New_basic_style.mapcss

Last errors/warnings:
- E: Objekt wird noch benutzt - <html>Löschen des <strong>Punktes 6076124731</strong> <strong fehlgeschlagen</strong>. Er wird von den Linien [646827427, 653117683] weiterhin verwendet.<br>Bitte die Linien herunterladen, die Referenzen auf den Punkt entfernen und erneut hochladen.<br><br>Zum Herunterladen <strong>Bereinigen von Konflikten vorbereiten</strong> anklicken.<br>Falls notwendig werden Konflikte erstellt, welche im Dialog zur Konfliktlösung behoben werden können.</html>
- E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=646827427 version=2 MVT nodes=[{Node id=6076124730 version=1 V lat=46.9927823,lon=16.2653339}, {Node id=6076124729 version=1 V lat=46.9946456,lon=16.2654653}, {Node id=6076124728 version=1 V lat=46.9946658,lon=16.2646486}, {Node id=6076124727 version=1 V lat=46.9941745,lon=16.2642892}, {Node id=6076124726 version=1 V lat=46.9940245,lon=16.2642369}, {Node id=6076124731 version=1 MVD lat=46.9928299,lon=16.2641323}]}
- E: Error header: Node 6076124731 is still used by ways 646827427.
- E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=412, Error Header=<Node 6076124731 is still used by ways 646827427.>
- E: Objekt wird noch benutzt - <html>Löschen des <strong>Punktes 6076124731</strong> <strong fehlgeschlagen</strong>. Er wird von Linie 646827427 weiterhin verwendet.<br>Bitte die Linie herunterladen, die Referenz auf den Punkt entfernen und erneut hochladen.<br><br>Zum Herunterladen <strong>Bereinigen von Konflikten vorbereiten</strong> anklicken.<br>Falls notwendig werden Konflikte erstellt, welche im Dialog zur Konfliktlösung behoben werden können.</html>
- W: Unable to convert property color to type class java.awt.Color: found # of type class java.lang.String!
- W: Unable to convert property color to type class java.awt.Color: found # of type class java.lang.String!
- E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted node referenced: {Way id=646827427 version=2 MVT nodes=[{Node id=-256681 version=0 MV lat=46.992822554099206,lon=16.264161762893202}, {Node id=6076124730 version=1 V lat=46.9927823,lon=16.2653339}, {Node id=6076124729 version=1 V lat=46.9946456,lon=16.2654653}, {Node id=6076124728 version=1 V lat=46.9946658,lon=16.2646486}, {Node id=6076124727 version=1 V lat=46.9941745,lon=16.2642892}, {Node id=6076124726 version=1 V lat=46.9940245,lon=16.2642369}, {Node id=6076124731 version=1 MVD lat=46.9928299,lon=16.2641323}]}
- W: Konflikte gefunden - <html>9 Konflikte wurden entdeckt.</html>
- E: Handled by bug report queue: java.lang.IllegalArgumentException: {Node id=6076124731 version=1 MVD lat=46.9928299,lon=16.2641323} is already deleted


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (17) of main
java.lang.IllegalArgumentException: {Node id=6076124731 version=1 MVD lat=46.9928299,lon=16.2641323} 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:300)
	at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:354)
	at org.openstreetmap.josm.actions.mapmode.DeleteAction.doActionPerformed(DeleteAction.java:162)
	at org.openstreetmap.josm.actions.DeleteAction.actionPerformed(DeleteAction.java:73)
	at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1668)
	at javax.swing.JComponent.processKeyBinding(JComponent.java:2882)
	at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:307)
	at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:263)
	at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2974)
	at javax.swing.JComponent.processKeyBindings(JComponent.java:2966)
	at javax.swing.JComponent.processKeyEvent(JComponent.java:2845)
	at java.awt.Component.processEvent(Component.java:6316)
	at java.awt.Container.processEvent(Container.java:2239)
	at java.awt.Component.dispatchEventImpl(Component.java:4889)
	at java.awt.Container.dispatchEventImpl(Container.java:2297)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)
	at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:835)
	at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1103)
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:974)
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:800)
	at java.awt.Component.dispatchEventImpl(Component.java:4760)
	at java.awt.Container.dispatchEventImpl(Container.java:2297)
	at java.awt.Window.dispatchEventImpl(Window.java:2746)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
	at java.awt.EventQueue$4.run(EventQueue.java:733)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Attachments (1)

files.zip (1.3 MB ) - added by jumat@… 5 years ago.
all files from source: Library/User/JOSM/autosave

Download all attachments as: .zip

Change History (9)

comment:1 by skyper, 5 years ago

Keywords: node already deleted added
Owner: changed from team to jumat@…
Status: newneedinfo
Summary: JOSM crashed during conflict clearanceIllegalArgumentException node is already deleted at org.openstreetmap.josm.command.DeleteCommand.executeCommand (JOSM crashed during conflict clearance)

What did you do before the conflicts ? Is it reproducible ?

Please, have a look at the autosave -> deleted_layers folder. We need the osm file(s) before the conflicts.
By chance, if you have or find any, please, attach them (compressed) to the ticket if they are not huge. Thanks.

comment:3 by jumat@…, 5 years ago

Hello,

I had some conflicts during an upload of data. Then I had to clear those conflicts to avoid further error messages. During this process, JOSM crashed. I do not know, why.
This error message occurs several times.

comment:4 by skyper, 5 years ago

Did you only download with JOSM or did you use any additional files/downloads
Did you save before upload ?
Did it crash completely ?
Did you start JOSM after the crash ? It should automatically load the deleted layers. Please, save the involved osm data layer to a different file.

Again, please, take a look at the files in the deleted_layers folder. On MacOS it should be under Users/<YourName>/Library/JOSM/Autosave. Maybe, you find a file to reproduce.

by jumat@…, 5 years ago

Attachment: files.zip added

all files from source: Library/User/JOSM/autosave

comment:5 by jumat@…, 5 years ago

Yes, as common usage in JOSM > download data from OSM > edit/remove/complete data > upload this revisions.
No, I haven't saved this before upload. I never save JOSM-sessions.
No, not completely. Only this window/error message occurs, which always occurs, when JOSM crashes.
Sure, but I have started JOSM with a plain layer.

I've found several files at this source you've posted. See attached as zip-compressed file.

comment:6 by skyper, 5 years ago

Owner: changed from jumat@… to team
Status: needinfonew

in reply to:  5 comment:7 by skyper, 5 years ago

Replying to jumat@…:

I've found several files at this source you've posted. See attached as zip-compressed file.

Thanks, sadly, nothing useful. I found the layer but it was saved after the conflict resolution.

comment:8 by Don-vip, 5 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #16932.

Modify Ticket

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