Modify

Opened 9 months ago

Last modified 9 months ago

#23520 new defect

Error occurs when closing JOSM

Reported by: anonymous Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report, gpx, markerlayer Cc:

Description

What steps will reproduce the problem?

  1. Click x icon in top right corner to close the program.
  2. Click "save session" button in the pop-up dialog.

What is the expected result?

Session is saved and JOSM closes.

What happens instead?

An error message pops up (also the session is saved, or at least so is told in a notification in the bottom left corner)

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

This is the debug information that was given:

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2024-02-05 12:56:34 +0100 (Mon, 05 Feb 2024)
Revision:18969
Build-Date:2024-02-06 02:30:58
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18969 fi) Windows 10 64-Bit
OS Build number: Windows 10 Pro 2009 (19045)
Memory Usage: 1458 MB / 4072 MB (546 MB allocated, but free)
Java version: 17.0.10+7-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: \Display0 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: fi_FI
Numbers with default locale: 1234567890 -> 1234567890
Dataset consistency test: No problems found

Plugins:
+ measurement (36200)
+ pbf (36176)
+ reverter (36196)
+ tageditor (36200)
+ turnlanes-tagging (0.0.5)
+ undelete (36126)

Tagging presets:
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/FI.zip
+ https://josm.openstreetmap.de/josmfile?page=Presets/Radwege&zip=1

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Admin_Boundaries&zip=1
- https://raw.githubusercontent.com/yopaseopor/traffic_signs_style_JOSM/master/Styles_Traffic_signs_EUR_OR.zip
+ https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Enhanced_Lane_and_Road_Attributes&zip=1

Last errors/warnings:
- 09015.341 W: Desktop class failed. Platform dependent fall back for open url in browser.: java.io.IOException: Failed to open file:/C:/Users/<user.name>***FILENAME REDACTED***.3gp. Error message: Mitään sovellusta ei ole kytketty määritettyyn tiedostoon tätä toimintoa varten.
- 09015.424 W: Desktop class failed. Platform dependent fall back for open url in browser.: java.io.IOException: Failed to open file:/C:/Users/<user.name>***FILENAME REDACTED***.3gp. Error message: Mitään sovellusta ei ole kytketty määritettyyn tiedostoon tätä toimintoa varten.
- 09015.520 W: Desktop class failed. Platform dependent fall back for open url in browser.: java.io.IOException: Failed to open file:/C:/Users/<user.name>***FILENAME REDACTED***1.3gp. Error message: Mitään sovellusta ei ole kytketty määritettyyn tiedostoon tätä toimintoa varten.
- 09208.626 W: Desktop class failed. Platform dependent fall back for open url in browser.: java.io.IOException: Failed to open file:/C:/Users/<user.name>***FILENAME REDACTED***.3gp. Error message: Mitään sovellusta ei ole kytketty määritettyyn tiedostoon tätä toimintoa varten.
- 09208.710 W: Desktop class failed. Platform dependent fall back for open url in browser.: java.io.IOException: Failed to open file:/C:/Users/<user.name>***FILENAME REDACTED***.3gp. Error message: Mitään sovellusta ei ole kytketty määritettyyn tiedostoon tätä toimintoa varten.
- 09208.808 W: Desktop class failed. Platform dependent fall back for open url in browser.: java.io.IOException: Failed to open file:***FILENAME REDACTED***.1.3gp. Error message: Mitään sovellusta ei ole kytketty määritettyyn tiedostoon tätä toimintoa varten.
- 09378.980 W: Muutoksia tallentamatta - <html>Olet muuttanut relaatiota.<br><br>Haluatko tallentaa tekemäsi muutokset? Muutoksia ei vielä lähetetä palvelimelle.</html>
- 09499.698 W: Ristiriita tiedoissa - <html>Relaatiota on muutettu muokkaimen ulkopuolelta.<br>Et voi tallentaa muutoksiasi etkä jatkaa muokkaamista.<br><br>Luodaanko ristiriita ja suljetaan muokkain?</html>
- 10472.554 W: Desktop class failed. Platform dependent fall back for open url in browser.: java.io.IOException: Failed to open file:/C:/Users/<user.name>***FILENAME REDACTED***.3gp. Error message: Mitään sovellusta ei ole kytketty määritettyyn tiedostoon tätä toimintoa varten.
- 10757.572 E: Handled by bug report queue: java.lang.IllegalArgumentException: Listener org.openstreetmap.josm.gui.layer.markerlayer.Marker$$Lambda$938/0x00000265075ca658@4d09818e (instance of org.openstreetmap.josm.gui.layer.markerlayer.Marker$$Lambda$938/0x00000265075ca658) was not registered before or already removed.



=== REPORTED CRASH DATA ===
LayerManager#fireLayerRemoving:
 - listener: org.openstreetmap.josm.gui.MapView[,0,0,1197x933,alignmentX=0.0,alignmentY=0.0,border=,flags=0,maximumSize=,minimumSize=java.awt.Dimension[width=10,height=0],preferredSize=]
 - event: LayerRemoveEvent [removedLayer=MarkerLayer [name=Merkinnät: ***FILENAME REDACTED***.gpx, associatedFile=***FILENAME REDACTED***.gpx, visible=false], lastLayer=false]
 - layer: MarkerLayer [name=***FILENAME REDACTED***.gpx, associatedFile=C:***FILENAME REDACTED***.gpx, visible=false]

BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (22) of main
java.lang.IllegalArgumentException: Listener org.openstreetmap.josm.gui.layer.markerlayer.Marker$$Lambda$938/0x00000265075ca658@4d09818e (instance of org.openstreetmap.josm.gui.layer.markerlayer.Marker$$Lambda$938/0x00000265075ca658) was not registered before or already removed.
	at org.openstreetmap.josm.tools.ListenerList.failRemove(ListenerList.java:137)
	at org.openstreetmap.josm.tools.ListenerList.removeListener(ListenerList.java:131)
	at org.openstreetmap.josm.data.Preferences.removeKeyPreferenceChangeListener(Preferences.java:299)
	at org.openstreetmap.josm.gui.layer.markerlayer.Marker.destroy(Marker.java:446)
	at java.base/java.lang.Iterable.forEach(Iterable.java:75)
	at org.openstreetmap.josm.gui.layer.markerlayer.MarkerLayer.destroy(MarkerLayer.java:195)
	at org.openstreetmap.josm.gui.MapView.layerRemoving(MapView.java:409)
	at org.openstreetmap.josm.gui.layer.LayerManager.fireLayerRemoving(LayerManager.java:476)
	at org.openstreetmap.josm.gui.layer.LayerManager.realRemoveSingleLayer(LayerManager.java:278)
	at org.openstreetmap.josm.gui.layer.MainLayerManager.realRemoveSingleLayer(MainLayerManager.java:350)
	at org.openstreetmap.josm.gui.layer.LayerManager.realRemoveLayer(LayerManager.java:266)
	at org.openstreetmap.josm.gui.layer.LayerManager.lambda$removeLayer$1(LayerManager.java:248)
	at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitWithException(GuiHelper.java:247)
	at org.openstreetmap.josm.gui.layer.LayerManager.removeLayer(LayerManager.java:248)
	at org.openstreetmap.josm.gui.layer.LayerManager.realResetState(LayerManager.java:515)
	at org.openstreetmap.josm.gui.layer.MainLayerManager.realResetState(MainLayerManager.java:558)
	at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitWithException(GuiHelper.java:247)
	at org.openstreetmap.josm.gui.layer.LayerManager.resetState(LayerManager.java:506)
	at org.openstreetmap.josm.gui.MainTermination.run(MainTermination.java:43)
	at org.openstreetmap.josm.spi.lifecycle.Lifecycle.exitJosm(Lifecycle.java:121)
	at org.openstreetmap.josm.gui.MainApplication.exitJosm(MainApplication.java:522)
	at org.openstreetmap.josm.gui.MainFrame$ExitWindowAdapter.windowClosing(MainFrame.java:199)
	at java.desktop/java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:357)
	at java.desktop/java.awt.Window.processWindowEvent(Window.java:2085)
	at java.desktop/javax.swing.JFrame.processWindowEvent(JFrame.java:298)
	at java.desktop/java.awt.Window.processEvent(Window.java:2044)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5001)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2780)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4833)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:775)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:747)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:744)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2024-02-05 12:56:34 +0100 (Mon, 05 Feb 2024)
Revision:18969
Build-Date:2024-02-06 02:30:58
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18969 fi) Windows 10 64-Bit
OS Build number: Windows 10 Pro 2009 (19045)
Memory Usage: 1458 MB / 4072 MB (546 MB allocated, but free)
Java version: 17.0.10+7-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: \Display0 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: fi_FI
Numbers with default locale: 1234567890 -> 1234567890
Dataset consistency test: No problems found

Plugins:
+ measurement (36200)
+ pbf (36176)
+ reverter (36196)
+ tageditor (36200)
+ turnlanes-tagging (0.0.5)
+ undelete (36126)

Tagging presets:
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/FI.zip
+ https://josm.openstreetmap.de/josmfile?page=Presets/Radwege&zip=1

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Admin_Boundaries&zip=1
- https://raw.githubusercontent.com/yopaseopor/traffic_signs_style_JOSM/master/Styles_Traffic_signs_EUR_OR.zip
+ https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Enhanced_Lane_and_Road_Attributes&zip=1

Last errors/warnings:
- 09015.341 W: Desktop class failed. Platform dependent fall back for open url in browser.: java.io.IOException: Failed to open file:/C:/Users/<user.name>***FILENAME REDACTED***3gp. Error message: Mitään sovellusta ei ole kytketty määritettyyn tiedostoon tätä toimintoa varten.
- 09015.424 W: Desktop class failed. Platform dependent fall back for open url in browser.: java.io.IOException: Failed to open file:/C:/Users/<user.name>***FILENAME REDACTED***.3gp. Error message: Mitään sovellusta ei ole kytketty määritettyyn tiedostoon tätä toimintoa varten.
- 09015.520 W: Desktop class failed. Platform dependent fall back for open url in browser.: java.io.IOException: Failed to open file:/C:/Users/<user.name>***FILENAME REDACTED***.3gp. Error message: Mitään sovellusta ei ole kytketty määritettyyn tiedostoon tätä toimintoa varten.
- 09208.626 W: Desktop class failed. Platform dependent fall back for open url in browser.: java.io.IOException: Failed to open file:/C:/Users/<user.name>***FILENAME REDACTED***.3gp. Error message: Mitään sovellusta ei ole kytketty määritettyyn tiedostoon tätä toimintoa varten.
- 09208.710 W: Desktop class failed. Platform dependent fall back for open url in browser.: java.io.IOException: Failed to open file:/C:/Users/<user.name>***FILENAME REDACTED***.3gp. Error message: Mitään sovellusta ei ole kytketty määritettyyn tiedostoon tätä toimintoa varten.
- 09208.808 W: Desktop class failed. Platform dependent fall back for open url in browser.: java.io.IOException: Failed to open file:/C:/Users/<user.name>***FILENAME REDACTED***.3gp. Error message: Mitään sovellusta ei ole kytketty määritettyyn tiedostoon tätä toimintoa varten.
- 09378.980 W: Muutoksia tallentamatta - <html>Olet muuttanut relaatiota.<br><br>Haluatko tallentaa tekemäsi muutokset? Muutoksia ei vielä lähetetä palvelimelle.</html>
- 09499.698 W: Ristiriita tiedoissa - <html>Relaatiota on muutettu muokkaimen ulkopuolelta.<br>Et voi tallentaa muutoksiasi etkä jatkaa muokkaamista.<br><br>Luodaanko ristiriita ja suljetaan muokkain?</html>
- 10472.554 W: Desktop class failed. Platform dependent fall back for open url in browser.: java.io.IOException: Failed to open file:/C:/Users/<user.name>***FILENAME REDACTED***.3gp. Error message: Mitään sovellusta ei ole kytketty määritettyyn tiedostoon tätä toimintoa varten.
- 10757.572 E: Handled by bug report queue: java.lang.IllegalArgumentException: Listener org.openstreetmap.josm.gui.layer.markerlayer.Marker$$Lambda$938/0x00000265075ca658@4d09818e (instance of org.openstreetmap.josm.gui.layer.markerlayer.Marker$$Lambda$938/0x00000265075ca658) was not registered before or already removed.



