ProtocolLib

3M Downloads

Couldn't place player in world

BaiShenYaoDog opened this issue · 1 comments

commented
  • This issue is not solved in a development build

Describe the bug
There is a probability of disconnection when players join the server and receive a prompt saying 'Invalid player data'

To Reproduce
Steps to reproduce the behavior:

  1. Join server
  2. See error

Expected behavior
There is a probability of disconnection when players join the server and receive a prompt saying 'Invalid player data'

Screenshots
none

Version Info
dump-2024-07-29_13.44.09.txt

Additional context
error log:
[13:37:25 INFO]: UUID of player BaiShenYao_Dog is b27d8cc6-e439-355c-b914-b3e4368a8519 [13:37:25 ERROR]: Couldn't place player in world net.minecraft.ReportedException: Sending packet at net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:2225) ~[?:?] at net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:2203) ~[?:?] at net.minecraft.server.players.PlayerList.placeNewPlayer(PlayerList.java:295) ~[paper-1.20.1.jar:git-Paper-196] at net.minecraft.server.network.ServerLoginPacketListenerImpl.placeNewPlayer(ServerLoginPacketListenerImpl.java:202) ~[?:?] at net.minecraft.server.network.ServerLoginPacketListenerImpl.handleAcceptedLogin(ServerLoginPacketListenerImpl.java:183) ~[?:?] at net.minecraft.server.network.ServerLoginPacketListenerImpl.tick(ServerLoginPacketListenerImpl.java:85) ~[?:?] at net.minecraft.network.Connection.tick(Connection.java:602) ~[?:?] at net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:234) ~[?:?] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1586) ~[paper-1.20.1.jar:git-Paper-196] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:446) ~[paper-1.20.1.jar:git-Paper-196] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1393) ~[paper-1.20.1.jar:git-Paper-196] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1170) ~[paper-1.20.1.jar:git-Paper-196] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.20.1.jar:git-Paper-196] at java.lang.Thread.run(Thread.java:1583) ~[?:?] Caused by: java.lang.NullPointerException: type cannot be null at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:907) ~[guava-31.1-jre.jar:?] at com.comphenix.protocol.injector.StructureCache.getStructure(StructureCache.java:138) ~[[数据库管理]ProtocolLib.jar:?] at com.comphenix.protocol.events.PacketContainer.<init>(PacketContainer.java:126) ~[[数据库管理]ProtocolLib.jar:?] at com.comphenix.protocol.injector.netty.manager.NetworkManagerInjector.onPacketSending(NetworkManagerInjector.java:96) ~[[数据库管理]ProtocolLib.jar:?] at com.comphenix.protocol.injector.netty.channel.NettyChannelInjector.processOutbound(NettyChannelInjector.java:553) ~[[数据库管理]ProtocolLib.jar:?] at com.comphenix.protocol.injector.netty.channel.NettyChannelInjector$2.doProxyRunnable(NettyChannelInjector.java:456) ~[[数据库管理]ProtocolLib.jar:?] at com.comphenix.protocol.injector.netty.channel.NettyEventLoopProxy.proxyRunnable(NettyEventLoopProxy.java:43) ~[[数据库管理]ProtocolLib.jar:?] at com.comphenix.protocol.injector.netty.channel.NettyEventLoopProxy.execute(NettyEventLoopProxy.java:252) ~[[数据库管理]ProtocolLib.jar:?] at net.minecraft.network.Connection.sendPacket(Connection.java:449) ~[?:?] at net.minecraft.network.Connection.send(Connection.java:392) ~[?:?] at net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:2217) ~[?:?] ... 13 more [13:37:25 INFO]: BaiShenYao_Dog lost connection: Invalid player data

commented

We have the same issue since today. Yesterday was the server still working, and the only Plugins that got an Update tonight are floodgate, Spartan and ViaVersion.
Error in the log is the same as above (type cannot be null at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:907) ~[guava-31.1-jre.jar:?]).
dump-2024-08-13_18.01.51.txt