Extremely weird mixin error that appears when using your mod
Sunconure11 opened this issue · 25 comments
Not Simply Swords in my case. It is blaming Supplementaries. Will try without it.
Not supplementaries. I did get a crash report this time as well, but I don't know how much help it would be.
Oh, maybe this is related to loading order. Does it come and go as you change the mod list ?
This looks like another mod has a conflicting @Overwrite
or @Redirect
on the same method. Do you have an idea as to which mod is conflicting ?
Try removing Better Combat. I had this same issue so I took a look at your pastebin and noticed we both were using Better Combat. I removed Better Combat, now it loads perfectly.
@EmmyPynk This issue I'm having with porting a Quilt mod will probably take a few days to resolve. I suggest you talk with Pyro more in this issue.
[18:40:51] [main/ERROR]: Mixin apply for mod requiem failed mixins.requiem.common.json:data.ItemPredicateMixin from mod requiem -> net.minecraft.class_2073: org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException Unexpecteded NullPointerException whilst transforming the mixin class: [INJECT Applicator Phase -> mixins.requiem.common.json:data.ItemPredicateMixin from mod requiem -> Apply Injections -> PreInject -> mixins.requiem.common.json:data.ItemPredicateMixin from mod requiem->@Inject::fromJson(Lcom/google/gson/JsonElement;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfoReturnable;Lcom/google/gson/JsonObject;)V]
org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException: Unexpecteded NullPointerException whilst transforming the mixin class: [INJECT Applicator Phase -> mixins.requiem.common.json:data.ItemPredicateMixin from mod requiem -> Apply Injections -> PreInject -> mixins.requiem.common.json:data.ItemPredicateMixin from mod requiem->@Inject::fromJson(Lcom/google/gson/JsonElement;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfoReturnable;Lcom/google/gson/JsonObject;)V]
This looks to be of interest @Pyrofab
Yeah, I figured it was of interest in some way, but it clearly does not happen with only requiem so it would be super helpful if I could know which circumstances are triggering it
Hm, is there anything you can do without knowing what triggers it? I've been trying to debug stuff like this with other mods and have been unable to find what triggers such errors.
Looking at the error some more, could you look into the ItemPredicateMixin and it’s relation to mods like Better Nether and other mods by the same devs?
@Pyrofab check discord
@Redfan2 I think I know what causes the issue. Try looking into the following mods: Simply Swords, Knaves Needs, Better Combat, and anything that relies on them.
Edit: YEP IT IS THEM
Is this Issue still active? Otherwise it would be nice if you could close it. Thanks for taking the time to report it