ProtocolLib

3M Downloads

Constant Crashes Build #626

Sixsoul opened this issue ยท 6 comments

commented

Server crashes over and over after just a few minutes.

[11:13:59 ERROR]: Encountered an unexpected exception
net.minecraft.ReportedException: Sending packet
        at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1594) ~[purpur-1.19.4.jar:git-Purpur-1949]
        at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:487) ~[purpur-1.19.4.jar:git-Purpur-1949]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1424) ~[purpur-1.19.4.jar:git-Purpur-1949]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1195) ~[purpur-1.19.4.jar:git-Purpur-1949]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:325) ~[purpur-1.19.4.jar:git-Purpur-1949]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "Object.getClass()" because "packet" is null
        at com.comphenix.protocol.events.PacketContainer.fromPacket(PacketContainer.java:157) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.wrappers.Converters$3.getSpecific(Converters.java:107) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.wrappers.Converters$7.getSpecific(Converters.java:261) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.wrappers.Converters$7.getSpecific(Converters.java:238) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.wrappers.Converters$1.getSpecific(Converters.java:54) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.reflect.StructureModifier.readInternal(StructureModifier.java:301) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.reflect.StructureModifier.read(StructureModifier.java:251) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:152) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:139) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.injector.PacketFilterManager.postPacketToListeners(PacketFilterManager.java:551) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:525) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.injector.netty.manager.NetworkManagerInjector.onPacketSending(NetworkManagerInjector.java:100) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.injector.netty.channel.NettyChannelInjector.processOutbound(NettyChannelInjector.java:566) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.injector.netty.channel.NettyChannelInjector$2.doProxyRunnable(NettyChannelInjector.java:467) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.injector.netty.channel.NettyEventLoopProxy.proxyRunnable(NettyEventLoopProxy.java:43) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.injector.netty.channel.NettyEventLoopProxy.execute(NettyEventLoopProxy.java:252) ~[ProtocolLib(5).jar:?]
        at net.minecraft.network.Connection.sendPacket(Connection.java:437) ~[?:?]
        at net.minecraft.network.Connection.send(Connection.java:382) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:2241) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:2227) ~[?:?]
        at net.minecraft.server.level.ServerEntity.addPairing(ServerEntity.java:294) ~[?:?]
        at net.minecraft.server.level.ChunkMap$TrackedEntity.updatePlayer(ChunkMap.java:1627) ~[?:?]
        at net.minecraft.server.level.ChunkMap$TrackedEntity.updatePlayers(ChunkMap.java:1540) ~[?:?]
        at net.minecraft.server.level.ChunkTracker.processTrackQueue(ChunkTracker.java:1260) ~[?:?]
        at net.minecraft.server.level.ChunkTracker.tick(ChunkTracker.java:1281) ~[?:?]
        at net.minecraft.server.level.ServerChunkCache.tickChunks(ServerChunkCache.java:829) ~[?:?]
        at net.minecraft.server.level.ServerChunkCache.tick(ServerChunkCache.java:652) ~[?:?]
        at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:707) ~[?:?]
        at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1575) ~[purpur-1.19.4.jar:git-Purpur-1949]
        ... 5 more
[11:13:59 ERROR]:       Cause of unexpected exception was
java.lang.NullPointerException: Cannot invoke "Object.getClass()" because "packet" is null
        at com.comphenix.protocol.events.PacketContainer.fromPacket(PacketContainer.java:157) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.wrappers.Converters$3.getSpecific(Converters.java:107) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.wrappers.Converters$7.getSpecific(Converters.java:261) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.wrappers.Converters$7.getSpecific(Converters.java:238) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.wrappers.Converters$1.getSpecific(Converters.java:54) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.reflect.StructureModifier.readInternal(StructureModifier.java:301) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.reflect.StructureModifier.read(StructureModifier.java:251) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:152) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:139) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.injector.PacketFilterManager.postPacketToListeners(PacketFilterManager.java:551) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:525) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.injector.netty.manager.NetworkManagerInjector.onPacketSending(NetworkManagerInjector.java:100) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.injector.netty.channel.NettyChannelInjector.processOutbound(NettyChannelInjector.java:566) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.injector.netty.channel.NettyChannelInjector$2.doProxyRunnable(NettyChannelInjector.java:467) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.injector.netty.channel.NettyEventLoopProxy.proxyRunnable(NettyEventLoopProxy.java:43) ~[ProtocolLib(5).jar:?]
        at com.comphenix.protocol.injector.netty.channel.NettyEventLoopProxy.execute(NettyEventLoopProxy.java:252) ~[ProtocolLib(5).jar:?]
        at net.minecraft.network.Connection.sendPacket(Connection.java:437) ~[?:?]
        at net.minecraft.network.Connection.send(Connection.java:382) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:2241) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:2227) ~[?:?]
        at net.minecraft.server.level.ServerEntity.addPairing(ServerEntity.java:294) ~[?:?]
        at net.minecraft.server.level.ChunkMap$TrackedEntity.updatePlayer(ChunkMap.java:1627) ~[?:?]
        at net.minecraft.server.level.ChunkMap$TrackedEntity.updatePlayers(ChunkMap.java:1540) ~[?:?]
        at net.minecraft.server.level.ChunkTracker.processTrackQueue(ChunkTracker.java:1260) ~[?:?]
        at net.minecraft.server.level.ChunkTracker.tick(ChunkTracker.java:1281) ~[?:?]
        at net.minecraft.server.level.ServerChunkCache.tickChunks(ServerChunkCache.java:829) ~[?:?]
        at net.minecraft.server.level.ServerChunkCache.tick(ServerChunkCache.java:652) ~[?:?]
        at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:707) ~[?:?]
        at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1575) ~[purpur-1.19.4.jar:git-Purpur-1949]
        at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:487) ~[purpur-1.19.4.jar:git-Purpur-1949]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1424) ~[purpur-1.19.4.jar:git-Purpur-1949]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1195) ~[purpur-1.19.4.jar:git-Purpur-1949]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:325) ~[purpur-1.19.4.jar:git-Purpur-1949]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]
