Jump to content

invalid java runtime configuration


Cersan

Recommended Posts

Im playing minecraft with mods(i made my own modpack) and it keeps crashing. I was able to copy paste the error logs but i cant understand them. Can someone help me fix it?.

14:28:00.081

Mixin apply for mod taxfreelevels failed taxfreelevels.mixins.json:FlattenAnvilCostMixin -> net.minecraft.class_1706: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Specified index 0 for @ModifyArg is invalid for args (Lnet/minecraft/class_1657;I), expected I on net/minecraft/class_1706::taxfreelevels$flattenAnvilCost [INJECT Applicator Phase -> taxfreelevels.mixins.json:FlattenAnvilCostMixin -> Apply Injections -> -> Inject -> taxfreelevels.mixins.json:FlattenAnvilCostMixin->@ModifyArg::taxfreelevels$flattenAnvilCost(I)I from mod taxfreelevels] org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Specified index 0 for @ModifyArg is invalid for args (Lnet/minecraft/class_1657;I), expected I on net/minecraft/class_1706::taxfreelevels$flattenAnvilCost [INJECT Applicator Phase -> taxfreelevels.mixins.json:FlattenAnvilCostMixin -> Apply Injections -> -> Inject -> taxfreelevels.mixins.json:FlattenAnvilCostMixin->@ModifyArg::taxfreelevels$flattenAnvilCost(I)I from mod taxfreelevels] at Not Enough Crashes deobfuscated stack trace.(1.18.1+build.22) at org.spongepowered.asm.mixin.injection.invoke.ModifyArgInjector.findArgIndex(ModifyArgInjector.java:158) at org.spongepowered.asm.mixin.injection.invoke.ModifyArgInjector.injectAtInvoke(ModifyArgInjector.java:113) at org.spongepowered.asm.mixin.injection.invoke.InvokeInjector.inject(InvokeInjector.java:82) at org.spongepowered.asm.mixin.injection.invoke.ModifyArgInjector.inject(ModifyArgInjector.java:103) at org.spongepowered.asm.mixin.injection.code.Injector.inject(Injector.java:276) at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.inject(InjectionInfo.java:445) at org.spongepowered.asm.mixin.transformer.MixinTargetContext.applyInjections(MixinTargetContext.java:1378) at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyInjections(MixinApplicatorStandard.java:1052) at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:400) at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:325) at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:421) at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:403) at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234) at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202) at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:247) at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:150) at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:155) at java.lang.ClassLoader.loadClass(ClassLoader.java:520) at net.minecraft.block.Blocks.<clinit>(Blocks:443) at net.minecraft.world.gen.carver.CarverDebugConfig.<clinit>(CarverDebugConfig:9) at net.minecraft.world.gen.carver.CarverConfig.method_33968(CarverConfig:16) at com.mojang.serialization.codecs.RecordCodecBuilder.mapCodec(RecordCodecBuilder.java:76) at net.minecraft.world.gen.carver.CarverConfig.<clinit>(CarverConfig:12) at net.minecraft.world.gen.carver.Carver.<clinit>(Carver:31) at net.minecraft.world.gen.carver.ConfiguredCarvers.<clinit>(ConfiguredCarvers:18) at net.minecraft.util.registry.BuiltinRegistries.method_30572(BuiltinRegistries:46) at net.minecraft.util.registry.BuiltinRegistries.method_30566(BuiltinRegistries:78) at java.util.LinkedHashMap.forEach(LinkedHashMap.java:721) at net.minecraft.util.registry.BuiltinRegistries.<clinit>(BuiltinRegistries:77) at net.minecraft.util.registry.Registry.<clinit>(Registry:269) at net.minecraft.Bootstrap.initialize(Bootstrap:49) at net.minecraft.client.main.Main.main(Main:155) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:568) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:416) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

14:28:00.089

Minecraft has crashed! net.fabricmc.loader.impl.FormattedException: java.lang.ExceptionInInitializerError at Not Enough Crashes deobfuscated stack trace.(1.18.1+build.22) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:418) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) Caused by: java.lang.ExceptionInInitializerError at net.minecraft.world.gen.carver.CarverDebugConfig.<clinit>(CarverDebugConfig:9) at net.minecraft.world.gen.carver.CarverConfig.method_33968(CarverConfig:16) at com.mojang.serialization.codecs.RecordCodecBuilder.mapCodec(RecordCodecBuilder.java:76) at net.minecraft.world.gen.carver.CarverConfig.<clinit>(CarverConfig:12) at net.minecraft.world.gen.carver.Carver.<clinit>(Carver:31) at net.minecraft.world.gen.carver.ConfiguredCarvers.<clinit>(ConfiguredCarvers:18) at net.minecraft.util.registry.BuiltinRegistries.method_30572(BuiltinRegistries:46) at net.minecraft.util.registry.BuiltinRegistries.method_30566(BuiltinRegistries:78) at java.util.LinkedHashMap.forEach(LinkedHashMap.java:721) at net.minecraft.util.registry.BuiltinRegistries.<clinit>(BuiltinRegistries:77) at net.minecraft.util.registry.Registry.<clinit>(Registry:269) at net.minecraft.Bootstrap.initialize(Bootstrap:49) at net.minecraft.client.main.Main.main(Main:155) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:568) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:416) ... 2 more Caused by: java.lang.RuntimeException: Mixin transformation of net.minecraft.class_1706 failed at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:252) at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:150) at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:155) at java.lang.ClassLoader.loadClass(ClassLoader.java:520) at net.minecraft.block.Blocks.<clinit>(Blocks:443) ... 20 more Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:392) at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234) at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202) at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:247) ... 24 more Caused by: org.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [taxfreelevels.mixins.json:FlattenAnvilCostMixin] from phase [DEFAULT] in config [taxfreelevels.mixins.json] from mod [taxfreelevels] FAILED during APPLY at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinError(MixinProcessor.java:638) at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinApplyError(MixinProcessor.java:589) at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:379) ... 27 more Caused by: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Specified index 0 for @ModifyArg is invalid for args (Lnet/minecraft/class_1657;I), expected I on net/minecraft/class_1706::taxfreelevels$flattenAnvilCost [INJECT Applicator Phase -> taxfreelevels.mixins.json:FlattenAnvilCostMixin -> Apply Injections -> -> Inject -> taxfreelevels.mixins.json:FlattenAnvilCostMixin->@ModifyArg::taxfreelevels$flattenAnvilCost(I)I from mod taxfreelevels] at Not Enough Crashes deobfuscated stack trace.(1.18.1+build.22) at org.spongepowered.asm.mixin.injection.invoke.ModifyArgInjector.findArgIndex(ModifyArgInjector.java:158) at org.spongepowered.asm.mixin.injection.invoke.ModifyArgInjector.injectAtInvoke(ModifyArgInjector.java:113) at org.spongepowered.asm.mixin.injection.invoke.InvokeInjector.inject(InvokeInjector.java:82) at org.spongepowered.asm.mixin.injection.invoke.ModifyArgInjector.inject(ModifyArgInjector.java:103) at org.spongepowered.asm.mixin.injection.code.Injector.inject(Injector.java:276) at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.inject(InjectionInfo.java:445) at org.spongepowered.asm.mixin.transformer.MixinTargetContext.applyInjections(MixinTargetContext.java:1378) at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyInjections(MixinApplicatorStandard.java:1052) at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:400) at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:325) at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:421) at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:403) at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) ... 27 more

14:28:00.274

Process crashed with exit code 1

Edited by Cersan
forgot to add some extra information
Link to comment
Share on other sites

  • Guest locked this topic
Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.