Iron's Spells 'n Spellbooks

Iron's Spells 'n Spellbooks

11M Downloads

[Bug] Crashed - Mod failed loading

itsdinkd opened this issue ยท 10 comments

commented

Observed behaviour

Randomly crashing on my modpack, AQM3 in our public server.

Expected behaviour

Not to fail loading

Steps to reproduce

Cannot reproduce as it randomly occurs

Server Type

Dedicated Server

Crashlog

https://gist.github.com/itsdinkd/b9c9745afd689837b238c9cf08522254

Iron's Spells N Spellbooks version

1.1.4.3

Forge version

40.2.4

Other mods

No response

commented

On my own modlist im having a similar issue but my game isn't crashing instead something more like the mod server side is failing to register or setup properly and refuses people to connect. I can't get the log at this time but if it occurs again I will link it here.

commented

It seems that something is causing the item registry to fail loading.
Does this ever happen when loading a singleplayer client, and does this happen with no other mods installed?

commented

Removing irons in the public server to see if the crashes stop. will report back (Also i did not test on a single instance because i cannot reproduce this crash, its completely random)

commented

I found this, and no it hasn't happened to me in single player

[21Jul2023 12:00:46.431] [main/DEBUG] [mixin/]: Preparing mixins.irons_spellbooks.json (15)
[21Jul2023 12:00:46.469] [main/FATAL] [net.minecraftforge.fml.loading.RuntimeDistCleaner/DISTXFORM]: Attempted to load class net/minecraft/client/player/AbstractClientPlayer for invalid dist DEDICATED_SERVER
[21Jul2023 12:00:46.470] [main/WARN] [mixin/]: Error loading class: net/minecraft/client/player/AbstractClientPlayer (java.lang.RuntimeException: Attempted to load class net/minecraft/client/player/AbstractClientPlayer for invalid dist DEDICATED_SERVER)
[21Jul2023 12:00:46.470] [main/WARN] [mixin/]: @Mixin target net.minecraft.client.player.AbstractClientPlayer was not found mixins.irons_spellbooks.json:AbstractClientPlayerMixin
[21Jul2023 12:00:46.473] [main/DEBUG] [net.minecraftforge.coremod.transformer.CoreModBaseTransformer/COREMOD]: Transforming m_93028_ with desc (Lcom/mojang/blaze3d/vertex/PoseStack;)V
[21Jul2023 12:00:46.504] [main/FATAL] [net.minecraftforge.fml.loading.RuntimeDistCleaner/DISTXFORM]: Attempted to load class net/minecraft/client/gui/Gui for invalid dist DEDICATED_SERVER
[21Jul2023 12:00:46.504] [main/WARN] [mixin/]: Error loading class: net/minecraft/client/gui/Gui (java.lang.RuntimeException: Attempted to load class net/minecraft/client/gui/Gui for invalid dist DEDICATED_SERVER)
[21Jul2023 12:00:46.505] [main/WARN] [mixin/]: @Mixin target net.minecraft.client.gui.Gui was not found mixins.irons_spellbooks.json:GuiMixin
[21Jul2023 12:00:46.506] [main/FATAL] [net.minecraftforge.fml.loading.RuntimeDistCleaner/DISTXFORM]: Attempted to load class net/minecraft/client/renderer/entity/ItemRenderer for invalid dist DEDICATED_SERVER
[21Jul2023 12:00:46.506] [main/WARN] [mixin/]: Error loading class: net/minecraft/client/renderer/entity/ItemRenderer (java.lang.RuntimeException: Attempted to load class net/minecraft/client/renderer/entity/ItemRenderer for invalid dist DEDICATED_SERVER)
[21Jul2023 12:00:46.506] [main/WARN] [mixin/]: @Mixin target net.minecraft.client.renderer.entity.ItemRenderer was not found mixins.irons_spellbooks.json:ItemRendererMixin
[21Jul2023 12:00:46.508] [main/FATAL] [net.minecraftforge.fml.loading.RuntimeDistCleaner/DISTXFORM]: Attempted to load class net/minecraft/client/player/LocalPlayer for invalid dist DEDICATED_SERVER
[21Jul2023 12:00:46.508] [main/WARN] [mixin/]: Error loading class: net/minecraft/client/player/LocalPlayer (java.lang.RuntimeException: Attempted to load class net/minecraft/client/player/LocalPlayer for invalid dist DEDICATED_SERVER)
[21Jul2023 12:00:46.508] [main/WARN] [mixin/]: @Mixin target net.minecraft.client.player.LocalPlayer was not found mixins.irons_spellbooks.json:LocalPlayerMixin
[21Jul2023 12:00:46.509] [main/FATAL] [net.minecraftforge.fml.loading.RuntimeDistCleaner/DISTXFORM]: Attempted to load class net/minecraft/client/particle/Particle for invalid dist DEDICATED_SERVER
[21Jul2023 12:00:46.509] [main/WARN] [mixin/]: Error loading class: net/minecraft/client/particle/Particle (java.lang.RuntimeException: Attempted to load class net/minecraft/client/particle/Particle for invalid dist DEDICATED_SERVER)
[21Jul2023 12:00:46.509] [main/WARN] [mixin/]: @Mixin target net.minecraft.client.particle.Particle was not found mixins.irons_spellbooks.json:ParticleMixin
[21Jul2023 12:00:46.509] [main/WARN] [mixin/]: Error loading class: net/minecraft/client/renderer/entity/layers/SpinAttackEffectLayer (java.lang.ClassNotFoundException: net.minecraft.client.renderer.entity.layers.SpinAttackEffectLayer)
[21Jul2023 12:00:46.509] [main/WARN] [mixin/]: @Mixin target net.minecraft.client.renderer.entity.layers.SpinAttackEffectLayer was not found mixins.irons_spellbooks.json:SpinAttackEffectLayerMixin
commented

crash hasnt happened since. leaning more towards irons being the cause due to the client mixins trying to be loaded above while on a server. Would love to add this mod back ASAP though as its amazing for my modpack.

commented

Does this crash happen with only this mod installed?

commented

can confirm that it didnt happen with only your mod in my own environment, with the dependencies.

However as mentioned its really hard to reproduce. i dont think it will happen with just yours though, i think there is a confliction happening. After removing your mod from the public server, I Went from having these mod failed loading 5 times a day to once every other day. so i dont think its Irons completely but i think irons is a piece of the puzzle here

commented

I have the same issue and I can tell it's the mod on my side because I had a friend look at the pack it's in and tested it alone as well and the mod iron's spells n spellbooks is the issue

commented

So if it helps I discovered irons is not the cause for my issue stated originally. It was due to a Create addon not being compatible with create 0.5.1c (or d I forget. Whatever there latest was at the time of me opening)the mod was create additions

commented

This issue was closed because it has been inactive for 14 days since being marked as stale.