Jump to content

Recommended Posts

Posted (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 by tokechu
Grammar
Posted

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]

 

  • 3 years later...

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.