Minecraft Transit Railway (Automated trains, planes, and more!)

Minecraft Transit Railway (Automated trains, planes, and more!)

1M Downloads

GUIGraphics?

Engry1960 opened this issue ยท 2 comments

commented

Expected Behaviour
Server to run.

Actual Behaviour
Crashing due to /GUIGraphics for invalid DIST.

Reproduction Steps
Steps to reproduce the behaviour:

  1. Upload mod to server hosting platform(APEX HOSTING MC)

Crash Report
10.10 04:57:22 [Server] INFO -- Head --
10.10 04:57:22 [Server] INFO Thread: main
10.10 04:57:22 [Server] INFO Stacktrace:
10.10 04:57:22 [Server] INFO at net.minecraftforge.fml.loading.RuntimeDistCleaner.processClassWithFlags(RuntimeDistCleaner.java:57) ~[fmlloader-1.20.1-47.2.1.jar%2369!/:1.0] {}
10.10 04:57:22 [Server] INFO -- MOD mtr --
10.10 04:57:22 [Server] INFO Details:
10.10 04:57:22 [Server] INFO Caused by 0: java.lang.BootstrapMethodError: java.lang.RuntimeException: Attempted to load class net/minecraft/client/gui/GuiGraphics for invalid dist DEDICATED_SERVER
10.10 04:57:22 [Server] INFO at mtr.mappings.ForgeUtilities.(ForgeUtilities.java:40) ~[MTR-forge-1.20-3.2.2-hotfix-1.jar%23306!/:?] {re:classloading}
10.10 04:57:22 [Server] INFO at mtr.MTRForge.(MTRForge.java:34) ~[MTR-forge-1.20-3.2.2-hotfix-1.jar%23306!/:?] {re:classloading}
10.10 04:57:22 [Server] INFO at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] {}
10.10 04:57:22 [Server] INFO at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?] {}
10.10 04:57:22 [Server] INFO at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] {}
10.10 04:57:22 [Server] INFO at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?] {}
10.10 04:57:22 [Server] INFO at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?] {}
10.10 04:57:22 [Server] INFO at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:70) ~[javafmllanguage-1.20.1-47.2.1.jar%23355!/:?] {}
10.10 04:57:22 [Server] INFO at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$10(ModContainer.java:123) ~[fmlcore-1.20.1-47.2.1.jar%23354!/:?] {}
10.10 04:57:22 [Server] INFO at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?] {}
10.10 04:57:22 [Server] INFO at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[?:?] {}
10.10 04:57:22 [Server] INFO at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?] {}
10.10 04:57:22 [Server] INFO at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?] {}
10.10 04:57:22 [Server] INFO at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?] {re:mixin,re:computing_frames}
10.10 04:57:22 [Server] INFO at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?] {re:mixin,re:computing_frames}
10.10 04:57:22 [Server] INFO at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?] {re:mixin}
10.10 04:57:22 [Server] INFO Mod File: /mods/MTR-forge-1.20-3.2.2-hotfix-1.jar
10.10 04:57:22 [Server] INFO Failure message: Minecraft Transit Railway (mtr) has failed to load correctly
10.10 04:57:22 [Server] INFO java.lang.BootstrapMethodError: java.lang.RuntimeException: Attempted to load class net/minecraft/client/gui/GuiGraphics for invalid dist DEDICATED_SERVER
10.10 04:57:22 [Server] INFO Mod Version: 1.20-3.2.2-hotfix-1
10.10 04:57:22 [Server] INFO Mod Issue URL: NOT PROVIDED
10.10 04:57:22 [Server] INFO Exception message: java.lang.RuntimeException: Attempted to load class net/minecraft/client/gui/GuiGraphics for invalid dist DEDICATED_SERVER
10.10 04:57:22 [Server] INFO Stacktrace:
10.10 04:57:22 [Server] INFO at net.minecraftforge.fml.loading.RuntimeDistCleaner.processClassWithFlags(RuntimeDistCleaner.java:57) ~[fmlloader-1.20.1-47.2.1.jar%2369!/:1.0] {}
10.10 04:57:22 [Server] INFO at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88) ~[modlauncher-10.0.9.jar%2355!/:?] {}
10.10 04:57:22 [Server] INFO at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-10.0.9.jar%2355!/:?] {}
10.10 04:57:22 [Server] INFO at cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50) ~[modlauncher-10.0.9.jar%2355!/:?] {}
10.10 04:57:22 [Server] INFO at cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:113) ~[securejarhandler-2.1.10.jar:?] {}
10.10 04:57:22 [Server] INFO at cpw.mods.cl.ModuleClassLoader.lambda$findClass$15(ModuleClassLoader.java:219) ~[securejarhandler-2.1.10.jar:?] {}
10.10 04:57:22 [Server] INFO at cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:229) ~[securejarhandler-2.1.10.jar:?] {}
10.10 04:57:22 [Server] INFO at cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:219) ~[securejarhandler-2.1.10.jar:?] {}
10.10 04:57:22 [Server] INFO at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:135) ~[securejarhandler-2.1.10.jar:?] {}
10.10 04:57:22 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?] {}
10.10 04:57:22 [Server] INFO at mtr.mappings.ForgeUtilities.(ForgeUtilities.java:40) ~[MTR-forge-1.20-3.2.2-hotfix-1.jar%23306!/:?] {re:classloading}
10.10 04:57:22 [Server] INFO at mtr.MTRForge.(MTRForge.java:34) ~[MTR-forge-1.20-3.2.2-hotfix-1.jar%23306!/:?] {re:classloading}
10.10 04:57:22 [Server] INFO at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] {}
10.10 04:57:22 [Server] INFO at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?] {}
10.10 04:57:22 [Server] INFO at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] {}
10.10 04:57:22 [Server] INFO at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?] {}
10.10 04:57:22 [Server] INFO at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?] {}
10.10 04:57:22 [Server] INFO at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:70) ~[javafmllanguage-1.20.1-47.2.1.jar%23355!/:?] {}
10.10 04:57:22 [Server] INFO at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$10(ModContainer.java:123) ~[fmlcore-1.20.1-47.2.1.jar%23354!/:?] {}
10.10 04:57:22 [Server] INFO at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?] {}
10.10 04:57:22 [Server] INFO at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[?:?] {}
10.10 04:57:22 [Server] INFO at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?] {}
10.10 04:57:22 [Server] INFO at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?] {}
10.10 04:57:22 [Server] INFO at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?] {re:mixin,re:computing_frames}
10.10 04:57:22 [Server] INFO at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?] {re:mixin,re:computing_frames}
10.10 04:57:22 [Server] INFO at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?] {re:mixin}

Environment

Additional Information
Attempting a World SMP server for my students in my class. There are upwards of 50 students playing at a time.

commented
commented

Duplicate of #701