Modify ↓
#21863 closed defect (duplicate)
Error message when deleting a layer
| Reported by: | Owned by: | team | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- click on the bin button to delete a layer in the layer box
What is the expected result?
The layer is deleted
What happens instead?
The layer is deleted but an error message appears
Please provide any additional information below. Attach a screenshot if possible.
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2022-01-02 21:24:43 +0100 (Sun, 02 Jan 2022)
Revision:18360
Build-Date:2022-01-02 20:26:19
URL:https://josm.openstreetmap.de/svn/trunk
Identification: JOSM/1.5 (18360 fr) Linux KDE neon User - Plasma 25th Anniversary Edition
Memory Usage: 770 MB / 7880 MB (622 MB allocated, but free)
Java version: 11.0.13+8-Ubuntu-0ubuntu1.18.04, Ubuntu, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: fr_FR.UTF-8
System property file.encoding: ANSI_X3.4-1968
System property sun.jnu.encoding: ANSI_X3.4-1968
Locale info: fr_US
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: KDE
VM arguments: [-Duser.home=${HOME}]
Last errors/warnings:
- 00306.743 E: Autosave failed:
- 00306.745 E: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: <josm.userdata>/autosave/Calque de données 1_20220212_183010644.pid
- 00606.739 E: Autosave failed:
- 00606.739 E: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: <josm.userdata>/autosave/Calque de données 1_20220212_183510644.pid
- 01206.738 E: Autosave failed:
- 01206.739 E: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: <josm.userdata>/autosave/Calque de données 1_20220212_184510644.pid
- 01465.071 E: Handled by bug report queue: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: <josm.userdata>/autosave/Calque de données 1_20220212_184928969.pid
=== REPORTED CRASH DATA ===
LayerManager#fireLayerRemoving:
- listener: org.openstreetmap.josm.gui.layer.AutosaveTask@14a839a8
- event: LayerRemoveEvent [removedLayer=OsmDataLayer [name=Calque de données 1, associatedFile=null], lastLayer=true]
- layer: OsmDataLayer [name=Calque de données 1, associatedFile=null]
BugReportExceptionHandler#handleException:
No data collected.
Warning issued by: BugReportExceptionHandler#handleException
=== STACK TRACE ===
Thread: AWT-EventQueue-0 (27) of main
java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /home/manu/snap/josm/93/.local/share/JOSM/autosave/Calque de données 1_20220212_184928969.pid
at java.base/sun.nio.fs.UnixPath.encode(UnixPath.java:145)
at java.base/sun.nio.fs.UnixPath.<init>(UnixPath.java:69)
at java.base/sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:279)
at java.base/java.io.File.toPath(File.java:2329)
at org.openstreetmap.josm.gui.layer.AutosaveTask.createNewPidFile(AutosaveTask.java:223)
at org.openstreetmap.josm.gui.layer.AutosaveTask.getNewLayerFile(AutosaveTask.java:206)
at org.openstreetmap.josm.gui.layer.AutosaveTask.savelayer(AutosaveTask.java:237)
at org.openstreetmap.josm.gui.layer.AutosaveTask.cleanupLayer(AutosaveTask.java:343)
at org.openstreetmap.josm.gui.layer.AutosaveTask.layerRemoving(AutosaveTask.java:322)
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:311)
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:246)
at org.openstreetmap.josm.gui.layer.LayerManager.removeLayer(LayerManager.java:248)
at org.openstreetmap.josm.gui.dialogs.layer.DeleteLayerAction.actionPerformed(DeleteLayerAction.java:52)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1020)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1064)
at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
at java.desktop/java.awt.Component.processEvent(Component.java:6400)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
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 (3)
comment:1 by , 4 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
comment:2 by , 4 years ago
Replying to emmanuel_legrand@…:
Environment variable LANG: fr_FR.UTF-8 System property file.encoding: ANSI_X3.4-1968 System property sun.jnu.encoding: ANSI_X3.4-1968
You need to use a proper file encoding.
comment:3 by , 4 years ago
| Summary: | Error message whene deleting a layer → Error message when deleting a layer |
|---|
Note:
See TracTickets
for help on using tickets.



Closed as duplicate of #14596.