Trinkets Compat Layer for Accessories

Trinkets Compat Layer for Accessories

3M Downloads

[1.20.1 - Forge] Inifinite error log (new issue as requested)

hipsterjazzbo opened this issue ยท 4 comments

commented

Minecraft: 1.20.1
Forge: 47.3.22
Accessories: 1.0.0-beta42

On Forge with Curios Compat, its logging a repeated error until my disk fills up ๐Ÿ˜‚

Sample of infinite log
[10:07:27] [Thread-21/ERROR] [ne.mi.ev.EventBus/EVENTBUS]: Exception caught during firing event: null
	Index: 1
	Listeners:
		0: NORMAL
		1: ASM: class sfiomn.legendarysurvivaloverhaul.common.integration.curios.CuriosEvents onEquipCurio(Ltop/theillusivec4/curios/api/event/CurioEquipEvent;)V
		2: ASM: class uwu.lopyluna.unify.event.UnifyEvent onEntityTick(Lnet/minecraftforge/event/entity/EntityEvent;)V
java.lang.StackOverflowError
	at java.base/java.lang.ClassLoader.defineClass1(Native Method)
	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
	at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:119)
	at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.lambda$findClass$15(ModuleClassLoader.java:219)
	at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:229)
	at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:219)
	at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:135)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.handleException(EventBus.java:329)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:320)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.cclayer.CCLayer.lambda$new$1(CCLayer.java:86)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.api.events.CanEquipCallback.lambda$static$0(CanEquipCallback.java:31)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.impl.AccessoryNestUtils.recursiveStackHandling(AccessoryNestUtils.java:50)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.api.events.CanEquipCallback.lambda$static$1(CanEquipCallback.java:27)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.api.AccessoriesAPI.canEquip(AccessoriesAPI.java:230)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.api.AccessoriesAPI.canInsertIntoSlot(AccessoriesAPI.java:219)
	at TRANSFORMER/[email protected]+1.20.1/top.theillusivec4.curios.mixin.CuriosImplMixinHooks.isStackValid(CuriosImplMixinHooks.java:277)
	at TRANSFORMER/[email protected]+1.20.1/top.theillusivec4.curios.api.CuriosApi.isStackValid(CuriosApi.java:155)
	at TRANSFORMER/[email protected]/sfiomn.legendarysurvivaloverhaul.common.integration.curios.CuriosEvents.onEquipCurio(CuriosEvents.java:21)
	at TRANSFORMER/[email protected]/sfiomn.legendarysurvivaloverhaul.common.integration.curios.__CuriosEvents_onEquipCurio_CurioEquipEvent.invoke(.dynamic)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.cclayer.CCLayer.lambda$new$1(CCLayer.java:86)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.api.events.CanEquipCallback.lambda$static$0(CanEquipCallback.java:31)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.impl.AccessoryNestUtils.recursiveStackHandling(AccessoryNestUtils.java:50)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.api.events.CanEquipCallback.lambda$static$1(CanEquipCallback.java:27)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.api.AccessoriesAPI.canEquip(AccessoriesAPI.java:230)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.api.AccessoriesAPI.canInsertIntoSlot(AccessoriesAPI.java:219)
	at TRANSFORMER/[email protected]+1.20.1/top.theillusivec4.curios.mixin.CuriosImplMixinHooks.isStackValid(CuriosImplMixinHooks.java:277)
	at TRANSFORMER/[email protected]+1.20.1/top.theillusivec4.curios.api.CuriosApi.isStackValid(CuriosApi.java:155)
	at TRANSFORMER/[email protected]/sfiomn.legendarysurvivaloverhaul.common.integration.curios.CuriosEvents.onEquipCurio(CuriosEvents.java:21)
	at TRANSFORMER/[email protected]/sfiomn.legendarysurvivaloverhaul.common.integration.curios.__CuriosEvents_onEquipCurio_CurioEquipEvent.invoke(.dynamic)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.cclayer.CCLayer.lambda$new$1(CCLayer.java:86)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.api.events.CanEquipCallback.lambda$static$0(CanEquipCallback.java:31)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.impl.AccessoryNestUtils.recursiveStackHandling(AccessoryNestUtils.java:50)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.api.events.CanEquipCallback.lambda$static$1(CanEquipCallback.java:27)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.api.AccessoriesAPI.canEquip(AccessoriesAPI.java:230)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.api.AccessoriesAPI.canInsertIntoSlot(AccessoriesAPI.java:219)
	at TRANSFORMER/[email protected]+1.20.1/top.theillusivec4.curios.mixin.CuriosImplMixinHooks.isStackValid(CuriosImplMixinHooks.java:277)
	at TRANSFORMER/[email protected]+1.20.1/top.theillusivec4.curios.api.CuriosApi.isStackValid(CuriosApi.java:155)
	at TRANSFORMER/[email protected]/sfiomn.legendarysurvivaloverhaul.common.integration.curios.CuriosEvents.onEquipCurio(CuriosEvents.java:21)
	at TRANSFORMER/[email protected]/sfiomn.legendarysurvivaloverhaul.common.integration.curios.__CuriosEvents_onEquipCurio_CurioEquipEvent.invoke(.dynamic)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.cclayer.CCLayer.lambda$new$1(CCLayer.java:86)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.api.events.CanEquipCallback.lambda$static$0(CanEquipCallback.java:31)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.impl.AccessoryNestUtils.recursiveStackHandling(AccessoryNestUtils.java:50)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.api.events.CanEquipCallback.lambda$static$1(CanEquipCallback.java:27)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.api.AccessoriesAPI.canEquip(AccessoriesAPI.java:230)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.api.AccessoriesAPI.canInsertIntoSlot(AccessoriesAPI.java:219)
	at TRANSFORMER/[email protected]+1.20.1/top.theillusivec4.curios.mixin.CuriosImplMixinHooks.isStackValid(CuriosImplMixinHooks.java:277)
	at TRANSFORMER/[email protected]+1.20.1/top.theillusivec4.curios.api.CuriosApi.isStackValid(CuriosApi.java:155)
	at TRANSFORMER/[email protected]/sfiomn.legendarysurvivaloverhaul.common.integration.curios.CuriosEvents.onEquipCurio(CuriosEvents.java:21)
	at TRANSFORMER/[email protected]/sfiomn.legendarysurvivaloverhaul.common.integration.curios.__CuriosEvents_onEquipCurio_CurioEquipEvent.invoke(.dynamic)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.cclayer.CCLayer.lambda$new$1(CCLayer.java:86)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.api.events.CanEquipCallback.lambda$static$0(CanEquipCallback.java:31)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.impl.AccessoryNestUtils.recursiveStackHandling(AccessoryNestUtils.java:50)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.api.events.CanEquipCallback.lambda$static$1(CanEquipCallback.java:27)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.api.AccessoriesAPI.canEquip(AccessoriesAPI.java:230)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.api.AccessoriesAPI.canInsertIntoSlot(AccessoriesAPI.java:219)
	at TRANSFORMER/[email protected]+1.20.1/top.theillusivec4.curios.mixin.CuriosImplMixinHooks.isStackValid(CuriosImplMixinHooks.java:277)
	at TRANSFORMER/[email protected]+1.20.1/top.theillusivec4.curios.api.CuriosApi.isStackValid(CuriosApi.java:155)
	at TRANSFORMER/[email protected]/sfiomn.legendarysurvivaloverhaul.common.integration.curios.CuriosEvents.onEquipCurio(CuriosEvents.java:21)
	at TRANSFORMER/[email protected]/sfiomn.legendarysurvivaloverhaul.common.integration.curios.__CuriosEvents_onEquipCurio_CurioEquipEvent.invoke(.dynamic)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.cclayer.CCLayer.lambda$new$1(CCLayer.java:86)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.api.events.CanEquipCallback.lambda$static$0(CanEquipCallback.java:31)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.impl.AccessoryNestUtils.recursiveStackHandling(AccessoryNestUtils.java:50)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.api.events.CanEquipCallback.lambda$static$1(CanEquipCallback.java:27)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.api.AccessoriesAPI.canEquip(AccessoriesAPI.java:230)
	at TRANSFORMER/[email protected]+1.20.1/io.wispforest.accessories.api.AccessoriesAPI.canInsertIntoSlot(AccessoriesAPI.java:219)
	at TRANSFORMER/[email protected]+1.20.1/top.theillusivec4.curios.mixin.CuriosImplMixinHooks.isStackValid(CuriosImplMixinHooks.java:277)
	at TRANSFORMER/[email protected]+1.20.1/top.theillusivec4.curios.api.CuriosApi.isStackValid(CuriosApi.java:155)
	at TRANSFORMER/[email protected]/sfiomn.legendarysurvivaloverhaul.common.integration.curios.CuriosEvents.onEquipCurio(CuriosEvents.java:21)

Originally posted by @hipsterjazzbo in #179 (comment)

commented

Honestly the code for legendarysurvivaloverhaul seems off with its check and based on the variable naming tbh as it seems quite concerning but I can add a check to prevent infinite loops within the slot checking logic for the future.

commented

Can you also send a full log file?

commented
commented

Support for 1.20.1 is being dropped and I recommend investigating if the issue exists with this mod on 1.21.1 if possible with either reopening this issue or creating a new one.