Game Disconnecting On Join For "Invalid Player Data"
AfkUserMC opened this issue ยท 0 comments
Minecraft Version
1.17.x
Mod Loader
Forge
Mod Loader Version
37.1.0
Mod Version
1.8.1
Describe the Issue
I am making a Modpack and I use a lot of the mods which require balm, but when i go into my singleplayer world it just says "Disconnected"
When i look in the logs, it says this:
[10:39:22] [Server thread/INFO]: Server starting...
[10:39:22] [Render thread/INFO]: Time elapsed: 18381 ms
[10:39:22] [Server thread/INFO]: Changing view distance to 11, from 10
[10:39:22] [Netty Server IO #1/INFO]: Done
[10:39:23] [Netty Local Client IO #0/INFO]: Connected to a modded server.
[10:39:23] [Server thread/INFO]: Using new advancement loading for net.minecraft.server.PlayerAdvancements@3079bcb5
[10:39:23] [Server thread/INFO]: AfkUser[local:E:f71af34f] logged in with entity id 187 at (222.5, 180.0, 102.5)
[10:39:23] [Server thread/INFO]: AfkUser joined the game
[10:39:23] [Server thread/INFO]: AfkUser has completed the challenge [Simply Jetpacks 2]
[10:39:23] [Server thread/INFO]: AfkUser has made the advancement [Vanilla Jetpacks]
[10:39:23] [Server thread/ERROR]: Exception caught during firing event: Cannot invoke "net.blay09.mods.balm.api.network.MessageRegistration.getIdentifier()" because "messageRegistration" is null
Index: 4
Listeners:
0: HIGH
1: ASM: class dev.architectury.event.forge.EventHandlerImplCommon event(Lnet/minecraftforge/event/entity/player/PlayerEvent$PlayerLoggedInEvent;)V
2: NORMAL
3: ASM: stormedpanda.simplyjetpacks.handlers.SyncHandler@71695d7 onLogin(Lnet/minecraftforge/event/entity/player/PlayerEvent$PlayerLoggedInEvent;)V
4: net.minecraftforge.eventbus.EventBus$$Lambda$3987/0x0000000800be6000@3366c50d
5: ASM: mods.waterstrainer.event.EventPlayerLoggedIn@1c93f38c onPlayerLoggedIn(Lnet/minecraftforge/event/entity/player/PlayerEvent$PlayerLoggedInEvent;)V
6: net.minecraftforge.eventbus.EventBus$$Lambda$3987/0x0000000800be6000@2ac31fb4
7: ASM: net.minecraftforge.common.ForgeInternalHandler@34bb91a3 playerLogin(Lnet/minecraftforge/event/entity/player/PlayerEvent$PlayerLoggedInEvent;)V
8: ASM: doggytalents.common.event.EventHandler@3c709a78 playerLoggedIn(Lnet/minecraftforge/event/entity/player/PlayerEvent$PlayerLoggedInEvent;)V
9: ASM: class dev.architectury.networking.forge.NetworkManagerImpl loggedIn(Lnet/minecraftforge/event/entity/player/PlayerEvent$PlayerLoggedInEvent;)V
10: ASM: class twilightforest.TFEventListener playerLogsIn(Lnet/minecraftforge/event/entity/player/PlayerEvent$PlayerLoggedInEvent;)V
11: ASM: class mod.chiselsandbits.events.PlayerLoggedInEventHandler onPlayerLoggedIn(Lnet/minecraftforge/event/entity/player/PlayerEvent$PlayerLoggedInEvent;)V
12: ASM: journeymap.common.events.ForgeEvents@39d46988 onPlayerLoggedInEvent(Lnet/minecraftforge/event/entity/player/PlayerEvent$PlayerLoggedInEvent;)V
13: ASM: dev.gigaherz.toolbelt.slot.BeltExtensionSlot$EventHandlers@efc9cae joinWorld(Lnet/minecraftforge/event/entity/player/PlayerEvent$PlayerLoggedInEvent;)V
14: ASM: team.creative.creativecore.common.config.event.ConfigEventHandler@17f1264 playerLoggedIn(Lnet/minecraftforge/event/entity/player/PlayerEvent$PlayerLoggedInEvent;)V
15: ASM: squeek.appleskin.network.SyncHandler@6fb5befd onPlayerLoggedIn(Lnet/minecraftforge/event/entity/player/PlayerEvent$PlayerLoggedInEvent;)V
16: net.minecraftforge.eventbus.EventBus$$Lambda$3987/0x0000000800be6000@4fd06608
java.lang.NullPointerException: Cannot invoke "net.blay09.mods.balm.api.network.MessageRegistration.getIdentifier()" because "messageRegistration" is null
at TRANSFORMER/[email protected]+0/net.blay09.mods.balm.forge.network.ForgeBalmNetworking.sendTo(ForgeBalmNetworking.java:66)
at TRANSFORMER/[email protected]+0/net.blay09.mods.kleeslabs.LoginSyncHandler.onPlayerLogin(LoginSyncHandler.java:22)
at TRANSFORMER/[email protected]+0/net.blay09.mods.balm.api.event.ForgeBalmEvents.fireEventHandler(ForgeBalmEvents.java:44)
at TRANSFORMER/[email protected]+0/net.blay09.mods.balm.api.event.ForgeBalmEvents.lambda$fireEventHandlers$0(ForgeBalmEvents.java:38)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at TRANSFORMER/[email protected]+0/net.blay09.mods.balm.api.event.ForgeBalmEvents.fireEventHandlers(ForgeBalmEvents.java:38)
at TRANSFORMER/[email protected]+0/net.blay09.mods.balm.forge.event.ForgeBalmCommonEvents.lambda$registerEvents$20(ForgeBalmCommonEvents.java:113)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.eventbus.EventBus.post(EventBus.java:302)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.eventbus.EventBus.post(EventBus.java:283)
at TRANSFORMER/[email protected]/net.minecraftforge.fmllegacy.hooks.BasicEventHooks.firePlayerLoggedIn(BasicEventHooks.java:44)
at TRANSFORMER/[email protected]/net.minecraft.server.players.PlayerList.m_11261_(PlayerList.java:235)
at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerLoginPacketListenerImpl.m_143699_(ServerLoginPacketListenerImpl.java:137)
at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerLoginPacketListenerImpl.m_10055_(ServerLoginPacketListenerImpl.java:125)
at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerLoginPacketListenerImpl.m_10050_(ServerLoginPacketListenerImpl.java:69)
at TRANSFORMER/[email protected]/net.minecraft.network.Connection.m_129483_(Connection.java:229)
at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerConnectionListener.m_9721_(ServerConnectionListener.java:142)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:897)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:819)
at TRANSFORMER/[email protected]/net.minecraft.client.server.IntegratedServer.m_5705_(IntegratedServer.java:85)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:684)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:258)
at java.base/java.lang.Thread.run(Thread.java:831)
[10:39:23] [Server thread/INFO]: AfkUser lost connection: Invalid player data
[10:39:23] [Server thread/INFO]: AfkUser left the game
[10:39:23] [Server thread/INFO]: Stopping singleplayer server as player logged out
[10:39:23] [Server thread/INFO]: Server stopping...
[10:39:23] [Server thread/INFO]: Stopping server
I am assuming that "net.blay09.mods.balm.api.network.MessageRegistration.getIdentifier()" because "messageRegistration" is null" caused the disconnect.
Logs
No response