Bountiful (Fabric)

Bountiful (Fabric)

7M Downloads

[Bug]: Crash on Startup for Fabric 1.20.4

BioMasterZap opened this issue ยท 1 comments

commented

What happened?

I know it just released for 1.20.4, but it seems the Fabric version is not launching. I first experienced the crash while testing the mod in a mod pack, but I was able to repeat it in a separate test profile with only Bountiful 7.0.0, Kambrick 7.0.0, Fabric Language Kotlin 1.10.18, and Fabric API 0.96.3. With those mods, the game will crash on startup before it launches. If I remove Bountiful, the game will launch normally. Based on the logs, it looks to be something with "bountiful.mixins.json:BountifulAnvilSHMixin".

Crash Log:
https://gist.github.com/BioMasterZap/38da55f73146f1780b5c0efc31c9e3b9

Log:
https://gist.github.com/BioMasterZap/38da55f73146f1780b5c0efc31c9e3b9

How can we reproduce it?

Launch the game with Bountiful 7.0.0, Kambrick 7.0.0, Fabric Language Kotlin 1.10.18, and Fabric API 0.96.3.

Mod Version

7.0.0

Mod Loader

Fabric

Mod Loader Version

Fabric Loader 0.15.7 and Fabric API 0.96.3

Relevant log output

[00:32:54] [main/INFO]: Loading Minecraft 1.20.4 with Fabric Loader 0.15.7
[00:32:54] [main/INFO]: Loading 69 mods:
- bountiful 7.0.0
- fabric-api 0.96.3+1.20.4
|-- fabric-api-base 0.4.36+78d798af4f
|-- fabric-api-lookup-api-v1 1.6.49+82b1bb3e4f
|-- fabric-biome-api-v1 13.0.16+78d798af4f
|-- fabric-block-api-v1 1.0.16+3e2216cb4f
|-- fabric-block-view-api-v2 1.0.4+78d798af4f
|-- fabric-blockrenderlayer-v1 1.1.46+78d798af4f
|-- fabric-client-tags-api-v1 1.1.7+78d798af4f
|-- fabric-command-api-v1 1.2.41+f71b366f4f
|-- fabric-command-api-v2 2.2.20+78d798af4f
|-- fabric-commands-v0 0.2.58+df3654b34f
|-- fabric-containers-v0 0.1.86+df3654b34f
|-- fabric-content-registries-v0 5.0.13+78d798af4f
|-- fabric-convention-tags-v1 1.5.10+78d798af4f
|-- fabric-crash-report-info-v1 0.2.23+78d798af4f
|-- fabric-data-attachment-api-v1 1.1.2+b90db5744f
|-- fabric-data-generation-api-v1 13.2.2+5c0133444f
|-- fabric-dimensions-v1 2.1.61+78d798af4f
|-- fabric-entity-events-v1 1.6.0+44c0f8c64f
|-- fabric-events-interaction-v0 0.7.1+389931eb4f
|-- fabric-events-lifecycle-v0 0.2.74+df3654b34f
|-- fabric-game-rule-api-v1 1.0.46+78d798af4f
|-- fabric-item-api-v1 2.2.0+d6f2b0844f
|-- fabric-item-group-api-v1 4.0.24+f9b333cc4f
|-- fabric-key-binding-api-v1 1.0.41+78d798af4f
|-- fabric-keybindings-v0 0.2.39+df3654b34f
|-- fabric-lifecycle-events-v1 2.3.0+a67ffb5d4f
|-- fabric-loot-api-v2 2.1.7+78d798af4f
|-- fabric-message-api-v1 6.0.5+78d798af4f
|-- fabric-mining-level-api-v1 2.1.63+78d798af4f
|-- fabric-model-loading-api-v1 1.0.8+78d798af4f
|-- fabric-models-v0 0.4.7+9386d8a74f
|-- fabric-networking-api-v1 3.1.7+2e5ac5484f
|-- fabric-object-builder-api-v1 13.0.12+080016e44f
|-- fabric-particles-v1 1.1.7+78d798af4f
|-- fabric-recipe-api-v1 2.0.20+78d798af4f
|-- fabric-registry-sync-v0 4.0.18+78d798af4f
|-- fabric-renderer-api-v1 3.2.4+78d798af4f
|-- fabric-renderer-indigo 1.5.4+78d798af4f
|-- fabric-renderer-registries-v1 3.2.53+df3654b34f
|-- fabric-rendering-data-attachment-v1 0.3.42+73761d2e4f
|-- fabric-rendering-fluids-v1 3.1.1+e761c6694f
|-- fabric-rendering-v0 1.1.56+df3654b34f
|-- fabric-rendering-v1 3.2.0+6fd945a04f
|-- fabric-resource-conditions-api-v1 2.3.14+78d798af4f
|-- fabric-resource-loader-v0 0.11.18+b66dcf784f
|-- fabric-screen-api-v1 2.0.17+78d798af4f
|-- fabric-screen-handler-api-v1 1.3.55+78d798af4f
|-- fabric-sound-api-v1 1.0.17+78d798af4f
|-- fabric-transfer-api-v1 4.0.11+e84342304f
-- fabric-transitive-access-wideners-v1 5.0.14+78d798af4f
- fabric-language-kotlin 1.10.18+kotlin.1.9.22
|-- org_jetbrains_kotlin_kotlin-reflect 1.9.22
|-- org_jetbrains_kotlin_kotlin-stdlib 1.9.22
|-- org_jetbrains_kotlin_kotlin-stdlib-jdk7 1.9.22
|-- org_jetbrains_kotlin_kotlin-stdlib-jdk8 1.9.22
|-- org_jetbrains_kotlinx_atomicfu-jvm 0.23.2
|-- org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm 1.8.0
|-- org_jetbrains_kotlinx_kotlinx-coroutines-jdk8 1.8.0
|-- org_jetbrains_kotlinx_kotlinx-datetime-jvm 0.5.0
|-- org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm 1.6.2
|-- org_jetbrains_kotlinx_kotlinx-serialization-core-jvm 1.6.2
-- org_jetbrains_kotlinx_kotlinx-serialization-json-jvm 1.6.2
- fabricloader 0.15.7
-- mixinextras 0.3.5
- java 17
- kambrik 7.0.0
- minecraft 1.20.4
[00:32:54] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/C:/Users/Bio/AppData/Roaming/.minecraft/libraries/net/fabricmc/sponge-mixin/0.12.5+mixin.0.8.5/sponge-mixin-0.12.5+mixin.0.8.5.jar Service=Knot/Fabric Env=CLIENT
[00:32:55] [main/INFO]: Compatibility level set to JAVA_17
[00:32:56] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.3.5).
[00:32:57] [main/WARN]: Invalid registry value type detected for PerfOS counters. Should be REG_DWORD. Ignoring: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfOS\Performance\Disable Performance Counters.
[00:32:59] [main/ERROR]: Mixin apply for mod bountiful failed bountiful.mixins.json:BountifulAnvilSHMixin from mod bountiful -> net.minecraft.class_1706: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Critical injection failure: @Inject annotation on bo_makeCustomAnvilOutput could not find any targets matching 'updateResult()V' in net.minecraft.class_1706. No refMap loaded. [PREINJECT Applicator Phase -> bountiful.mixins.json:BountifulAnvilSHMixin from mod bountiful -> Prepare Injections -> -> handler$zza000$bountiful$bo_makeCustomAnvilOutput(Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Parse]
org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Critical injection failure: @Inject annotation on bo_makeCustomAnvilOutput could not find any targets matching 'updateResult()V' in net.minecraft.class_1706. No refMap loaded. [PREINJECT Applicator Phase -> bountiful.mixins.json:BountifulAnvilSHMixin from mod bountiful -> Prepare Injections -> -> handler$zza000$bountiful$bo_makeCustomAnvilOutput(Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Parse]
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.validateTargets(InjectionInfo.java:656) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.findTargets(InjectionInfo.java:587) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.readAnnotation(InjectionInfo.java:330) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.(InjectionInfo.java:316) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.(InjectionInfo.java:308) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.injection.struct.CallbackInjectionInfo.(CallbackInjectionInfo.java:46) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at jdk.internal.reflect.GeneratedConstructorAccessor60.newInstance(Unknown Source) ~[?:?]
at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?]
at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?]
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo$InjectorEntry.create(InjectionInfo.java:149) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.parse(InjectionInfo.java:708) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinTargetContext.prepareInjections(MixinTargetContext.java:1329) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.prepareInjections(MixinApplicatorStandard.java:1053) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:395) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:327) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:421) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:403) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:422) ~[fabric-loader-0.15.7.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323) ~[fabric-loader-0.15.7.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.15.7.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:119) ~[fabric-loader-0.15.7.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?]
at net.minecraft.class_2246.(class_2246.java:553) ~[client-intermediary.jar:?]
at net.minecraft.class_2358.method_10199(class_2358.java:336) ~[client-intermediary.jar:?]
at net.minecraft.class_2966.method_12851(class_2966.java:54) ~[client-intermediary.jar:?]
at net.minecraft.client.main.Main.main(Main.java:170) ~[fabric-loader-0.15.7-1.20.4.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[fabric-loader-0.15.7.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.15.7.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.15.7.jar:?]
[00:33:00] [main/WARN]: Failed to get system info for GL Caps
java.lang.IllegalStateException: Rendersystem called from wrong thread
at com.mojang.blaze3d.systems.RenderSystem.constructThreadException(RenderSystem.java:185) ~[client-intermediary.jar:?]
at com.mojang.blaze3d.systems.RenderSystem.assertOnRenderThread(RenderSystem.java:174) ~[client-intermediary.jar:?]
at com.mojang.blaze3d.systems.RenderSystem.getCapsString(RenderSystem.java:874) ~[client-intermediary.jar:?]
at net.minecraft.class_6396.method_37123(class_6396.java:66) ~[client-intermediary.jar:?]
at net.minecraft.class_310.method_37274(class_310.java:2609) ~[client-intermediary.jar:?]
at net.minecraft.class_310.method_22681(class_310.java:2580) ~[client-intermediary.jar:?]
at net.minecraft.client.main.Main.main(Main.java:178) ~[fabric-loader-0.15.7-1.20.4.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[fabric-loader-0.15.7.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.15.7.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.15.7.jar:?]

commented

Ahhh, I forgot to fix the refmap. I knew this would happen - for some reason, I need to manually fix refmaps in Fabric when releasing using ArchLoom, and when I pulled in the German translations I forgot to manually fix the refmap again.

I've fixed this and released it on Modrinth: https://modrinth.com/mod/bountiful/version/7.0.1+1.20.4