Spartan Weaponry

Spartan Weaponry

48M Downloads

Exception prevents world load

HyperCodec opened this issue ยท 1 comments

commented

Whenever I exit a world abruptly (i.e. clicking the x and closing the game, which still runs save steps), then try to join it again later, I get prevented from being able to access it with stacktrace pointing to this mod.

[16Mar2025 18:57:06.454] [Render thread/ERROR] [net.minecraftforge.eventbus.EventBus/EVENTBUS]: Exception caught during firing event: null
--
2732 | Index: 1
2733 | Listeners:
2734 | 0: HIGH
2735 | 1: ASM: class com.oblivioussp.spartanweaponry.event.ReloadResourceEventHandler onUpdateTags(Lnet/minecraftforge/event/TagsUpdatedEvent;)V
2736 | 2: ASM: class net.mehvahdjukaar.moonlight.forge.MoonlightForge onTagUpdated(Lnet/minecraftforge/event/TagsUpdatedEvent;)V
2737 | 3: NORMAL
2738 | 4: ASM: net.minecraftforge.common.ForgeInternalHandler@477807f6 tagsUpdated(Lnet/minecraftforge/event/TagsUpdatedEvent;)V
2739 | 5: net.minecraftforge.eventbus.EventBus$$Lambda$1771/0x000001e4097c1a50@289bce1e
2740 | 6: ASM: class com.railwayteam.railways.forge.events.CommonEventsForge onTagsUpdated(Lnet/minecraftforge/event/TagsUpdatedEvent;)V
2741 | 7: ASM: class com.railwayteam.railways.forge.events.ClientEventsForge onTagsUpdated(Lnet/minecraftforge/event/TagsUpdatedEvent;)V
2742 | 8: net.minecraftforge.eventbus.EventBus$$Lambda$1771/0x000001e4097c1a50@1c3b9fef
2743 | 9: net.minecraftforge.eventbus.EventBus$$Lambda$1771/0x000001e4097c1a50@112bf761
2744 | 10: net.minecraftforge.eventbus.EventBus$$Lambda$1771/0x000001e4097c1a50@7220c3f0
2745 | 11: LOWEST
2746 | 12: ASM: org.embeddedt.modernfix.forge.init.ModernFixClientForge@78dafe85 onTags(Lnet/minecraftforge/event/TagsUpdatedEvent;)V
2747 | java.lang.NullPointerException
2748 | at MC-BOOTSTRAP/[email protected]/com.google.common.base.Preconditions.checkNotNull(Preconditions.java:889)
2749 | at MC-BOOTSTRAP/[email protected]/com.google.common.collect.ImmutableList$Builder.addAll(ImmutableList.java:858)
2750 | at TRANSFORMER/[email protected]/com.oblivioussp.spartanweaponry.item.SwordBaseItem.reload(SwordBaseItem.java:99)
2751 | at TRANSFORMER/[email protected]/com.oblivioussp.spartanweaponry.event.ReloadResourceEventHandler.lambda$onUpdateTags$0(ReloadResourceEventHandler.java:24)
2752 | at java.base/java.util.ArrayList.forEach(Unknown Source)
2753 | at TRANSFORMER/[email protected]/com.oblivioussp.spartanweaponry.event.ReloadResourceEventHandler.onUpdateTags(ReloadResourceEventHandler.java:24)
2754 | at TRANSFORMER/[email protected]/com.oblivioussp.spartanweaponry.event.__ReloadResourceEventHandler_onUpdateTags_TagsUpdatedEvent.invoke(.dynamic)
2755 | at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73)
2756 | at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
2757 | at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
2758 | at TRANSFORMER/[email protected]/net.minecraft.server.ReloadableServerResources.m_206868_(ReloadableServerResources.java:90)
2759 | at TRANSFORMER/[email protected]/net.minecraft.server.WorldLoader.m_244809_(WorldLoader.java:44)
2760 | at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source)
2761 | at java.base/java.util.concurrent.CompletableFuture$Completion.run(Unknown Source)
2762 | at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:156)
2763 | at TRANSFORMER/[email protected]/net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23)
2764 | at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:130)
2765 | at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:139)
2766 | at TRANSFORMER/[email protected]/net.minecraft.client.Minecraft.m_18701_(Minecraft.java:14941)
2767 | at TRANSFORMER/[email protected]/net.minecraft.client.gui.screens.worldselection.WorldOpenFlows.m_246486_(WorldOpenFlows.java:163)
2768 | at TRANSFORMER/[email protected]/net.minecraft.client.gui.screens.worldselection.WorldOpenFlows.m_233122_(WorldOpenFlows.java:113)
2769 | at TRANSFORMER/[email protected]/net.minecraft.client.gui.screens.worldselection.WorldOpenFlows.doLoadLevel(WorldOpenFlows.java:181)
2770 | at TRANSFORMER/[email protected]/net.minecraft.client.gui.screens.worldselection.WorldOpenFlows.m_233145_(WorldOpenFlows.java:169)
2771 | at TRANSFORMER/[email protected]/net.minecraft.client.gui.screens.worldselection.WorldOpenFlows.handler$dmp000$onLoadLevel(WorldOpenFlows.java:1532)
2772 | at TRANSFORMER/[email protected]/net.minecraft.client.gui.screens.worldselection.WorldOpenFlows.m_233133_(WorldOpenFlows.java)
2773 | at TRANSFORMER/[email protected]/net.minecraft.client.gui.screens.worldselection.WorldSelectionList$WorldListEntry.m_101744_(WorldSelectionList.java:576)
2774 | at TRANSFORMER/[email protected]/net.minecraft.client.gui.screens.worldselection.WorldSelectionList$WorldListEntry.m_101704_(WorldSelectionList.java:474)
2775 | at TRANSFORMER/[email protected]/net.minecraft.client.gui.screens.worldselection.WorldSelectionList$WorldListEntry.m_6375_(WorldSelectionList.java:416)
2776 | at TRANSFORMER/[email protected]/net.minecraft.client.gui.components.AbstractSelectionList.m_6375_(AbstractSelectionList.java:298)
2777 | at TRANSFORMER/[email protected]/net.minecraft.client.gui.components.events.ContainerEventHandler.m_6375_(ContainerEventHandler.java:38)
2778 | at TRANSFORMER/[email protected]/net.minecraft.client.MouseHandler.m_168084_(MouseHandler.java:92)
2779 | at TRANSFORMER/[email protected]/net.minecraft.client.gui.screens.Screen.m_96579_(Screen.java:437)
2780 | at TRANSFORMER/[email protected]/net.minecraft.client.MouseHandler.m_91530_(MouseHandler.java:89)
2781 | at TRANSFORMER/[email protected]/net.minecraft.client.MouseHandler.m_168091_(MouseHandler.java:189)
2782 | at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:102)
2783 | at TRANSFORMER/[email protected]/net.minecraft.client.MouseHandler.m_91565_(MouseHandler.java:188)
2784 | at MC-BOOTSTRAP/[email protected]+7/org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
2785 | at MC-BOOTSTRAP/[email protected]+7/org.lwjgl.system.JNI.invokeV(Native Method)
2786 | at MC-BOOTSTRAP/[email protected]+7/org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3474)
2787 | at TRANSFORMER/[email protected]/com.mojang.blaze3d.systems.RenderSystem.limitDisplayFPS(RenderSystem.java:237)
2788 | at TRANSFORMER/[email protected]/net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1173)
2789 | at TRANSFORMER/[email protected]/net.minecraft.client.Minecraft.m_91374_(Minecraft.java:718)
2790 | at TRANSFORMER/[email protected]/net.minecraft.client.main.Main.main(Main.java:218)
2791 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2792 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2793 | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2794 | at java.base/java.lang.reflect.Method.invoke(Unknown Source)
2795 | at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.targets.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:126)
2796 | at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.targets.CommonLaunchHandler.clientService(CommonLaunchHandler.java:114)
2797 | at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.runService(CommonClientLaunchHandler.java:24)
2798 | at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.targets.CommonLaunchHandler.lambda$launchService$4(CommonLaunchHandler.java:108)
2799 | at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30)
2800 | at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53)
2801 | at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)
2802 | at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:108)
2803 | at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:78)
2804 | at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
2805 | at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
2806 | at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141)
2807 |  
2808 | [16Mar2025 18:57:06.455] [Render thread/WARN] [net.minecraft.client.gui.screens.worldselection.WorldOpenFlows/]: Failed to load level data or datapacks, can't proceed with server load
2809 | java.util.concurrent.ExecutionException: java.lang.NullPointerException
2810 | at java.util.concurrent.CompletableFuture.reportGet(Unknown Source) ~[?:?]
2811 | at java.util.concurrent.CompletableFuture.get(Unknown Source) ~[?:?]
2812 | at net.minecraft.client.gui.screens.worldselection.WorldOpenFlows.m_246486_(WorldOpenFlows.java:164) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2813 | at net.minecraft.client.gui.screens.worldselection.WorldOpenFlows.m_233122_(WorldOpenFlows.java:113) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2814 | at net.minecraft.client.gui.screens.worldselection.WorldOpenFlows.doLoadLevel(WorldOpenFlows.java:181) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2815 | at net.minecraft.client.gui.screens.worldselection.WorldOpenFlows.m_233145_(WorldOpenFlows.java:169) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2816 | at net.minecraft.client.gui.screens.worldselection.WorldOpenFlows.handler$dmp000$onLoadLevel(WorldOpenFlows.java:1532) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2817 | at net.minecraft.client.gui.screens.worldselection.WorldOpenFlows.m_233133_(WorldOpenFlows.java) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2818 | at net.minecraft.client.gui.screens.worldselection.WorldSelectionList$WorldListEntry.m_101744_(WorldSelectionList.java:576) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2819 | at net.minecraft.client.gui.screens.worldselection.WorldSelectionList$WorldListEntry.m_101704_(WorldSelectionList.java:474) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2820 | at net.minecraft.client.gui.screens.worldselection.WorldSelectionList$WorldListEntry.m_6375_(WorldSelectionList.java:416) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2821 | at net.minecraft.client.gui.components.AbstractSelectionList.m_6375_(AbstractSelectionList.java:298) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2822 | at net.minecraft.client.gui.components.events.ContainerEventHandler.m_6375_(ContainerEventHandler.java:38) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2823 | at net.minecraft.client.MouseHandler.m_168084_(MouseHandler.java:92) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2824 | at net.minecraft.client.gui.screens.Screen.m_96579_(Screen.java:437) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2825 | at net.minecraft.client.MouseHandler.m_91530_(MouseHandler.java:89) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2826 | at net.minecraft.client.MouseHandler.m_168091_(MouseHandler.java:189) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2827 | at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:102) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2828 | at net.minecraft.client.MouseHandler.m_91565_(MouseHandler.java:188) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2829 | at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43) ~[lwjgl-glfw-3.3.1.jar%23141!/:build 7]
2830 | at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.3.1.jar%23103!/:build 7]
2831 | at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3474) ~[lwjgl-glfw-3.3.1.jar%23141!/:build 7]
2832 | at com.mojang.blaze3d.systems.RenderSystem.limitDisplayFPS(RenderSystem.java:237) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2833 | at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1173) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2834 | at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:718) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2835 | at net.minecraft.client.main.Main.main(Main.java:218) ~[1.20.1-47.1.106.jar:?]
2836 | at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
2837 | at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
2838 | at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
2839 | at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
2840 | at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:126) ~[loader-47.2.2.jar:47.2]
2841 | at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.clientService(CommonLaunchHandler.java:114) ~[loader-47.2.2.jar:47.2]
2842 | at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.runService(CommonClientLaunchHandler.java:24) ~[loader-47.2.2.jar:47.2]
2843 | at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.lambda$launchService$4(CommonLaunchHandler.java:108) ~[loader-47.2.2.jar:47.2]
2844 | at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) ~[modlauncher-10.0.9.jar:?]
2845 | at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) ~[modlauncher-10.0.9.jar:?]
2846 | at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) ~[modlauncher-10.0.9.jar:?]
2847 | at cpw.mods.modlauncher.Launcher.run(Launcher.java:108) ~[modlauncher-10.0.9.jar:?]
2848 | at cpw.mods.modlauncher.Launcher.main(Launcher.java:78) ~[modlauncher-10.0.9.jar:?]
2849 | at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) ~[modlauncher-10.0.9.jar:?]
2850 | at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) ~[modlauncher-10.0.9.jar:?]
2851 | at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) ~[bootstraplauncher-1.1.2.jar:?]
2852 | Caused by: java.lang.NullPointerException
2853 | at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:889) ~[guava-31.1-jre.jar%23113!/:?]
2854 | at com.google.common.collect.ImmutableList$Builder.addAll(ImmutableList.java:858) ~[guava-31.1-jre.jar%23113!/:?]
2855 | at com.oblivioussp.spartanweaponry.item.SwordBaseItem.reload(SwordBaseItem.java:99) ~[SpartanWeaponry-1.20.1-forge-3.1.3-all.jar%23426!/:1.20.1-forge-3.1.3]
2856 | at com.oblivioussp.spartanweaponry.event.ReloadResourceEventHandler.lambda$onUpdateTags$0(ReloadResourceEventHandler.java:24) ~[SpartanWeaponry-1.20.1-forge-3.1.3-all.jar%23426!/:1.20.1-forge-3.1.3]
2857 | at java.util.ArrayList.forEach(Unknown Source) ~[?:?]
2858 | at com.oblivioussp.spartanweaponry.event.ReloadResourceEventHandler.onUpdateTags(ReloadResourceEventHandler.java:24) ~[SpartanWeaponry-1.20.1-forge-3.1.3-all.jar%23426!/:1.20.1-forge-3.1.3]
2859 | at com.oblivioussp.spartanweaponry.event.__ReloadResourceEventHandler_onUpdateTags_TagsUpdatedEvent.invoke(.dynamic) ~[SpartanWeaponry-1.20.1-forge-3.1.3-all.jar%23426!/:1.20.1-forge-3.1.3]
2860 | at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.5.jar%23142!/:?]
2861 | at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.5.jar%23142!/:?]
2862 | at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.5.jar%23142!/:?]
2863 | at net.minecraft.server.ReloadableServerResources.m_206868_(ReloadableServerResources.java:90) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2864 | at net.minecraft.server.WorldLoader.m_244809_(WorldLoader.java:44) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2865 | at java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source) ~[?:?]
2866 | at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:?]
2867 | at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:156) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2868 | at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2869 | at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:130) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2870 | at net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:139) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2871 | at net.minecraft.client.Minecraft.m_18701_(Minecraft.java:14941) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2872 | at net.minecraft.client.gui.screens.worldselection.WorldOpenFlows.m_246486_(WorldOpenFlows.java:163) ~[client-1.20.1-20230612.114412-srg.jar%23444!/:?]
2873 | ... 39 more
commented

Seems inconsistent to reproduce, could probably just be random corruption shenanigans. Still going to keep it open though because it is rather common and super annoying.