You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Michael Groß (JIRA)" <ji...@apache.org> on 2019/08/01 19:17:00 UTC

[jira] [Updated] (NETBEANS-2936) Can't open a project in a directory whose name contains non-ASCII characters

     [ https://issues.apache.org/jira/browse/NETBEANS-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Groß updated NETBEANS-2936:
-----------------------------------
    Summary: Can't open a project in a directory whose name contains non-ASCII characters  (was: Malformed input or input contains unmappable character)

> Can't open a project in a directory whose name contains non-ASCII characters
> ----------------------------------------------------------------------------
>
>                 Key: NETBEANS-2936
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2936
>             Project: NetBeans
>          Issue Type: Bug
>          Components: projects - Generic Infrastructure
>    Affects Versions: 11.1
>            Reporter: Michael Groß
>            Priority: Major
>         Attachments: ide.log, ui.log
>
>
> Steps to reproduce:
>  # Prepare a directory whose name contains non-ascii characters e.g. german umlauts (äöüÄÖÜ) (in my case it was /home/michael/Development/04_learning/Java/NebenläufigJava)
>  # File > Open project
>  # Try to open the directory
> Actual result:
> When I try to open the directory /home/michael/Development/04_learning/Java then it hangs. I Can close the window to open the project. The notification control shows that there was an exception. I shall append the following protocols on the issue: [^ui.log] [^ide.log]
> The exception is:
> java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /home/michael/Development/04_learning/Java/Nebenl??ufigJava
>     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.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 org.netbeans.swing.dirchooser.DirectoryNode.getFiles(DirectoryNode.java:153)
>     at org.netbeans.swing.dirchooser.DirectoryNode.loadChildren(DirectoryNode.java:114)
>     at org.netbeans.swing.dirchooser.DirectoryChooserUI$UpdateWorker.run(DirectoryChooserUI.java:2720)
>     at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>     at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>     at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
> [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists