java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /home/pi/myFolder/löwen

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

The path should start without the leading "/".

,
Expert tip

The path should start without the leading "/".

Solutions on the web

via Stack Overflow by Arturas M
, 1 year ago
Malformed input or input contains unmappable characters: /home/pi/myFolder/löwen
via GitHub by giray
, 2 years ago
Malformed input or input contains unmappable characters: /data/TEST/ab??defg??i????????????????.txt
via Google Groups by Unknown author, 10 months ago
Malformed input or input contains unmappable characters: /var/lib/420933a4-3c13-ef13-742e-aaf1e94619cd#1478049856/[datastore1_(2)]_????????????1_????????????1.vmdk
via GitHub by camory
, 2 months ago
Malformed input or input contains unmappable characters: javaslang/?.class
via GitHub by koooge
, 6 months ago
Malformed input or input contains unmappable characters: ??????
via GitHub by giray
, 2 years ago
Malformed input or input contains unmappable characters: /home/giray/Documents/Docs/XX/Yyyyy/Abn Abedeo??lu_files
java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /home/pi/myFolder/löwen
at sun.nio.fs.UnixPath.encode(UnixPath.java:147)
at sun.nio.fs.UnixPath.(UnixPath.java:71)
at sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:281)
at java.nio.file.Paths.get(Paths.java:84)
at org.someone.something.file.PathManager.createPathIfNecessary(PathManager.java:161)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 times, 4 weeks ago
Once, 6 months ago
Once, 7 months ago
8 times, 7 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.