=== REPORTED CRASH DATA ===
LayerManager#fireLayerRemoving:
 - listener: org.openstreetmap.josm.gui.MapView[,0,0,1197x933,alignmentX=0.0,alignmentY=0.0,border=,flags=0,maximumSize=,minimumSize=java.awt.Dimension[width=10,height=0],preferredSize=]
 - event: LayerRemoveEvent [removedLayer=MarkerLayer [name=Merkinnät: ***FILENAME REDACTED***.gpx, associatedFile=***FILENAME REDACTED***.gpx, visible=false], lastLayer=false]
 - layer: MarkerLayer [name=Merkinnät: ***FILENAME REDACTED***.gpx, associatedFile=***FILENAME REDACTED***.gpx, visible=false]

BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (22) of main
java.lang.IllegalArgumentException: Listener org.openstreetmap.josm.gui.layer.markerlayer.Marker$$Lambda$938/0x00000265075ca658@4d09818e (instance of org.openstreetmap.josm.gui.layer.markerlayer.Marker$$Lambda$938/0x00000265075ca658) was not registered before or already removed.
	at org.openstreetmap.josm.tools.ListenerList.failRemove(ListenerList.java:137)
	at org.openstreetmap.josm.tools.ListenerList.removeListener(ListenerList.java:131)
	at org.openstreetmap.josm.data.Preferences.removeKeyPreferenceChangeListener(Preferences.java:299)
	at org.openstreetmap.josm.gui.layer.markerlayer.Marker.destroy(Marker.java:446)
	at java.base/java.lang.Iterable.forEach(Iterable.java:75)
	at org.openstreetmap.josm.gui.layer.markerlayer.MarkerLayer.destroy(MarkerLayer.java:195)
	at org.openstreetmap.josm.gui.MapView.layerRemoving(MapView.java:409)
	at org.openstreetmap.josm.gui.layer.LayerManager.fireLayerRemoving(LayerManager.java:476)
	at org.openstreetmap.josm.gui.layer.LayerManager.realRemoveSingleLayer(LayerManager.java:278)
	at org.openstreetmap.josm.gui.layer.MainLayerManager.realRemoveSingleLayer(MainLayerManager.java:350)
	at org.openstreetmap.josm.gui.layer.LayerManager.realRemoveLayer(LayerManager.java:266)
	at org.openstreetmap.josm.gui.layer.LayerManager.lambda$removeLayer$1(LayerManager.java:248)
	at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitWithException(GuiHelper.java:247)
	at org.openstreetmap.josm.gui.layer.LayerManager.removeLayer(LayerManager.java:248)
	at org.openstreetmap.josm.gui.layer.LayerManager.realResetState(LayerManager.java:515)
	at org.openstreetmap.josm.gui.layer.MainLayerManager.realResetState(MainLayerManager.java:558)
	at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitWithException(GuiHelper.java:247)
	at org.openstreetmap.josm.gui.layer.LayerManager.resetState(LayerManager.java:506)
	at org.openstreetmap.josm.gui.MainTermination.run(MainTermination.java:43)
	at org.openstreetmap.josm.spi.lifecycle.Lifecycle.exitJosm(Lifecycle.java:121)
	at org.openstreetmap.josm.gui.MainApplication.exitJosm(MainApplication.java:522)
	at org.openstreetmap.josm.gui.MainFrame$ExitWindowAdapter.windowClosing(MainFrame.java:199)
	at java.desktop/java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:357)
	at java.desktop/java.awt.Window.processWindowEvent(Window.java:2085)
	at java.desktop/javax.swing.JFrame.processWindowEvent(JFrame.java:298)
	at java.desktop/java.awt.Window.processEvent(Window.java:2044)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5001)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2780)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4833)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:775)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:747)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:744)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

Attachments (0)

Change History (1)

comment:1 by taylor.smock, 9 months ago

Keywords: gpx markerlayer added

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 anonymous.
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.