Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#19278 closed defect (duplicate)

Exception while opening 'Open' window

Reported by: stephane.vanerp@… Owned by: team
Priority: blocker Milestone:
Component: Core Version: latest
Keywords: template_report file selection Cc:

Description

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)

Attachments (1)

bug_josm.png (149.9 KB ) - added by anonymous 5 years ago.

Download all attachments as: .zip

Change History (2)

by anonymous, 5 years ago

Attachment: bug_josm.png added

comment:1 by skyper, 5 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #14596.
This is an encoding problem. You need to set a proper LANG= or use only ASCII.

Last edited 5 years ago by skyper (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.