Modify ↓
#23957 closed defect (duplicate)
InvalidPathException when clicking "Open file" due to a special filename
| Reported by: | anonymous | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
What is the expected result?
What happens instead?
Please provide any additional information below. Attach a screenshot if possible.
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2024-10-01 13:50:10 +0200 (Tue, 01 Oct 2024)
Revision:19230
Build-Date:2024-10-02 01:30:34
URL:https://josm.openstreetmap.de/svn/trunk
Identification: JOSM/1.5 (19230 en) Linux Freedesktop SDK 23.08 (Flatpak runtime)
Memory Usage: 336 MB / 11904 MB (127 MB allocated, but free)
Java version: 21.0.4+2, Flathub, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920x1080x[Multi depth]@60Hz (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: de_DE.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: ANSI_X3.4-1968
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: KDE
VM arguments: [--module-path=/app/share/openjfx/lib, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, -Djosm.restart=true, -Djava.net.useSystemProxies=true, -XX:MaxRAMPercentage=75.0, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED]
Program arguments: [${HOME}/Downloads/osm-upload8591773020649844688.gpx]
Plugins:
+ DirectUpload (36282)
+ buildings_tools (36344)
+ editgpx (36126)
+ measurement (36344)
Last errors/warnings:
- 00007.361 W: Cannot lock cache directory. Will not use disk cache
- 00010.806 E: Handled by bug report queue: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: ${HOME}/Downloads/Proposici��n de cambios respeto al seguro de jubilaci��n en el ��frica.pdf
- 00010.808 E: Handled by bug report queue: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: ${HOME}/Downloads/Proposici��n de cambios respeto al seguro de jubilaci��n en el ��frica.pdf
- 00010.810 E: Handled by bug report queue: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: ${HOME}/Downloads/Proposici��n de cambios respeto al seguro de jubilaci��n en el ��frica.pdf
- 00010.812 E: Handled by bug report queue: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: ${HOME}/Downloads/Proposici��n de cambios respeto al seguro de jubilaci��n en el ��frica.pdf
=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.
Warning issued by: BugReportExceptionHandler#handleException
=== STACK TRACE ===
Thread: Basic L&F File Loading Thread (76)
java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /home/tim/Downloads/Proposici��n de cambios respeto al seguro de jubilaci��n en el ��frica.pdf
at java.base/sun.nio.fs.UnixPath.encode(UnixPath.java:129)
at java.base/sun.nio.fs.UnixPath.<init>(UnixPath.java:76)
at java.base/sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:312)
at java.base/java.nio.file.Path.of(Path.java:148)
at java.base/java.nio.file.Paths.get(Paths.java:69)
at java.desktop/sun.awt.shell.ShellFolder.getShellFolder(ShellFolder.java:260)
at java.desktop/javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:585)
at java.desktop/javax.swing.plaf.basic.BasicDirectoryModel$FilesLoader.run0(BasicDirectoryModel.java:306)
at java.desktop/javax.swing.plaf.basic.BasicDirectoryModel$FilesLoader.run(BasicDirectoryModel.java:295)
at java.base/java.lang.Thread.run(Thread.java:1583)
Attachments (0)
Change History (2)
comment:1 by , 15 months ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
| Summary: | Crash → InvalidPathException when clicking "Open file" due to a special filename |
comment:2 by , 15 months ago
Environment variable LANG: de_DE.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: ANSI_X3.4-1968
These all need to be UTF-8 compatible (e.g. C.UTF-8, etc.).
Note:
See TracTickets
for help on using tickets.



Closed as duplicate of #14596.