Forge Server Crashing, Spongemixin problem

Hello,

I got an issue running my forge server, problem is I litterally tried with ANY single mod i had and no one is able to work with the server, I verified every versions of every mods, verified if i mistaken a forge mod with a fabric mod, tested one by one to see if the problem is the mod but there’s no way to make my forge server start except with no mods on.

Here are the logs:

C:\Users\Mickael\Desktop\Bureau\Serveurs minecraft\Server>REM Forge requires a configured set of both JVM and program arguments.

C:\Users\Mickael\Desktop\Bureau\Serveurs minecraft\Server>REM Add custom JVM arguments to the user_jvm_args.txt

C:\Users\Mickael\Desktop\Bureau\Serveurs minecraft\Server>REM Add custom program arguments {such as nogui} to this file in the next line before the or

C:\Users\Mickael\Desktop\Bureau\Serveurs minecraft\Server>REM pass them to this script directly

C:\Users\Mickael\Desktop\Bureau\Serveurs minecraft\Server>java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.18.2-40.2.1/win_args.txt
2023-03-02 18:12:12,095 main WARN Advanced terminal features are not available in this environment
[18:12:12] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [–launchTarget, forgeserver, --fml.forgeVersion, 40.2.1, --fml.mcVersion, 1.18.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220404.173914]
[18:12:12] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 9.1.3+9.1.3+main.9b69c82a starting: java version 19.0.2 by Oracle Corporation
[18:12:12] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/Mickael/Desktop/Bureau/Serveurs%20minecraft/Server/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2314!/ Service=ModLauncher Env=SERVER
[18:12:12] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\Mickael\Desktop\Bureau\Serveurs minecraft\Server\libraries\net\minecraftforge\fmlcore\1.18.2-40.2.1\fmlcore-1.18.2-40.2.1.jar is missing mods.toml file
[18:12:12] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\Mickael\Desktop\Bureau\Serveurs minecraft\Server\libraries\net\minecraftforge\javafmllanguage\1.18.2-40.2.1\javafmllanguage-1.18.2-40.2.1.jar is missing mods.toml file
[18:12:12] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\Mickael\Desktop\Bureau\Serveurs minecraft\Server\libraries\net\minecraftforge\lowcodelanguage\1.18.2-40.2.1\lowcodelanguage-1.18.2-40.2.1.jar is missing mods.toml file
[18:12:12] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file C:\Users\Mickael\Desktop\Bureau\Serveurs minecraft\Server\libraries\net\minecraftforge\mclanguage\1.18.2-40.2.1\mclanguage-1.18.2-40.2.1.jar is missing mods.toml file
[18:12:12] [main/INFO] [ne.mi.fm.lo.mo.JarInJarDependencyLocator/]: No dependencies to load found. Skipping!
[18:12:13] [main/INFO] [mixin/]: Compatibility level set to JAVA_17
[18:12:13] [main/INFO] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Launching target ‘forgeserver’ with arguments []
[18:12:13] [main/WARN] [mixin/]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63)
[18:12:13] [main/WARN] [mixin/]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 63)
[18:12:14] [main/WARN] [mixin/]: Error loading class: java/lang/Record (java.lang.IllegalArgumentException: Unsupported class file major version 63)
[18:12:14] [main/WARN] [mixin/]: Error loading class: java/lang/Record (java.lang.IllegalArgumentException: Unsupported class file major version 63)
[18:12:14] [main/WARN] [mixin/]: Error loading class: java/lang/Record (java.lang.IllegalArgumentException: Unsupported class file major version 63)
[18:12:14] [main/WARN] [mixin/]: Error loading class: java/lang/Record (java.lang.IllegalArgumentException: Unsupported class file major version 63)
[18:12:14] [main/WARN] [mixin/]: Error loading class: java/util/ArrayList (java.lang.IllegalArgumentException: Unsupported class file major version 63)
Exception in thread “main” java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:39)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:106)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.targets.CommonServerLaunchHandler.lambda$launchService$0(CommonServerLaunchHandler.java:32)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
… 7 more
Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:392)
at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:250)
at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.processClass(MixinTransformationHandler.java:131)
at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.launch.MixinLaunchPluginLegacy.processClass(MixinLaunchPluginLegacy.java:131)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:156)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50)
at [email protected]/cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:110)
at [email protected]/cpw.mods.cl.ModuleClassLoader.lambda$findClass$16(ModuleClassLoader.java:216)
at [email protected]/cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:226)
at [email protected]/cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:216)
at [email protected]/cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:132)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at TRANSFORMER/[email protected]/net.minecraft.world.level.levelgen.VerticalAnchor$Absolute.(VerticalAnchor.java:59)
at TRANSFORMER/[email protected]/net.minecraft.world.level.levelgen.VerticalAnchor.(VerticalAnchor.java:11)
at TRANSFORMER/[email protected]/net.minecraft.world.level.levelgen.heightproviders.HeightProvider.(HeightProvider.java:12)
at TRANSFORMER/[email protected]/net.minecraft.world.level.levelgen.carver.CarverConfiguration.m_190634_(CarverConfiguration.java:13)
at MC-BOOTSTRAP/[email protected]/com.mojang.serialization.codecs.RecordCodecBuilder.mapCodec(RecordCodecBuilder.java:76)
at TRANSFORMER/[email protected]/net.minecraft.world.level.levelgen.carver.CarverConfiguration.(CarverConfiguration.java:12)
at TRANSFORMER/[email protected]/net.minecraft.world.level.levelgen.carver.WorldCarver.(WorldCarver.java:30)
at TRANSFORMER/[email protected]/net.minecraft.data.worldgen.Carvers.(Carvers.java:19)
at TRANSFORMER/[email protected]/net.minecraft.data.BuiltinRegistries.m_206400_(BuiltinRegistries.java:45)
at TRANSFORMER/[email protected]/net.minecraft.data.BuiltinRegistries.m_206392_(BuiltinRegistries.java:101)
at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:729)
at TRANSFORMER/[email protected]/net.minecraft.data.BuiltinRegistries.(BuiltinRegistries.java:100)
at TRANSFORMER/[email protected]/net.minecraft.core.Registry.(Registry.java:633)
at TRANSFORMER/[email protected]/net.minecraft.server.Bootstrap.m_135870_(Bootstrap.java:44)
at TRANSFORMER/[email protected]/net.minecraft.server.Main.main(Main.java:109)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
… 10 more
Caused by: org.spongepowered.asm.mixin.throwables.ClassMetadataNotFoundException: java.util.ArrayList
at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.transformMethod(MixinPreProcessorStandard.java:754)
at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.transform(MixinPreProcessorStandard.java:739)
at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.attach(MixinPreProcessorStandard.java:310)
at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.createContextFor(MixinPreProcessorStandard.java:280)
at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinInfo.createContextFor(MixinInfo.java:1288)
at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:292)
at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:383)
at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:365)
at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363)
… 39 more

C:\Users\Mickael\Desktop\Bureau\Serveurs minecraft\Server>pause

I dont know how to fix this, JDK development kit is updated, I tried to delete the server and to make a new one, same error.

Hey, you have a Mixin issue.

It is not Sponge related so we cannot help you. A mod is just using something called Mixins which while is made by Sponge, it is up to the mod to support it and use it correctly.

Sadly your log does not state what mod is causing the mixin error so it becomes very hard to work out exactly what mod is causing the issue.

I do have a program that will help you track down the mod causing it, the mod is called Mixin detector that will show you all the mods that have mixins. it will be one of those mods.

Hey, thanks for answering,

The problem is its affecting 17 mods on 70 and part of these 17 mods are core or API mods wich means i have to remove way more than 17 mods… Even Terrablender for B’o’P is having trouble without any other mixin mods, where can i get help for Mixin? This thing just makes it impossible to run a modded server. All I can do is play with a few light mods or spend another 2hrs on youtube to get interesting mods and checking if they works with mixin…

So the issue is that when a mod uses mixins, it is responsible for how it uses it so I cannot point you to a support site for mixins (except if you were to develop using mixins … Which doesnt help you)

Normally its just a single mod that got something wrong and the user reporting the issue says they have tried many fixes (when i reality they have only tried 1-2). You sound like you have actually tried a few mod removals.

This makes it sound like one of the none mixin mods (or a mod with old mixins) is the actual problem and prevents the loading of mixins. This would explain why there is no .json file reported in your log.

To help search for the mod. You could do a binary search. Aka half your mods, if it works you know the issue mod is in the other half. If it doesnt work for the same reason you know your issue mod is in that half. Repeat until you find the mod.

I know its a pain, but thats part of the modding world. Incompatibilities with other mods

1 Like

I’ve already done that, even started server with ONE mod by one, every API’s i have wont work with mixin, even without any mods with them, i think i’ll just forgive about modding my own server & just go for a ready modpack… I remember modding at 1.12.2 I made a server with 90+ mods without any problems but now I dont know why its just impossible

What do you mean by apis? Unless your a developer you shouldnt be touching them

By APIs I mean those core/libs mods making other mods work correctely, Library ferret, Terrablender, CofH Core, Geckolib, Puzzles lib, Simple Core Lib, Cloth Config etc…

Ah fair.

Sadly i cannot help you futher as I know nothing about 1.18 mods nor is it spongeForge related