GUIGraphics?
Engry1960 opened this issue ยท 2 comments
Expected Behaviour
Server to run.
Actual Behaviour
Crashing due to /GUIGraphics for invalid DIST.
Reproduction Steps
Steps to reproduce the behaviour:
- 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
- Minecraft Version: 1.20.1
- Installed Mods:
Ash API (by Trikzon)
ModernFix (by embeddedt)
Kotlin for Forge (by thedarkcolour)
FTB Teams (Forge) (by FTB)
Multi-Piston (by Raycoms)
Balm (Forge Edition) (by BlayTheNinth)
FTB Ranks (Forge) (by FTB)
Chisels & Bits - For Forge (by AlgorithmX2)
Villager Names (by Serilum)
YUNG's Better End Island (Forge) (by YUNGNICKYOUNG)
Farming for Blockheads (by BlayTheNinth)
Small Ships [Fabric & Forge] (by talhanation)
Resourceful Config (by ThatGravyBoat)
FTB Quests (Forge) (by FTB)
Sophisticated Backpacks (by P3pp3rF1y)
Advanced Generators (by bdew)
Advancement Plaques [Forge] (by Grend_G)
Better Fusion Reactor for Mekanism PLUS (by igentuman)
Rechiseled (by SuperMartijn642)
Mekanism (by bradyaidanc)
Macaw's Furniture (by sketch_macaw)
Paintings ++ (by AbsolemJackdaw)
WTHIT Harvestability (by badasintended)
Caelus API (Forge) (by TheIllusiveC4)
Apothic Attributes (AttributesLib) (by Shadows_of_Fire)
Portable Crafting Table (by 00theblackwolf00)
Mekanism Additions (by bradyaidanc)
Scalable Cat's Force (by Kotori316)
XP From Harvest (Stoutscientist's Fork) (by Stoutscientist)
Light Overlay (Rift/Forge/Fabric) (by shedaniel)
Sit (by bl4ckscor3)
BdLib (by bdew)
Framework (by MrCrayfish)
Emojiful (by Buuz135)
Resourceful Lib (by ThatGravyBoat)
Architectury API (Fabric/Forge) (by shedaniel)
Pehkui (by Virtuoel)
Curios API (Forge) (by TheIllusiveC4)
Ars Nouveau (by baileyholl2)
FTB Essentials (Forge & Fabric) (by FTB)
Cristel Lib (by Cristelknight)
EpheroLib (by thethonk)
JourneyMap (by techbrew)
XL Packets (by tfarecnim)
SuperMartijn642's Config Lib (by SuperMartijn642)
Portable Mobs (by Dremoline)
Bountiful (Forge) (by Ejektaflex)
Chunk Animator (by Lumien231)
FTB Chunks (Forge) (by FTB)
Forgiving Void (by BlayTheNinth)
Creeper Overhaul (by joosh_7889)
Just Enough Resources (JER) (by way2muchnoise)
GeckoLib (by Gecko)
Kambrik (by Ejektaflex)
Construction Wand (by ThetaDev)
Not Enough Animations (by tr7zw)
Sophisticated Core (by P3pp3rF1y)
Mining Gadgets (by Direwolf20)
bad packets (by badasintended)
Mekanism Tools (by bradyaidanc)
Minecraft Transit Railway (Automated trains, planes, and more!) (by jonafanho)
Blood Magic (by WayofTime)
Starter Kit (by Serilum)
Pick Up Notifier [Forge & Fabric] (by Fuzs)
YUNG's API (Forge) (by YUNGNICKYOUNG)
SuperMartijn642's Core Lib (by SuperMartijn642)
OpenBlocks Elevator (by vsngarcia)
Iceberg [Forge] (by Grend_G)
Fast Leaf Decay (by olafskiii)
Torchmaster (by xalcon)
BlockUI (by Raycoms)
Towns and Towers (by Biban_Auriu)
PolyLib (by Official_CreeperHost)
Collective (by Serilum)
Just Enough Items (JEI) (by mezz)
When Dungeons Arise - Forge! (by Aureljz)
Lootr (Forge) (by Noobanidus)
WorldEdit (by sk89q)
Exline's Furniture Mod (by exlinegames)
Vending Machine (by MacTso)
Nether Portal Spread (by Serilum)
Fusion (Connected Textures) (by SuperMartijn642)
Searchables (by Jaredlll08)
Apotheosis (by Shadows_of_Fire)
Item Filters (by LatvianModder)
Patchouli (by Vazkii)
Structure Gel API (by ModdingLegacy)
Waystones (by BlayTheNinth)
Botarium (by CodexAdrian)
Iron Chests (by ProgWML6)
Placebo (by Shadows_of_Fire)
Entity Culling Fabric/Forge (by tr7zw)
FerriteCore (Forge) (by malte0811)
Mekanism Generators (by bradyaidanc)
Refined Storage (by raoulvdberge)
Lost Features (by KaboomRoads)
MrCrayfish's Furniture Mod (by MrCrayfish)
Easy Villagers (by henkelmax)
Farmer's Delight (by vectorwing)
FTB Library (Forge) (by FTB)
Dungeon Crawl (by xiroc_)
Domum Ornamentum (by OrionOnline)
Origins (Forge) (by EdwinMindcraft)
Fantasy's Furniture (by ApexMdr)
Goblin Traders (by MrCrayfish)
Mekanism-MoreSolarPanels (by Pocky)
CreativeCore (by CreativeMD)
Corpse (by henkelmax)
Origins++ (by QuantumXenon)
Yet Another World Protector (by z0rdak)
Shoppy (by thethonk)
Controlling (by Jaredlll08)
TrashSlot (by BlayTheNinth)
ItemPhysic Full (by CreativeMD)
Better Advancements (by way2muchnoise)
Puzzles Lib [Forge & Fabric] (by Fuzs)
Deeper and Darker (by KyaniteMods)
Cloth Config API (Fabric/Forge) (by shedaniel)
Iron Ender Chests (by lupiiin_)
Ender Trigon (by nonamecrackers2)
YUNG's Better Nether Fortresses (Forge) (by YUNGNICKYOUNG)
Inventory Sorter (by cpw)
Refined Storage Addons (by raoulvdberge)
WTHIT Forge Edition (by badasintended)
Ad Astra (by AlexNijjar)
Structurize (by Raycoms)
Money and Sign Shops (by caltinor)
Additional Information
Attempting a World SMP server for my students in my class. There are upwards of 50 students playing at a time.
Duplicate of #701