Pontus Fröding created NETBEANS-4454:
----------------------------------------
Summary: Can't browse folders containing files or folders with non
ASCII characters
Key: NETBEANS-4454
URL: https://issues.apache.org/jira/browse/NETBEANS-4454
Project: NetBeans
Issue Type: Bug
Environment: Lubuntu 20.04
Reporter: Pontus Fröding
Trying to create or open a project. When browsing an exception happens if there
is a å, ä or ö in any of the filenames. It's enough with it seeing a folder
while browsing for the project for it to through an exception. In the exception
below there should be an å where it is ��.
<record>
<date>2020-06-15T22:19:46</date>
<millis>1592252386398</millis>
<sequence>92</sequence>
<level>1000</level>
<thread>33</thread>
<message>Error in RequestProcessor
org.netbeans.swing.dirchooser.DirectoryChooserUI$UpdateWorker</message>
<exception>
<message>java.nio.file.InvalidPathException: Malformed input or input contains
unmappable characters: /home/pontus/folder/Filmer p��</message>
<frame>
<class>sun.nio.fs.UnixPath</class>
<method>encode</method>
<line>147</line>
<file>${java.home}lib/rt.jar</file>
</frame>
<frame>
<class>sun.nio.fs.UnixPath</class>
<method><init></method>
<line>71</line>
<file>${java.home}lib/rt.jar</file>
</frame>
<frame>
<class>sun.nio.fs.UnixFileSystem</class>
<method>getPath</method>
<line>281</line>
<file>${java.home}lib/rt.jar</file>
</frame>
<frame>
<class>java.nio.file.Paths</class>
<method>get</method>
<line>84</line>
<file>${java.home}lib/rt.jar</file>
</frame>
<frame>
<class>sun.awt.shell.ShellFolder</class>
<method>getShellFolder</method>
<line>247</line>
<file>${java.home}lib/rt.jar</file>
</frame>
<frame>
<class>javax.swing.filechooser.FileSystemView</class>
<method>getFiles</method>
<line>490</line>
<file>${java.home}lib/rt.jar</file>
</frame>
<frame>
<class>org.netbeans.swing.dirchooser.DirectoryNode</class>
<method>getFiles</method>
<line>153</line>
<file>${netBeansDir}modules/org-netbeans-swing-dirchooser.jar</file>
</frame>
<frame>
<class>org.netbeans.swing.dirchooser.DirectoryNode</class>
<method>loadChildren</method>
<line>114</line>
<file>${netBeansDir}modules/org-netbeans-swing-dirchooser.jar</file>
</frame>
<frame>
<class>org.netbeans.swing.dirchooser.DirectoryChooserUI$UpdateWorker</class>
<method>run</method>
<line>2720</line>
<file>${netBeansDir}modules/org-netbeans-swing-dirchooser.jar</file>
</frame>
<frame>
<class>org.openide.util.RequestProcessor$Task</class>
<method>run</method>
<line>1418</line>
<file>${netbeans.home}lib/org-openide-util.jar</file>
</frame>
<frame>
<class>org.netbeans.modules.openide.util.GlobalLookup</class>
<method>execute</method>
<line>45</line>
<file>${netbeans.home}lib/org-openide-util-lookup.jar</file>
</frame>
<frame>
<class>org.openide.util.lookup.Lookups</class>
<method>executeWith</method>
<line>278</line>
<file>${netbeans.home}lib/org-openide-util-lookup.jar</file>
</frame>
<frame>
<class>org.openide.util.RequestProcessor$Processor</class>
<method>run</method>
<line>2033</line>
<file>${netbeans.home}lib/org-openide-util.jar</file>
</frame>
</exception>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists