Apotheosis

Apotheosis

89M Downloads

multiple Failed to execute ShieldBreakerTest on server log

SoupBiznis opened this issue ยท 4 comments

commented

I'm getting an error multiple times in a row serverside when i launch the .bat but it doesnt prevent us from playing on the server.
I have all the mods downloaded to their most recent and available (minecraft 1.20.1) version on curseforge.
If theres anything obvious im missing im sorry for the bother but i did try to search for any way to not get this error.
Thanks in advance for any help.

[main/ERROR] [Apotheosis : Adventure/]: Failed to execute ShieldBreakerTest
java.lang.NullPointerException: Cannot invoke "net.minecraft.world.entity.LivingEntity.m_213824_()" because "attacker" is null
at net.minecraftforge.common.extensions.IForgeItem.canDisableShield(IForgeItem.java:695) ~[forge-1.20.1-47.3.33-universal.jar%23276!/:?]
at net.minecraftforge.common.extensions.IForgeItemStack.canDisableShield(IForgeItemStack.java:233) ~[forge-1.20.1-47.3.33-universal.jar%23276!/:?]
at dev.shadowsoffire.apotheosis.adventure.loot.ShieldBreakerTest.test(ShieldBreakerTest.java:48) ~[Apotheosis-1.20.1-7.4.6.jar%23188!/:7.4.6]
at dev.shadowsoffire.apotheosis.adventure.loot.ShieldBreakerTest.test(ShieldBreakerTest.java:25) ~[Apotheosis-1.20.1-7.4.6.jar%23188!/:7.4.6]
at dev.shadowsoffire.apotheosis.adventure.loot.LootCategory.isValid(LootCategory.java:89) ~[Apotheosis-1.20.1-7.4.6.jar%23188!/:7.4.6]
at dev.shadowsoffire.apotheosis.adventure.loot.LootCategory.forItem(LootCategory.java:182) ~[Apotheosis-1.20.1-7.4.6.jar%23188!/:7.4.6]
at dev.shadowsoffire.apotheosis.adventure.loot.AffixLootEntry.getType(AffixLootEntry.java:91) ~[Apotheosis-1.20.1-7.4.6.jar%23188!/:7.4.6]
at dev.shadowsoffire.apotheosis.adventure.loot.AffixLootRegistry.validateItem(AffixLootRegistry.java:30) ~[Apotheosis-1.20.1-7.4.6.jar%23188!/:7.4.6]
at dev.shadowsoffire.apotheosis.adventure.loot.AffixLootRegistry.validateItem(AffixLootRegistry.java:13) ~[Apotheosis-1.20.1-7.4.6.jar%23188!/:7.4.6]
at dev.shadowsoffire.placebo.reload.DynamicRegistry.register(DynamicRegistry.java:322) ~[Placebo-1.20.1-8.6.2.jar%23246!/:8.6.2]
at dev.shadowsoffire.placebo.reload.DynamicRegistry.lambda$apply$0(DynamicRegistry.java:143) ~[Placebo-1.20.1-8.6.2.jar%23246!/:8.6.2]
at java.util.HashMap.forEach(HashMap.java:1430) ~[?:?]
at dev.shadowsoffire.placebo.reload.DynamicRegistry.apply(DynamicRegistry.java:136) ~[Placebo-1.20.1-8.6.2.jar%23246!/:8.6.2]
at dev.shadowsoffire.placebo.reload.DynamicRegistry.m_5787_(DynamicRegistry.java:62) ~[Placebo-1.20.1-8.6.2.jar%23246!/:8.6.2]
at net.minecraft.server.packs.resources.SimplePreparableReloadListener.m_10789_(SimplePreparableReloadListener.java:13) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:762) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:526) ~[?:?]
at net.minecraft.server.packs.resources.SimpleReloadInstance.m_143940_(SimpleReloadInstance.java:69) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?]
at net.minecraft.Util.m_214652_(Util.java:783) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?]
at net.minecraft.Util.m_214679_(Util.java:772) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?]
at net.minecraft.server.Main.main(Main.java:166) ~[server-1.20.1-20230612.114412-srg.jar%23271!/:?]
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:580) ~[?:?]
at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:111) ~[fmlloader-1.20.1-47.3.33.jar%2369!/:?]
at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.serverService(CommonLaunchHandler.java:103) ~[fmlloader-1.20.1-47.3.33.jar%2369!/:?]
at net.minecraftforge.fml.loading.targets.CommonServerLaunchHandler.lambda$makeService$0(CommonServerLaunchHandler.java:27) ~[fmlloader-1.20.1-47.3.33.jar%2369!/:?]
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) ~[modlauncher-10.0.9.jar%2355!/:?]
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) ~[modlauncher-10.0.9.jar%2355!/:?]
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) ~[modlauncher-10.0.9.jar%2355!/:?]
at cpw.mods.modlauncher.Launcher.run(Launcher.java:108) ~[modlauncher-10.0.9.jar%2355!/:?]
at cpw.mods.modlauncher.Launcher.main(Launcher.java:78) ~[modlauncher-10.0.9.jar%2355!/:?]
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) ~[modlauncher-10.0.9.jar%2355!/:?]
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) ~[modlauncher-10.0.9.jar%2355!/:?]
at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) ~[bootstraplauncher-1.1.2.jar:?]

commented

This is due to a recent forge change MinecraftForge/MinecraftForge@783c8b7

You can use an older version of MinecraftForge to resolve this.

commented

@Shadows-of-Fire
ah thank you!
just to make sure; any older version of minecraft 1.20.1 forge? or by older version do you mean lower than minecraft1.19

commented

Any older version of forge for MC 1.20, aside from the literal latest one

commented

thank you very much for your time and help!