This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 270111 - java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /home/mmueller/Documents/Ver??ffentlichungen
Summary: java.nio.file.InvalidPathException: Malformed input or input contains unmappa...
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: Dev
Hardware: All All
: P2 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-17 22:03 UTC by muellermi
Modified: 2017-03-20 22:27 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 228457


Attachments
stacktrace (738 bytes, text/plain)
2017-03-17 22:03 UTC, muellermi
Details
stacktrace (742 bytes, text/plain)
2017-03-17 22:06 UTC, muellermi
Details
stacktrace (738 bytes, text/plain)
2017-03-20 22:22 UTC, muellermi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description muellermi 2017-03-17 22:03:55 UTC
Build: NetBeans IDE Dev (Build 201703160002)
VM: Java HotSpot(TM) 64-Bit Server VM, 9-ea+161, Java(TM) SE Runtime Environment, 9-ea+161
OS: Linux

User Comments:
muellermi: browsing project location for new javafx project. Maybe a problem with non 7-bit ascii chars?




Stacktrace: 
java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /home/mmueller/Documents/Ver??ffentlichungen
   at sun.nio.fs.UnixPath.encode(UnixPath.java:145)
   at sun.nio.fs.UnixPath.<init>(UnixPath.java:69)
   at sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:280)
   at java.nio.file.Paths.get(Paths.java:84)
   at sun.awt.shell.ShellFolder.getShellFolder(ShellFolder.java:247)
   at javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:524)
Comment 1 muellermi 2017-03-17 22:03:58 UTC
Created attachment 163878 [details]
stacktrace
Comment 2 muellermi 2017-03-17 22:06:40 UTC
Created attachment 163879 [details]
stacktrace

again failed whils recognizing a sub folder with non ascii characters. The world knows about more chars than the US uses ;-)
Since Java deals with Unicode, that shall be no problem!
Comment 3 muellermi 2017-03-20 22:22:06 UTC
Created attachment 163900 [details]
stacktrace

NetBeans running on Java 9 crashes on non ASCII characters (here: German Umlaut) 
NetBeans running on Java 8 will perform well at this place.
NB issue? Or Java 9 issue?
Comment 4 muellermi 2017-03-20 22:27:25 UTC
I encountered this problem using Java 9. Switching back to Java 8, everything worked as expected. Please check, whether this is a NB or Java problem. If it is a Java problem, please file a Java issue at jdk9.java.net. Thanks!
I have to close the browse window and can't proceed.