Modify ↓
#17597 closed defect (duplicate)
ImportImagePlugin crashes when opening directory with non-ASCII characters
| Reported by: | anonymous | Owned by: | anonymous |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugin importimage | Version: | |
| Keywords: | template_report locale linux | Cc: |
Description (last modified by )
What steps will reproduce the problem?
- Install the ImportImagePlugin plugin.
- Import an image and browse to a directory with files containing non-ASCII characters.
- Crash window appears as soon as the directory opens, even before selecting a file.
What is the expected result?
Be able to browse a directory containing non-ASCII characters.
What happens instead?
The file chooser crashes (JOSM handles the crash just fine so no data is lost).
Please provide any additional information below. Attach a screenshot if possible.
Revision:14171
Is-Local-Build:true
Build-Date:2018-08-20 13:25:28
Identification: JOSM/1.5 (14171 SVN en) Linux Ubuntu 18.04.2 LTS
Memory Usage: 513 MB / 3952 MB (168 MB allocated, but free)
Java version: 10.0.1+10-Ubuntu-3ubuntu1, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1920x1200
Maximum Screen Size: 1920x1200
VM arguments: [-Duser.home=${HOME}]
Dataset consistency test: No problems found
Plugins:
+ ImportImagePlugin (34576)
+ ejml (34389)
+ geotools (34513)
+ jts (34524)
+ log4j (34527)
Last errors/warnings:
- W: No configuration settings found. Using hardcoded default values for all pools.
- W: Region [TMS_BLOCK_v2] Resetting cache
- E: Handled by bug report queue: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /home/<user.name>/Downloads/Location saisonni��re et location de vacances
- E: Handled by bug report queue: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /home/<user.name>/Downloads/Location saisonni��re et location de vacances
=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.
Warning issued by: BugReportExceptionHandler#handleException
=== STACK TRACE ===
Thread: Basic L&F File Loading Thread (130)
java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /home/<user.name>/Downloads/Location saisonni��re et location de vacances
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:280)
at java.base/java.nio.file.Paths.get(Paths.java:84)
at java.desktop/sun.awt.shell.ShellFolder.getShellFolder(ShellFolder.java:247)
at java.desktop/javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:523)
at java.desktop/javax.swing.plaf.basic.BasicDirectoryModel$FilesLoader.run0(BasicDirectoryModel.java:290)
at java.desktop/javax.swing.plaf.basic.BasicDirectoryModel$FilesLoader.run(BasicDirectoryModel.java:279)
at java.base/java.lang.Thread.run(Thread.java:844)
Attachments (0)
Change History (3)
comment:1 by , 7 years ago
| Description: | modified (diff) |
|---|---|
| Keywords: | locale linux added |
| Owner: | changed from to |
| Status: | new → needinfo |
comment:2 by , 7 years ago
| Resolution: | → needinfo |
|---|---|
| Status: | needinfo → closed |
Note:
See TracTickets
for help on using tickets.



This is usually caused by a bad locale configuration. Can you please check
localeandLC_ALLon your system?