Skip to content

java.nio.file.InvalidPathException when special chars in path/filename #7

Description

@wilczeqqqq

Log:

[ERROR] Exception occurred while installing modpack!
java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: licenses/Permissions/SuperMartijn642?s Config Lib - Modpack Permission.png
at java.base/sun.nio.fs.UnixPath.encode(UnixPath.java:129)
at java.base/sun.nio.fs.UnixPath.(UnixPath.java:76)
at java.base/sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:312)
at java.base/java.nio.file.Path.resolve(Path.java:516)
at eu.pb4.mrpackserver.installer.MrPackInstaller$1.visitFile(MrPackInstaller.java:75)
at eu.pb4.mrpackserver.installer.MrPackInstaller$1.visitFile(MrPackInstaller.java:54)
at java.base/java.nio.file.Files.walkFileTree(Files.java:2799)
at java.base/java.nio.file.Files.walkFileTree(Files.java:2870)
at eu.pb4.mrpackserver.installer.MrPackInstaller.extractIncluded(MrPackInstaller.java:54)
at eu.pb4.mrpackserver.util.Utils.checkAndSetupModpack(Utils.java:191)
at eu.pb4.mrpackserver.Main.main(Main.java:87

Problematic filename: SuperMartijn642’s Config Lib - Modpack Permission.png

Can't proceed even if I upload this file manually to the server files.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions