tokechu Posted April 19, 2021 Share Posted April 19, 2021 (edited) I was trying to install Forge server 1.16.5. After installation from Forge installer I ran Forge jar file to create needed folders, files etc. However, in the console I got the following output: Exception in thread "main" [19:54:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: java.lang.NullPointerException: Cannot invoke "java.nio.file.Path.getFileSystem()" because "path" is null [19:54:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: at java.base/java.nio.file.Files.provider(Files.java:105) [19:54:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: at java.base/java.nio.file.Files.isDirectory(Files.java:2308) [19:54:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: at net.minecraftforge.fml.loading.FileUtils.getOrCreateDirectory(FileUtils.java:37) [19:54:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: at net.minecraftforge.fml.loading.FMLPaths.loadAbsolutePaths(FMLPaths.java:76) [19:54:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: at net.minecraftforge.fml.loading.FMLPaths.setup(FMLPaths.java:66) [19:54:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: at net.minecraftforge.fml.loading.FMLServiceProvider.initialize(FMLServiceProvider.java:79) [19:54:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: at cpw.mods.modlauncher.TransformationServiceDecorator.onInitialize(TransformationServiceDecorator.java:68) [19:54:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: at cpw.mods.modlauncher.TransformationServicesHandler.lambda$initialiseTransformationServices$7(TransformationServicesHandler.java:107) [19:54:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: at java.base/java.util.HashMap$Values.forEach(HashMap.java:1067) [19:54:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: at cpw.mods.modlauncher.TransformationServicesHandler.initialiseTransformationServices(TransformationServicesHandler.java:107) [19:54:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:59) [19:54:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: at cpw.mods.modlauncher.Launcher.run(Launcher.java:76) [19:54:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [19:54:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63) [19:54:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60) [19:54:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: at net.minecraftforge.server.ServerMain.main(ServerMain.java:57) I have created a bat file to run it: @echo off c: "Program Files\Java\jdk-15.0.2\bin\java.exe" -Xms1024M -Xmx6192M -XX:+UseG1GC -jar "E:\Games\Minecraft Servers\1.16.5+mods\forgeserver.jar" pause Edited April 19, 2021 by tokechu Grammar Quote Link to comment Share on other sites More sharing options...
tokechu Posted April 20, 2021 Author Share Posted April 20, 2021 Here is debug.log: [19Apr2021 20:46:59.810] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.1.0, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge] [19Apr2021 20:46:59.816] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 16 by Oracle Corporation [19Apr2021 20:46:59.832] [main/DEBUG] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Found launch services [minecraft,testharness,fmlclient,fmlserver] Quote Link to comment Share on other sites More sharing options...
tokechu Posted April 20, 2021 Author Share Posted April 20, 2021 That is all that was inside the file Quote Link to comment Share on other sites More sharing options...
tokechu Posted April 20, 2021 Author Share Posted April 20, 2021 Yeah, it worked Quote Link to comment Share on other sites More sharing options...
Palomar Posted September 30 Share Posted September 30 This might be a long shot , but do you remember how you fixed that? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.