Server Crash
Joehoe1823 opened this issue ยท 3 comments
So i run a server on exaroton with mc version 1.20.1 and forge 47.2.0 and when the server start up and fully loaded the terrain it was fine untill when i tested the tornado using "/weather2 summon tornado_f1" the server immediately crash the server did not tell me what was the problem it just redirect me to the crash report and it show some error on loading client class on server idk why it loading client side class
i thought if all mods work on client it work same on server
here the crash log:
this is another crash log that run no other mod except weather2 mod (pastebin):
https://pastebin.com/xGHumFec
pass: XzjuzhZGnt
Can confirm this as well. I just experienced this crash as well. Below is a copy paste of my crash log that is pertinent
`Time: 2024-01-13 07:48:31
Description: Exception in server tick loop
java.lang.RuntimeException: Attempted to load class net/minecraft/client/multiplayer/ClientLevel for invalid dist DEDICATED_SERVER
at net.minecraftforge.fml.loading.RuntimeDistCleaner.processClassWithFlags(RuntimeDistCleaner.java:57) ~[fmlloader-1.20.1-47.2.0.jar%2369!/:1.0] {}
at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88) ~[modlauncher-10.0.9.jar%2355!/:?] {}
at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-10.0.9.jar%2355!/:?] {}
at cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50) ~[modlauncher-10.0.9.jar%2355!/:?] {}
at cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:113) ~[securejarhandler-2.1.10.jar:?] {}
at cpw.mods.cl.ModuleClassLoader.lambda$findClass$15(ModuleClassLoader.java:219) ~[securejarhandler-2.1.10.jar:?] {}
at cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:229) ~[securejarhandler-2.1.10.jar:?] {}
at cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:219) ~[securejarhandler-2.1.10.jar:?] {}
at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:135) ~[securejarhandler-2.1.10.jar:?] {}
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?] {}
at weather2.weathersystem.storm.StormObject.spinEntityv2(StormObject.java:2462) ~[weather2-1.20.1-2.8.1.jar%23587!/:1.20.1-2.8.1] {re:classloading,pl:runtimedistcleaner:A}
at weather2.weathersystem.storm.TornadoHelper.forceRotate(TornadoHelper.java:706) ~[weather2-1.20.1-2.8.1.jar%23587!/:1.20.1-2.8.1] {re:classloading,pl:runtimedistcleaner:A}
at weather2.weathersystem.storm.TornadoHelper.forceRotate(TornadoHelper.java:648) ~[weather2-1.20.1-2.8.1.jar%23587!/:1.20.1-2.8.1] {re:classloading,pl:runtimedistcleaner:A}
at weather2.weathersystem.storm.TornadoHelper.tick(TornadoHelper.java:227) ~[weather2-1.20.1-2.8.1.jar%23587!/:1.20.1-2.8.1] {re:classloading,pl:runtimedistcleaner:A}
at weather2.weathersystem.storm.StormObject.tick(StormObject.java:744) ~[weather2-1.20.1-2.8.1.jar%23587!/:1.20.1-2.8.1] {re:classloading,pl:runtimedistcleaner:A}
at weather2.weathersystem.WeatherManager.tick(WeatherManager.java:64) ~[weather2-1.20.1-2.8.1.jar%23587!/:1.20.1-2.8.1] {re:classloading}
at weather2.weathersystem.WeatherManagerServer.tick(WeatherManagerServer.java:59) ~[weather2-1.20.1-2.8.1.jar%23587!/:1.20.1-2.8.1] {re:classloading}
at weather2.ServerTickHandler.tickServer(ServerTickHandler.java:68) ~[weather2-1.20.1-2.8.1.jar%23587!/:1.20.1-2.8.1] {re:classloading}
at weather2.ServerTickHandler_tickServer_ServerTickEvent.invoke(.dynamic) ~[weather2-1.20.1-2.8.1.jar%23587!/:1.20.1-2.8.1] {re:classloading,pl:eventbus:B}
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.5.jar%2352!/:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.5.jar%2352!/:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.5.jar%2352!/:?] {}
at net.minecraftforge.event.ForgeEventFactory.onPreServerTick(ForgeEventFactory.java:945) ~[forge-1.20.1-47.2.0-universal.jar%23610!/:?] {re:classloading}
at net.minecraft.server.MinecraftServer.m_5705(MinecraftServer.java:812) ~[server-1.20.1-20230612.114412-srg.jar%23605!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:xaerominimap:xaero_minecraftserver,xf:fml:xaeroworldmap:xaero_wm_minecraftserver,re:classloading,pl:accesstransformer:B,xf:fml:xaerominimap:xaero_minecraftserver,xf:fml:xaeroworldmap:xaero_wm_minecraftserver,pl:mixin:APP:citadel.mixins.json:MinecraftServerMixin,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:APP:majruszlibrary-common.mixins.json:MixinMinecraftServer,pl:mixin:APP:ae2.mixins.json:spatial.MinecraftServerMixin,pl:mixin:APP:neruina-common.mixins.json:MinecraftServerMixin,pl:mixin:APP:crafttweaker.mixins.json:common.access.server.AccessMinecraftServer,pl:mixin:A}
at net.minecraft.server.MinecraftServer.m_130011(MinecraftServer.java:661) ~[server-1.20.1-20230612.114412-srg.jar%23605!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:xaerominimap:xaero_minecraftserver,xf:fml:xaeroworldmap:xaero_wm_minecraftserver,re:classloading,pl:accesstransformer:B,xf:fml:xaerominimap:xaero_minecraftserver,xf:fml:xaeroworldmap:xaero_wm_minecraftserver,pl:mixin:APP:citadel.mixins.json:MinecraftServerMixin,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:APP:majruszlibrary-common.mixins.json:MixinMinecraftServer,pl:mixin:APP:ae2.mixins.json:spatial.MinecraftServerMixin,pl:mixin:APP:neruina-common.mixins.json:MinecraftServerMixin,pl:mixin:APP:crafttweaker.mixins.json:common.access.server.AccessMinecraftServer,pl:mixin:A}
at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[server-1.20.1-20230612.114412-srg.jar%23605!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:xaerominimap:xaero_minecraftserver,xf:fml:xaeroworldmap:xaero_wm_minecraftserver,re:classloading,pl:accesstransformer:B,xf:fml:xaerominimap:xaero_minecraftserver,xf:fml:xaeroworldmap:xaero_wm_minecraftserver,pl:mixin:APP:citadel.mixins.json:MinecraftServerMixin,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:APP:majruszlibrary-common.mixins.json:MixinMinecraftServer,pl:mixin:APP:ae2.mixins.json:spatial.MinecraftServerMixin,pl:mixin:APP:neruina-common.mixins.json:MinecraftServerMixin,pl:mixin:APP:crafttweaker.mixins.json:common.access.server.AccessMinecraftServer,pl:mixin:A}
at java.lang.Thread.run(Thread.java:833) ~[?:?] {re:mixin}`
i have the same crash on my server when a tornado spawn
crash-2024-01-22_17.50.22-server.txt
Fixed with a CoroUtil 1.3.7 update Corosauce/CoroUtil@87ea9bb