commented

Oddly enough I can't make it crash on the version you provided here, have run the server almost 12 hours now without it crashing, while on the previous I can crash it in 60 seconds or less.

commented

@lukalt thoughts? looks like this is happening in the PacketContainer converter

commented

Here is the dump:

ProtocolLib Dump
Timestamp: 03/31/23 05:03:26

ProtocolLib Version: ProtocolLib v5.0.0-SNAPSHOT-b625
Bukkit Version: 1.19.4-R0.1-SNAPSHOT
Server Version: git-Pufferfish-64 (MC: 1.19.4)
Java Version: 18.0.2.1

ProtocolLib: com.comphenix.protocol.ProtocolLib@7e375e82[
  statistics=com.comphenix.protocol.metrics.Statistics@36f56e15
  packetTask=13
  tickCounter=47577
  configExpectedMod=1
  updater=com.comphenix.protocol.updater.SpigotUpdater@91d7ae0
  redirectHandler=com.comphenix.protocol.ProtocolLib$2@4b50bdf7
  commandProtocol=com.comphenix.protocol.CommandProtocol@fd72951
  commandPacket=com.comphenix.protocol.CommandPacket@124f7b78
  commandFilter=com.comphenix.protocol.CommandFilter@7067d9ab
  packetLogging=com.comphenix.protocol.PacketLogging@3e966d55
  skipDisable=false
  isEnabled=true
  loader=io.papermc.paper.plugin.manager.DummyBukkitPluginLoader@83d5677
  server=CraftServer{serverName=Pufferfish,serverVersion=git-Pufferfish-64,minecraftVersion=1.19.4}
  file=plugins/ProtocolLib(7).jar
  description=org.bukkit.plugin.PluginDescriptionFile@2fa44fb1
  pluginMeta=org.bukkit.plugin.PluginDescriptionFile@2fa44fb1
  dataFolder=plugins/ProtocolLib
  classLoader=PluginClassLoader{plugin=ProtocolLib v5.0.0-SNAPSHOT-b625, pluginEnabled=true, url=plugins/ProtocolLib(7).jar}
  naggable=true
  newConfig=YamlConfiguration[path='', root='YamlConfiguration']
  configFile=plugins/ProtocolLib/config.yml
  logger=com.destroystokyo.paper.utils.PaperPluginLogger@40b90716
]
Manager: com.comphenix.protocol.injector.PacketFilterManager@22de7a52[
  plugin=ProtocolLib v5.0.0-SNAPSHOT-b625
  server=CraftServer{serverName=Pufferfish,serverVersion=git-Pufferfish-64,minecraftVersion=1.19.4}
  reporter=com.comphenix.protocol.ProtocolLib$1@2f8a607f
  minecraftVersion=(MC: 1.19.4)
  asyncFilterManager=com.comphenix.protocol.async.AsyncFilterManager@26c87590
  pluginVerifier=com.comphenix.protocol.injector.PluginVerifier@2e4147e8
  inboundListeners=com.comphenix.protocol.injector.SortedPacketListenerList@7f9ca498
  outboundListeners=com.comphenix.protocol.injector.SortedPacketListenerList@3e9aa8c
  registeredListeners=[PacketAdapter[plugin=Interactions, sending=EMPTY_WHITELIST, receiving=ListeningWhitelist[priority=HIGHEST, packets=[STEER_VEHICLE[class=PacketPlayInSteerVehicle, id=31]], gamephase=PLAYING, options=[]]], PacketAdapter[plugin=Interactions, sending=ListeningWhitelist[priority=HIGHEST, packets=[CHAT[class=ClientboundPlayerChatPacket, id=53]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=ItemsAdder, sending=ListeningWhitelist[priority=NORMAL, packets=[AUTO_RECIPE[class=PacketPlayOutAutoRecipe, id=51]], gamephase=PLAYING, options=[]], receiving=ListeningWhitelist[priority=NORMAL, packets=[AUTO_RECIPE[class=PacketPlayInAutoRecipe, id=27]], gamephase=PLAYING, options=[]]], PacketAdapter[plugin=HappyHUD, sending=ListeningWhitelist[priority=HIGHEST, packets=[EXPERIENCE[class=PacketPlayOutExperience, id=86]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], com.bergerkiller.bukkit.common.internal.network.ProtocolLibPacketHandler$CommonPacketListener@718b7243, PacketAdapter[plugin=Citizens, sending=ListeningWhitelist[priority=HIGHEST, packets=[PLAYER_INFO[class=ClientboundPlayerInfoUpdatePacket, id=58]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=WorldGuardExtraFlags, sending=ListeningWhitelist[priority=NORMAL, packets=[REMOVE_ENTITY_EFFECT[class=PacketPlayOutRemoveEntityEffect, id=63]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], com.comphenix.protocol.async.NullPacketListener@b557f85, PacketAdapter[plugin=Citizens, sending=ListeningWhitelist[priority=MONITOR, packets=[ENTITY_HEAD_ROTATION[class=PacketPlayOutEntityHeadRotation, id=66], ENTITY_LOOK[class=PacketPlayOutEntityLook, id=45]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=ItemsAdder, sending=EMPTY_WHITELIST, receiving=ListeningWhitelist[priority=NORMAL, packets=[BLOCK_DIG[class=PacketPlayInBlockDig, id=29]], gamephase=PLAYING, options=[]]], PacketAdapter[plugin=ItemsAdder, sending=ListeningWhitelist[priority=MONITOR, packets=[RESOURCE_PACK_SEND[class=PacketPlayOutResourcePackSend, id=64]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=Interactions, sending=ListeningWhitelist[priority=HIGHEST, packets=[SYSTEM_CHAT[class=ClientboundSystemChatPacket, id=100]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=HappyHUD, sending=ListeningWhitelist[priority=HIGHEST, packets=[SET_ACTION_BAR_TEXT[class=ClientboundSetActionBarTextPacket, id=70]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=AureliumSkills, sending=ListeningWhitelist[priority=MONITOR, packets=[SET_ACTION_BAR_TEXT[class=ClientboundSetActionBarTextPacket, id=70]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=ItemsAdder, sending=EMPTY_WHITELIST, receiving=ListeningWhitelist[priority=NORMAL, packets=[STEER_VEHICLE[class=PacketPlayInSteerVehicle, id=31]], gamephase=PLAYING, options=[]]], PacketAdapter[plugin=ItemsAdder, sending=ListeningWhitelist[priority=MONITOR, packets=[CHAT[class=ClientboundPlayerChatPacket, id=53]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], com.bergerkiller.bukkit.common.internal.network.ProtocolLibPacketHandler$CommonPacketListener@245bf67, PacketAdapter[plugin=MyCommand, sending=EMPTY_WHITELIST, receiving=ListeningWhitelist[priority=NORMAL, packets=[UPDATE_SIGN[class=PacketPlayInUpdateSign, id=46]], gamephase=PLAYING, options=[]]], PacketAdapter[plugin=HappyHUD, sending=ListeningWhitelist[priority=HIGHEST, packets=[UPDATE_HEALTH[class=PacketPlayOutUpdateHealth, id=87]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=ItemsAdder, sending=ListeningWhitelist[priority=LOWEST, packets=[RECIPES[class=PacketPlayOutRecipes, id=61]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=ItemsAdder, sending=ListeningWhitelist[priority=MONITOR, packets=[SYSTEM_CHAT[class=ClientboundSystemChatPacket, id=100]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=UltraCustomizer, sending=ListeningWhitelist[priority=NORMAL, packets=[CHAT[class=ClientboundPlayerChatPacket, id=53]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=HappyHUD, sending=ListeningWhitelist[priority=HIGHEST, packets=[UPDATE_ATTRIBUTES[class=PacketPlayOutUpdateAttributes, id=106]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=ItemsAdder, sending=ListeningWhitelist[priority=HIGH, packets=[OPEN_WINDOW[class=PacketPlayOutOpenWindow, id=48]], gamephase=PLAYING, options=[ASYNC]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=HappyHUD, sending=ListeningWhitelist[priority=HIGHEST, packets=[SYSTEM_CHAT[class=ClientboundSystemChatPacket, id=100]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=ItemsAdder, sending=ListeningWhitelist[priority=NORMAL, packets=[RECIPE_UPDATE[class=PacketPlayOutRecipeUpdate, id=109]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=CMI, sending=ListeningWhitelist[priority=HIGH, packets=[UNLOAD_CHUNK[class=PacketPlayOutUnloadChunk, id=30]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=ItemsAdder, sending=EMPTY_WHITELIST, receiving=ListeningWhitelist[priority=NORMAL, packets=[BLOCK_DIG[class=PacketPlayInBlockDig, id=29]], gamephase=PLAYING, options=[]]], PacketAdapter[plugin=DecentHolograms, sending=EMPTY_WHITELIST, receiving=ListeningWhitelist[priority=NORMAL, packets=[USE_ENTITY[class=PacketPlayInUseEntity, id=16]], gamephase=PLAYING, options=[ASYNC]]], com.bergerkiller.bukkit.common.internal.network.ProtocolLibPacketHandler$CommonPacketMonitor@39ba150e, PacketAdapter[plugin=AureliumSkills, sending=ListeningWhitelist[priority=MONITOR, packets=[SYSTEM_CHAT[class=ClientboundSystemChatPacket, id=100]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=Pl-Hide-Pro, sending=ListeningWhitelist[priority=HIGHEST, packets=[TAB_COMPLETE[class=PacketPlayOutTabComplete, id=15]], gamephase=PLAYING, options=[ASYNC]], receiving=ListeningWhitelist[priority=HIGHEST, packets=[TAB_COMPLETE[class=PacketPlayInTabComplete, id=9]], gamephase=PLAYING, options=[ASYNC]]], PacketAdapter[plugin=ItemsAdder, sending=EMPTY_WHITELIST, receiving=ListeningWhitelist[priority=NORMAL, packets=[UPDATE_SIGN[class=PacketPlayInUpdateSign, id=46]], gamephase=PLAYING, options=[]]], PacketAdapter[plugin=AureliumSkills, sending=ListeningWhitelist[priority=MONITOR, packets=[CHAT[class=ClientboundPlayerChatPacket, id=53]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], com.bergerkiller.bukkit.common.internal.network.ProtocolLibPacketHandler$CommonPacketListener@1433960f, PacketAdapter[plugin=RealisticSeasons, sending=ListeningWhitelist[priority=NORMAL, packets=[MAP_CHUNK[class=ClientboundLevelChunkWithLightPacket, id=36]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=PlayerWarps, sending=EMPTY_WHITELIST, receiving=ListeningWhitelist[priority=NORMAL, packets=[UPDATE_SIGN[class=PacketPlayInUpdateSign, id=46]], gamephase=PLAYING, options=[]]]]
  packetInjector=com.comphenix.protocol.injector.netty.manager.NetworkManagerPacketInjector@66e83b94
  playerInjectionHandler=com.comphenix.protocol.injector.netty.manager.NetworkManagerPlayerInjector@42b24ea6
  networkManagerInjector=com.comphenix.protocol.injector.netty.manager.NetworkManagerInjector@58109a0c
  debug=false
  closed=false
  injected=true
]

Listeners:
it.ajneb97.managers.ProtocolLibJugadorManager$2@d0f818f[
  plugin=Interactions v1.33.1
  connectionSide=CLIENT_SIDE
  receivingWhitelist=ListeningWhitelist[priority=HIGHEST, packets=[STEER_VEHICLE[class=PacketPlayInSteerVehicle, id=31]], gamephase=PLAYING, options=[]]
  sendingWhitelist=EMPTY_WHITELIST
]
it.ajneb97.managers.ProtocolLibJugadorManager$1@7ba02ce2[
  plugin=Interactions v1.33.1
  connectionSide=SERVER_SIDE
  receivingWhitelist=EMPTY_WHITELIST
  sendingWhitelist=ListeningWhitelist[priority=HIGHEST, packets=[CHAT[class=ClientboundPlayerChatPacket, id=53]], gamephase=PLAYING, options=[]]
]
ia.nms.aX.impl.u@1cd40d97[
  c=ia.nms.aX.impl.v1_19_R3@73c9b6a
  plugin=ItemsAdder v3.4.1-r3
  connectionSide=BOTH
  receivingWhitelist=ListeningWhitelist[priority=NORMAL, packets=[AUTO_RECIPE[class=PacketPlayInAutoRecipe, id=27]], gamephase=PLAYING, options=[]]
  sendingWhitelist=ListeningWhitelist[priority=NORMAL, packets=[AUTO_RECIPE[class=PacketPlayOutAutoRecipe, id=51]], gamephase=PLAYING, options=[]]
]
com.ehhthan.happyhud.comp.protocollib.ProtocolLibListener$3@f47ee83[
  plugin=HappyHUD v0.3.3-SNAPSHOT
  connectionSide=SERVER_SIDE
  receivingWhitelist=EMPTY_WHITELIST
  sendingWhitelist=ListeningWhitelist[priority=HIGHEST, packets=[EXPERIENCE[class=PacketPlayOutExperience, id=86]], gamephase=PLAYING, options=[]]
]
com.bergerkiller.bukkit.common.internal.network.ProtocolLibPacketHandler$CommonPacketListener@718b7243[
  listener=com.bergerkiller.bukkit.common.internal.CommonVehicleMountManager$4@13366d34
  plugin=BKCommonLib v1.19.4-v1-SNAPSHOT
  types={PacketPlayOutMount,PacketPlayOutCamera}
  receiving=ListeningWhitelist[priority=NORMAL, packets=[], gamephase=PLAYING, options=[ASYNC]]
  sending=ListeningWhitelist[priority=NORMAL, packets=[CAMERA[class=PacketPlayOutCamera, id=76], MOUNT[class=PacketPlayOutMount, id=89]], gamephase=PLAYING, options=[ASYNC]]
  eventHasIsTemporaryPlayerMethod=true
  temporaryPlayerClass=class java.lang.String
]
net.citizensnpcs.ProtocolLibListener$1@5e5bb312[
  plugin=Citizens v2.0.31-SNAPSHOT (build 2979)
  connectionSide=SERVER_SIDE
  receivingWhitelist=EMPTY_WHITELIST
  sendingWhitelist=ListeningWhitelist[priority=HIGHEST, packets=[PLAYER_INFO[class=ClientboundPlayerInfoUpdatePacket, id=58]], gamephase=PLAYING, options=[]]
]
net.goldtreeservers.worldguardextraflags.protocollib.RemoveEffectPacketListener@29f87176[
  plugin=WorldGuardExtraFlags v4.2.1
  connectionSide=SERVER_SIDE
  receivingWhitelist=EMPTY_WHITELIST
  sendingWhitelist=ListeningWhitelist[priority=NORMAL, packets=[REMOVE_ENTITY_EFFECT[class=PacketPlayOutRemoveEntityEffect, id=63]], gamephase=PLAYING, options=[]]
]
com.comphenix.protocol.async.NullPacketListener@b557f85[
  sendingWhitelist=ListeningWhitelist[priority=LOW, packets=[COMMANDS[class=PacketPlayOutCommands, id=16]], gamephase=PLAYING, options=[ASYNC]]
  receivingWhitelist=ListeningWhitelist[priority=LOW, packets=[], gamephase=PLAYING, options=[ASYNC]]
  plugin=Pl-Hide-Pro v2.6.9
]
net.citizensnpcs.ProtocolLibListener$2@37de284c[
  plugin=Citizens v2.0.31-SNAPSHOT (build 2979)
  connectionSide=SERVER_SIDE
  receivingWhitelist=EMPTY_WHITELIST
  sendingWhitelist=ListeningWhitelist[priority=MONITOR, packets=[ENTITY_HEAD_ROTATION[class=PacketPlayOutEntityHeadRotation, id=66], ENTITY_LOOK[class=PacketPlayOutEntityLook, id=45]], gamephase=PLAYING, options=[]]
]
ia.m.cv@2f5022c7[
  b=ia.m.cu@9b52eb
  plugin=ItemsAdder v3.4.1-r3
  connectionSide=CLIENT_SIDE
  receivingWhitelist=ListeningWhitelist[priority=NORMAL, packets=[BLOCK_DIG[class=PacketPlayInBlockDig, id=29]], gamephase=PLAYING, options=[]]
  sendingWhitelist=EMPTY_WHITELIST
]
ia.m.iB@6ac5c7dd[
  b=ia.m.iF@2429871c
  a=ia.m.iA@5cd45860
  plugin=ItemsAdder v3.4.1-r3
  connectionSide=SERVER_SIDE
  receivingWhitelist=EMPTY_WHITELIST
  sendingWhitelist=ListeningWhitelist[priority=MONITOR, packets=[RESOURCE_PACK_SEND[class=PacketPlayOutResourcePackSend, id=64]], gamephase=PLAYING, options=[]]
]
it.ajneb97.managers.ProtocolLibJugadorManager$1@33f49dac[
  plugin=Interactions v1.33.1
  connectionSide=SERVER_SIDE
  receivingWhitelist=EMPTY_WHITELIST
  sendingWhitelist=ListeningWhitelist[priority=HIGHEST, packets=[SYSTEM_CHAT[class=ClientboundSystemChatPacket, id=100]], gamephase=PLAYING, options=[]]
]
com.ehhthan.happyhud.comp.protocollib.ProtocolLibListener$4@2e634479[
  plugin=HappyHUD v0.3.3-SNAPSHOT
  connectionSide=SERVER_SIDE
  receivingWhitelist=EMPTY_WHITELIST
  sendingWhitelist=ListeningWhitelist[priority=HIGHEST, packets=[SET_ACTION_BAR_TEXT[class=ClientboundSetActionBarTextPacket, id=70]], gamephase=PLAYING, options=[]]
]
com.archyx.aureliumskills.ui.ActionBarCompatHandler$1@7424273a[
  plugin=AureliumSkills vBeta 1.3.17
  connectionSide=SERVER_SIDE
  receivingWhitelist=EMPTY_WHITELIST
  sendingWhitelist=ListeningWhitelist[priority=MONITOR, packets=[SET_ACTION_BAR_TEXT[class=ClientboundSetActionBarTextPacket, id=70]], gamephase=PLAYING, options=[]]
]
ia.m.cg@6efafb25[
  plugin=ItemsAdder v3.4.1-r3
  connectionSide=CLIENT_SIDE
  receivingWhitelist=ListeningWhitelist[priority=NORMAL, packets=[STEER_VEHICLE[class=PacketPlayInSteerVehicle, id=31]], gamephase=PLAYING, options=[]]
  sendingWhitelist=EMPTY_WHITELIST
]
ia.m.gS@5488d929[
  c=ia.m.gQ@391120d0
  plugin=ItemsAdder v3.4.1-r3
  connectionSide=SERVER_SIDE
  receivingWhitelist=EMPTY_WHITELIST
  sendingWhitelist=ListeningWhitelist[priority=MONITOR, packets=[CHAT[class=ClientboundPlayerChatPacket, id=53]], gamephase=PLAYING, options=[]]
]
com.bergerkiller.bukkit.common.internal.network.ProtocolLibPacketHandler$CommonPacketListener@245bf67[
  listener=com.bergerkiller.bukkit.common.internal.map.CommonMapController@63473113
  plugin=BKCommonLib v1.19.4-v1-SNAPSHOT
  types={PacketPlayOutMap,PacketPlayInSteerVehicle,PacketPlayOutWindowItems,PacketPlayOutSetSlot,PacketPlayOutEntityMetadata,PacketPlayInSetCreativeSlot}
  receiving=ListeningWhitelist[priority=NORMAL, packets=[STEER_VEHICLE[class=PacketPlayInSteerVehicle, id=31], SET_CREATIVE_SLOT[class=PacketPlayInSetCreativeSlot, id=43]], gamephase=PLAYING, options=[ASYNC]]
  sending=ListeningWhitelist[priority=NORMAL, packets=[SET_SLOT[class=PacketPlayOutSetSlot, id=20], WINDOW_ITEMS[class=PacketPlayOutWindowItems, id=18], ENTITY_METADATA[class=PacketPlayOutEntityMetadata, id=82], MAP[class=PacketPlayOutMap, id=41]], gamephase=PLAYING, options=[ASYNC]]
  eventHasIsTemporaryPlayerMethod=true
  temporaryPlayerClass=class java.lang.String
]
it.emmerrei.mycommand.signmenu.SignMenuFactory$1@45c82bea[
  plugin=MyCommand v5.7.3
  connectionSide=CLIENT_SIDE
  receivingWhitelist=ListeningWhitelist[priority=NORMAL, packets=[UPDATE_SIGN[class=PacketPlayInUpdateSign, id=46]], gamephase=PLAYING, options=[]]
  sendingWhitelist=EMPTY_WHITELIST
]
com.ehhthan.happyhud.comp.protocollib.ProtocolLibListener$1@204b3268[
  plugin=HappyHUD v0.3.3-SNAPSHOT
  connectionSide=SERVER_SIDE
  receivingWhitelist=EMPTY_WHITELIST
  sendingWhitelist=ListeningWhitelist[priority=HIGHEST, packets=[UPDATE_HEALTH[class=PacketPlayOutUpdateHealth, id=87]], gamephase=PLAYING, options=[]]
]
ia.nms.aX.impl.t@78f25596[
  b=ia.nms.aX.impl.v1_19_R3@73c9b6a
  plugin=ItemsAdder v3.4.1-r3
  connectionSide=SERVER_SIDE
  receivingWhitelist=EMPTY_WHITELIST
  sendingWhitelist=ListeningWhitelist[priority=LOWEST, packets=[RECIPES[class=PacketPlayOutRecipes, id=61]], gamephase=PLAYING, options=[]]
]
ia.m.gR@3ec6dc8[
  b=ia.m.gQ@391120d0
  plugin=ItemsAdder v3.4.1-r3
  connectionSide=SERVER_SIDE
  receivingWhitelist=EMPTY_WHITELIST
  sendingWhitelist=ListeningWhitelist[priority=MONITOR, packets=[SYSTEM_CHAT[class=ClientboundSystemChatPacket, id=100]], gamephase=PLAYING, options=[]]
]
me.TechsCode.UltraCustomizer.hooks.ProtocolLibHook@138da1d[
  listeners=[me.TechsCode.UltraCustomizer.messageSystem.ChatEditor@6bf40f3a]
  plugin=UltraCustomizer v2.0.9
  connectionSide=SERVER_SIDE
  receivingWhitelist=EMPTY_WHITELIST
  sendingWhitelist=ListeningWhitelist[priority=NORMAL, packets=[CHAT[class=ClientboundPlayerChatPacket, id=53]], gamephase=PLAYING, options=[]]
]
com.ehhthan.happyhud.comp.protocollib.ProtocolLibListener$2@27974c71[
  plugin=HappyHUD v0.3.3-SNAPSHOT
  connectionSide=SERVER_SIDE
  receivingWhitelist=EMPTY_WHITELIST
  sendingWhitelist=ListeningWhitelist[priority=HIGHEST, packets=[UPDATE_ATTRIBUTES[class=PacketPlayOutUpdateAttributes, id=106]], gamephase=PLAYING, options=[]]
]
ia.m.gY@15062420[
  b=ia.m.gX@13c0f6a7
  plugin=ItemsAdder v3.4.1-r3
  connectionSide=SERVER_SIDE
  receivingWhitelist=EMPTY_WHITELIST
  sendingWhitelist=ListeningWhitelist[priority=HIGH, packets=[OPEN_WINDOW[class=PacketPlayOutOpenWindow, id=48]], gamephase=PLAYING, options=[ASYNC]]
]
com.ehhthan.happyhud.comp.protocollib.ProtocolLibListener$6@7cf70bd0[
  plugin=HappyHUD v0.3.3-SNAPSHOT
  connectionSide=SERVER_SIDE
  receivingWhitelist=EMPTY_WHITELIST
  sendingWhitelist=ListeningWhitelist[priority=HIGHEST, packets=[SYSTEM_CHAT[class=ClientboundSystemChatPacket, id=100]], gamephase=PLAYING, options=[]]
]
ia.nms.aX.impl.s@5094b8ff[
  a=ia.nms.aX.impl.v1_19_R3@73c9b6a
  plugin=ItemsAdder v3.4.1-r3
  connectionSide=SERVER_SIDE
  receivingWhitelist=EMPTY_WHITELIST
  sendingWhitelist=ListeningWhitelist[priority=NORMAL, packets=[RECIPE_UPDATE[class=PacketPlayOutRecipeUpdate, id=109]], gamephase=PLAYING, options=[]]
]
com.Zrips.CMI.AllListeners.ProtocolEvent$1@322ff1dd[
  plugin=CMI v9.5.0.1
  connectionSide=SERVER_SIDE
  receivingWhitelist=EMPTY_WHITELIST
  sendingWhitelist=ListeningWhitelist[priority=HIGH, packets=[UNLOAD_CHUNK[class=PacketPlayOutUnloadChunk, id=30]], gamephase=PLAYING, options=[]]
]
ia.m.hU@59b29b80[
  plugin=ItemsAdder v3.4.1-r3
  connectionSide=CLIENT_SIDE
  receivingWhitelist=ListeningWhitelist[priority=NORMAL, packets=[BLOCK_DIG[class=PacketPlayInBlockDig, id=29]], gamephase=PLAYING, options=[]]
  sendingWhitelist=EMPTY_WHITELIST
]
eu.decentsoftware.holograms.api.nms.PacketHandlerProtocolLib$1@2e29fc1a[
  plugin=DecentHolograms v2.8.1
  connectionSide=CLIENT_SIDE
  receivingWhitelist=ListeningWhitelist[priority=NORMAL, packets=[USE_ENTITY[class=PacketPlayInUseEntity, id=16]], gamephase=PLAYING, options=[ASYNC]]
  sendingWhitelist=EMPTY_WHITELIST
]
com.bergerkiller.bukkit.common.internal.network.ProtocolLibPacketHandler$CommonPacketMonitor@39ba150e[
  monitor=com.bergerkiller.bukkit.common.internal.CommonVehicleMountManager$3@2785e26c
  plugin=BKCommonLib v1.19.4-v1-SNAPSHOT
  types={PacketPlayOutSpawnEntity,PacketPlayOutSpawnEntityLiving,PacketPlayOutNamedEntitySpawn,PacketPlayOutEntityDestroy,PacketPlayOutRespawn}
  receiving=ListeningWhitelist[priority=MONITOR, packets=[], gamephase=PLAYING, options=[ASYNC]]
  sending=ListeningWhitelist[priority=MONITOR, packets=[NAMED_ENTITY_SPAWN[class=PacketPlayOutNamedEntitySpawn, id=3], SPAWN_ENTITY[class=PacketPlayOutSpawnEntity, id=1], RESPAWN[class=PacketPlayOutRespawn, id=65], ENTITY_DESTROY[class=PacketPlayOutEntityDestroy, id=62]], gamephase=PLAYING, options=[ASYNC]]
  eventHasIsTemporaryPlayerMethod=true
  temporaryPlayerClass=class java.lang.String
]
com.archyx.aureliumskills.ui.ActionBarCompatHandler$2@8575a22[
  plugin=AureliumSkills vBeta 1.3.17
  connectionSide=SERVER_SIDE
  receivingWhitelist=EMPTY_WHITELIST
  sendingWhitelist=ListeningWhitelist[priority=MONITOR, packets=[SYSTEM_CHAT[class=ClientboundSystemChatPacket, id=100]], gamephase=PLAYING, options=[]]
]
eu.nononitas.plhidepro.spigot.b.e@2cbb6a8d[
  a={7a68521a-4a47-4b0a-a328-85076c78d1bc=/protocol dump}
  plugin=Pl-Hide-Pro v2.6.9
  connectionSide=BOTH
  receivingWhitelist=ListeningWhitelist[priority=HIGHEST, packets=[TAB_COMPLETE[class=PacketPlayInTabComplete, id=9]], gamephase=PLAYING, options=[ASYNC]]
  sendingWhitelist=ListeningWhitelist[priority=HIGHEST, packets=[TAB_COMPLETE[class=PacketPlayOutTabComplete, id=15]], gamephase=PLAYING, options=[ASYNC]]
]
ia.m.if@6f6031d7[
  b=ia.m.ie@4823c2d1
  plugin=ItemsAdder v3.4.1-r3
  connectionSide=CLIENT_SIDE
  receivingWhitelist=ListeningWhitelist[priority=NORMAL, packets=[UPDATE_SIGN[class=PacketPlayInUpdateSign, id=46]], gamephase=PLAYING, options=[]]
  sendingWhitelist=EMPTY_WHITELIST
]
com.archyx.aureliumskills.ui.ActionBarCompatHandler$4@28405979[
  plugin=AureliumSkills vBeta 1.3.17
  connectionSide=SERVER_SIDE
  receivingWhitelist=EMPTY_WHITELIST
  sendingWhitelist=ListeningWhitelist[priority=MONITOR, packets=[CHAT[class=ClientboundPlayerChatPacket, id=53]], gamephase=PLAYING, options=[]]
]
com.bergerkiller.bukkit.common.internal.network.ProtocolLibPacketHandler$CommonPacketListener@1433960f[
  listener=com.bergerkiller.bukkit.mw.advancement.AdvancementManagerImpl$2@4351c3bc
  plugin=My_Worlds v1.19.3-v3
  types={PacketPlayOutAdvancements}
  receiving=ListeningWhitelist[priority=NORMAL, packets=[], gamephase=PLAYING, options=[ASYNC]]
  sending=ListeningWhitelist[priority=NORMAL, packets=[ADVANCEMENTS[class=PacketPlayOutAdvancements, id=105]], gamephase=PLAYING, options=[ASYNC]]
  eventHasIsTemporaryPlayerMethod=true
  temporaryPlayerClass=class java.lang.String
]
me.casperge.realisticseasons.event.ChunkPacketEventProtocolLib1_19_R3$1@4c863f6[
  plugin=RealisticSeasons v10.4.2
  connectionSide=SERVER_SIDE
  receivingWhitelist=EMPTY_WHITELIST
  sendingWhitelist=ListeningWhitelist[priority=NORMAL, packets=[MAP_CHUNK[class=ClientboundLevelChunkWithLightPacket, id=36]], gamephase=PLAYING, options=[]]
]
com.olziedev.playerwarps.h.c$1@5bb5910a[
  b=com.olziedev.playerwarps.h.c@a02d898
  plugin=PlayerWarps v6.20.0
  connectionSide=CLIENT_SIDE
  receivingWhitelist=ListeningWhitelist[priority=NORMAL, packets=[UPDATE_SIGN[class=PacketPlayInUpdateSign, id=46]], gamephase=PLAYING, options=[]]
  sendingWhitelist=EMPTY_WHITELIST
]

Plugins Using ProtocolLib:
WorldGuardExtraFlags by [isokissa3]
RealisticSeasons by []
AureliumSkills by [Archyx]
Citizens by [fullwall]
HappyHUD by [Ehhthan]
DecentHolograms by [d0by]
BKCommonLib by [bergerkiller, lenis0012, timstans, bubba1234119, KamikazePlatypus, mg_1999, Friwi]
My_Worlds by [KamikazePlatypus, mg_1999, Friwi, bergerkiller, lenis0012, timstans, bubba1234119]
PlayerWarps by [Olzie]
Pl-Hide-Pro by [Nononitas]
UltraCustomizer by [Tech]
Interactions by [Ajneb97]
MyCommand by [emmerrei (ivanfromitaly)]
CMI by [Zrips]
ItemsAdder by [LoneDev]
commented

Apparently, a packet handle in the bundle packet seems to be null. I currently have no clue how this can be caused.
I improved the error handling so we can get a better insight in what's going wrong here.

Please try to use this version of ProtocolLib https://github.com/lukalt/ProtocolLib/suites/11944629428/artifacts/626109069 and run the server until it crashes. Then please share the server log and protocollib dump with us @Sixsoul.

As the problem is caused by the entity spawn bundle, the problem might be caused by BKCommonLib. I assume that plugin is closed source but maybe you can share the PacketAdapter subclasses with us.

commented

That's good to hear. Along with the debug changes, I also prevented the server from crashing and printing a warning to the log instead. However, this does not fix the underlying problem.
Could you please scan your log file for one of the following messages and send me the corresponding part of the log:

"Failed to invoke packet event"
"null packet container returned for"
"null packet handle returned for"
"Failed to process"
"packet cannot be null"

commented

In 24 hours of uptime, I've CTRL+F'd all of the phrases above and don't have even one somehow.