Modify

Opened 5 years ago

Last modified 4 years ago

#18717 new defect

IAE: "Relation is already deleted" at TurnRestrictionsListDialog$DeleteAction.deleteRelation (deleting invalid turn restrictions)

Reported by: mirror176@… Owned by: team
Priority: normal Milestone:
Component: Plugin turnrestrictions Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. JOSM edit https://maproulette.org/challenge/9717/task/27178683
  2. Select node 5355246051.
  3. With "Only participating" selected, start clicking to delete turn restrictions (all should be removed as invalid due to oneway roads block the invalid travel).

What is the expected result?

Turn restrictions

What happens instead?

Either get unhandled exception or restriction continues to lose more details.

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

josm-15806.0, jre8-8.0.241,openjdk13-13.0.102 installed through chocolatey on windows 10 x64. Launched "C:\Program Files (x86)\JOSM\josm.exe" from link on start menu; seems to still call jre8.

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 en) Windows 10 64-Bit
OS Build number: Windows 10 Pro 1909 (18363)
Memory Usage: 1101 MB / 1820 MB (440 MB allocated, but free)
Java version: 1.8.0_241-b07, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1920x1080
Maximum Screen Size: 1920x1080
Dataset consistency test: No problems found

Plugins:
+ AddrInterpolation (35248)
+ DirectUpload (35248)
+ ElevationProfile (35248)
+ FastDraw (35256)
+ FixAddresses (35248)
+ ImproveOsm (191)
+ Mapillary (1.5.20)
+ MicrosoftStreetside (35248)
+ OpenStreetCam (280)
+ OpeningHoursEditor (35250)
+ RoadSigns (35313)
+ alignways (35248)
+ apache-commons (35092)
+ apache-http (35092)
+ areaselector (359)
+ austriaaddresshelper (57)
+ buildings_tools (35248)
+ editgpx (35248)
+ ejml (35122)
+ fieldpapers (v0.5.0)
+ geochat (35248)
+ gridify (1577091848)
+ gson (35158)
+ imagery_offset_db (35248)
+ javafx-windows
+ jna (35092)
+ junctionchecking (35248)
+ log4j (35092)
+ mapdust (35248)
+ mapwithai (1.2.3)
+ measurement (35248)
+ pdfimport (35248)
+ print (35248)
+ tageditor (35258)
+ terracer (35248)
+ turnlanes-tagging (283)
+ turnrestrictions (35313)
+ utilsplugin2 (35248)

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/NewParkingFeatures&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/ParkingLanes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Sidewalks&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Surface&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1

Last errors/warnings:
- W: Plugin javafx-windows requires Java version 10. The current Java version is 8. You have to update Java in order to use this plugin.
- W: No configuration settings found.  Using hardcoded default values for all pools.
- E: unable to find dependency javafx for plugin MicrosoftStreetside
- E: Handled by bug report queue: java.lang.IllegalArgumentException: {Relation id=7925378 version=2 MVDT]} is already deleted
- W: Warning - <html>JOSM could not find information about the following plugins:<ul><li>apache-commons</li><li>tageditor</li><li>RoadSigns</li><li>javafx-windows</li><li>FixAddresses</li><li>alignways</li><li>measurement</li><li>OpenStreetCam</li><li>editgpx</li><li>turnlanes-tagging</li><li>utilsplugin2</li><li>pdfimport</li><li>gridify</li><li>AddrInterpolation</li><li>terracer</li><li>turnrestrictions</li><li>jna</li><li>MicrosoftStreetside</li><li>log4j</li><li>imagery_offset_db</li><li>junctionchecking</li><li>ElevationProfile</li><li>ImproveOsm</li><li>mapdust</li><li>Mapillary</li><li>DirectUpload</li><li>ejml</li><li>FastDraw</li><li>geochat</li><li>print</li><li>fieldpapers</li><li>mapwithai</li><li>OpeningHoursEditor</li><li>areaselector</li><li>buildings_tools</li><li>gson</li><li>austriaaddresshelper</li><li>apache-http</li></ul>The plugins are not going to be loaded.</html>


=== 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: {Relation id=7925378 version=2 MVDT]} 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.deleteRelations(DeleteAction.java:355)
	at org.openstreetmap.josm.actions.mapmode.DeleteAction.deleteRelation(DeleteAction.java:336)
	at org.openstreetmap.josm.plugins.turnrestrictions.list.TurnRestrictionsListDialog$DeleteAction.deleteRelation(TurnRestrictionsListDialog.java:274)
	at org.openstreetmap.josm.plugins.turnrestrictions.list.TurnRestrictionsListDialog$DeleteAction.actionPerformed(TurnRestrictionsListDialog.java:285)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	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 (3)

comment:1 by Don-vip, 5 years ago

Component: CorePlugin turnrestrictions
Summary: deleting invalid turn restrictions crashes turn restrictionIAE: "Relation is already deleted" at TurnRestrictionsListDialog$DeleteAction.deleteRelation (deleting invalid turn restrictions)

comment:2 by skyper, 4 years ago

Ticket #20985 has been marked as a duplicate of this ticket.

comment:3 by skyper, 4 years ago

Maybe a core problem, see #21451.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to mirror176@….
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 team 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.