Crash on mohist server
NGYF opened this issue ยท 3 comments
Hi.
The mod works well on client but crashed when the server start.
I only add this mod, version is 3.0.13-hotfix, and the server is mohist-1.16.5-565-server. It also crashed when I used mohist-1.16.5-550-server.
The server didn't generate any crash report but a log.
latest.log
Below is the error information picked from the log:
[21:24:50] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
[21:24:50] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:39)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at cpw.mods.modlauncher.Launcher.run(Launcher.java:82)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:98)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:95)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraftforge.server.ServerMain.main(ServerMain.java:92)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: Caused by: java.lang.reflect.InvocationTargetException
[21:24:50] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at java.base/java.lang.reflect.Method.invoke(Unknown Source)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraftforge.fml.loading.FMLServerLaunchProvider.lambda$launchService$0(FMLServerLaunchProvider.java:51)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: ... 7 more
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:223)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at org.spongepowered.asm.mixin.transformer.MixinTransformationHandler.processClass(MixinTransformationHandler.java:121)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at org.spongepowered.asm.launch.MixinLaunchPlugin.processClass(MixinLaunchPlugin.java:131)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:154)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:85)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:265)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:136)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at net.minecraft.entity.EntityType.(EntityType.java:150)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at net.minecraft.world.gen.feature.DungeonsFeature.(DungeonsFeature.java:24)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at net.minecraft.world.gen.feature.Feature.(Feature.java:37)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at net.minecraft.world.gen.feature.Features.(SourceFile:92)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at net.minecraft.util.registry.WorldGenRegistries.func_243672_e(WorldGenRegistries.java:39)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at net.minecraft.util.registry.WorldGenRegistries.lambda$static$8(WorldGenRegistries.java:89)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at java.base/java.util.LinkedHashMap.forEach(Unknown Source)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at net.minecraft.util.registry.WorldGenRegistries.(WorldGenRegistries.java:88)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at net.minecraft.util.registry.Registry.(Registry.java:464)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at net.minecraft.util.registry.Bootstrap.func_151354_b(Bootstrap.java:41)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at net.minecraft.server.Main.main(Main.java:118)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: ... 13 more
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: Caused by: org.spongepowered.asm.mixin.injection.throwables.InjectionError: Critical injection failure: Redirector extendedHack(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/potion/EffectInstance;)Z in dungeons_gear.mixins.json:AreaEffectCloudEntityMixin failed injection check, (0/1) succeeded. Scanned 1 target(s). Using refmap dungeons_gear.refmap.json
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.postInject(InjectionInfo.java:408)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at org.spongepowered.asm.mixin.transformer.MixinTargetContext.applyInjections(MixinTargetContext.java:1291)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyInjections(MixinApplicatorStandard.java:1042)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:395)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:320)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:345)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:569)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:351)
[21:24:50] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: ... 34 more
Thanks. The mod is awesome, but it is a pity that I can't play it with my friends on my server. Looking forward to the fix.
@Jackiecrazy looks like your AOECloud mixin has something wrong with it
It works in literally every other instance. My guess is that someone else also redirected the function. I will make the mixin fail-soft instead.