Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inifinite error log (new issue as requested) #181

Open
hipsterjazzbo opened this issue Jan 8, 2025 · 3 comments
Open

Inifinite error log (new issue as requested) #181

hipsterjazzbo opened this issue Jan 8, 2025 · 3 comments
Assignees
Labels
bug Something isn't working Curios Compat Related to the curios compatibility layer

Comments

@hipsterjazzbo
Copy link

hipsterjazzbo commented Jan 8, 2025

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)

@Dragon-Seeker
Copy link
Member

Can you also send a full log file?

@Dragon-Seeker Dragon-Seeker self-assigned this Jan 9, 2025
@Dragon-Seeker Dragon-Seeker added bug Something isn't working Curios Compat Related to the curios compatibility layer labels Jan 9, 2025
@hipsterjazzbo
Copy link
Author

latest.log.zip

@Dragon-Seeker
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Curios Compat Related to the curios compatibility layer
Projects
None yet
Development

No branches or pull requests

2 participants