﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
19278	Exception while opening 'Open' window	stephane.vanerp@…	team	"==== What steps will reproduce the problem?
1. Fresh new installation of JSOM. Download of some maps already done.
2. Simply click on the 'Open' menuitem in the 'File' menu
3. The modal window of 'Open' is opened BUT, at the same time, a bug is reported.

==== What is the expected result?
Navigate through personnal folder. Select a file to be opened.
==== What happens instead?
No file at all is diplayed from my root path (/home/steph/). No subdirectories too.

==== Please provide any additional information below. Attach a screenshot if possible.
As you can see in the trace below, I have a folder 'Vidéos' in my personnal profile. Vidéos is french typed, i'm belgian. It seems to be an encoding problem.

Thanks in advance for the reading.

{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-04-06 02:17:07 +0200 (Mon, 06 Apr 2020)
Revision:16239
Build-Date:2020-04-06 00:18:43
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (16239 en) Linux Ubuntu 18.04.4 LTS
Memory Usage: 604 MB / 8008 MB (429 MB allocated, but free)
Java version: 11.0.7+10-post-Ubuntu-2ubuntu218.04, Ubuntu, OpenJDK 64-Bit Server VM
Screen: :0.0 4480x1440
Maximum Screen Size: 4480x1440
VM arguments: [-Duser.home=${HOME}]

Last errors/warnings:
- E: Handled by bug report queue: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /home/<user.name>/Vid��os
- E: Handled by bug report queue: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /home/<user.name>/Vid��os


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: Basic L&F File Loading Thread (51)
java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /home/steph/Vid��os
	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.nio.file.Path.of(Path.java:147)
	at java.base/java.nio.file.Paths.get(Paths.java:69)
	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:834)
}}}
"	defect	closed	blocker		Core	latest	duplicate	template_report file selection	
