ProtocolLib Bug
Monuking0928 opened this issue ยท 0 comments
Describe the bug
java.lang.IllegalArgumentException: Unable to find a field null with the type com.mojang.authlib.GameProfile in net.minecraft.network.protocol.login.PacketLoginInStart
at com.comphenix.protocol.reflect.FuzzyReflection.getFieldByType(FuzzyReflection.java:397)
at com.comphenix.protocol.reflect.accessors.Accessors.getFieldAccessor(Accessors.java:57)
at com.comphenix.protocol.injector.netty.ChannelInjector.handleLogin(ChannelInjector.java:658)
at com.comphenix.protocol.injector.netty.ChannelInjector.decode(ChannelInjector.java:591)
at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:510)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:449)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at com.comphenix.protocol.injector.netty.ChannelInjector$2.channelRead(ChannelInjector.java:292)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:299)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
at io.netty.channel.local.LocalChannel.readInbound(LocalChannel.java:299)
at io.netty.channel.local.LocalChannel.doBeginRead(LocalChannel.java:322)
at io.netty.channel.AbstractChannel$AbstractUnsafe.beginRead(AbstractChannel.java:834)
at io.netty.channel.DefaultChannelPipeline$HeadContext.read(DefaultChannelPipeline..java:1362)
at io.netty.channel.AbstractChannelHandlerContext.invokeRead(AbstractChannelHandlerContext.java:686)
at io.netty.channel.AbstractChannelHandlerContext.read(AbstractChannelHandlerContext.java:671)
at io.netty.channel.DefaultChannelPipeline.read(DefaultChannelPipeline.java:1004)
at io.netty.channel.AbstractChannel.read(AbstractChannel.java:290)
at org.geysermc.geyser.network.netty.ChannelWrapper.read(ChannelWrapper.java:197)
at io.netty.channel.DefaultChannelPipeline$HeadContext.readIfIsAutoRead(DefaultChannelPipeline.java:1422)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelReadComplete(DefaultChannelPipeline.java:1417)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelReadComplete(AbstractChannelHandlerContext.java:410)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelReadComplete(AbstractChannelHandlerContext.java:397)
at io.netty.channel.DefaultChannelPipeline.fireChannelReadComplete(DefaultChannelPipeline.java:925)
at io.netty.channel.local.LocalChannel.readInbound(LocalChannel.java:302)
at io.netty.channel.local.LocalChannel.finishPeerRead0(LocalChannel.java:445)
at io.netty.channel.local.LocalChannel.access$400(LocalChannel.java:50)
at io.netty.channel.local.LocalChannel$5.run(LocalChannel.java:403)
at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174)
at io.netty.channel.DefaultEventLoop.run(DefaultEventLoop.java:54)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:833)
Dump:
Parameters:
io.netty.buffer.PooledUnsafeDirectByteBuf@5af5f370[
memoryAddress=139654955646992
recyclerHandle=io.netty.util.Recycler$DefaultHandle@51da4479
chunk=Chunk(3c77df22: 1%, 24576/4194304)
handle=1125929971613696
memory=java.nio.DirectByteBuffer[pos=0 lim=4194304 cap=4194304]
offset=16384
length=1
maxLength=16
cache=io.netty.buffer.PoolThreadCache@126c28e9
tmpNioBuf=
allocator=PooledByteBufAllocator(directByDefault: true)
refCnt=2
readerIndex=1
writerIndex=1
markedReaderIndex=0
markedWriterIndex=0
maxCapacity=2147483647
]
manager:
com.comphenix.protocol.injector.PacketFilterManager@668113c0[
unhookTask=com.comphenix.protocol.injector.DelayedSingleTask@15595499
packetListeners=[PacketAdapter[plugin=PluginVanisher, sending=ListeningWhitelist[priority=NORMAL, packets=[CHAT[PLAY, SERVER, 15, classNames: [net.minecraft.network.protocol.game.PacketPlayOutChat, net.minecraft.network.protocol.game.ClientboundChatPacket, net.minecraft.network.play.server.SPacketChat] (unregistered)]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=PluginVanisher, sending=EMPTY_WHITELIST, receiving=ListeningWhitelist[priority=NORMAL, packets=[TAB_COMPLETE[class=PacketPlayInTabComplete, id=6]], gamephase=PLAYING, options=[]]]]
packetInjector=com.comphenix.protocol.injector.netty.ProtocolInjector$5@4b4d938a
playerInjection=com.comphenix.protocol.injector.netty.ProtocolInjector$4@45bb5c71
inputBufferedPackets=[]
recievedListeners=com.comphenix.protocol.injector.SortedPacketListenerList@2bca5815
sendingListeners=com.comphenix.protocol.injector.SortedPacketListenerList@74683c69
hasClosed=false
classLoader=org.bukkit.plugin.java.PluginClassLoader@5780fe21
reporter=com.comphenix.protocol.ProtocolLib$1@539e20ad
server=CraftServer{serverName=CraftBukkit,serverVersion=3563-Spigot-2183145-1e3bf58,minecraftVersion=1.19.1}
library=ProtocolLib v4.8.0
asyncFilterManager=com.comphenix.protocol.async.AsyncFilterManager@352a4515
knowsServerPackets=true
knowsClientPackets=true
phaseLoginCount=0
phasePlayingCount=2
packetCreation=false
nettyInjector=com.comphenix.protocol.injector.netty.ProtocolInjector@4423948a
pluginVerifier=com.comphenix.protocol.injector.PluginVerifier@61f7b967
hasRecycleDistance=true
minecraftVersion=(MC: 1.19.1)
debug=false
]
Sender:
com.comphenix.protocol.injector.netty.ChannelInjector@2869cdbc[
decodeBuffer=protected void com.viaversion.viaversion.bukkit.handlers.BukkitDecodeHandler.decode(io.netty.channel.ChannelHandlerContext,io.netty.buffer.ByteBuf,java.util.List) throws java.lang.Exception
encodeBuffer=protected void com.viaversion.viaversion.bukkit.handlers.BukkitEncodeHandler.encode(io.netty.channel.ChannelHandlerContext,java.lang.Object,io.netty.buffer.ByteBuf) throws java.lang.Exception
factory=com.comphenix.protocol.injector.netty.InjectionFactory@3c782c37
player=com.comphenix.protocol.injector.server.TemporaryPlayerInvocationHandler@5a9a0229
updated=
playerName=
playerConnection=
networkManager=net.minecraft.network.NetworkManager@5c177b87
originalChannel=org.geysermc.geyser.network.netty.ChannelWrapper@a42a526
channelField=VolatileField [accessor=DefaultFieldAccessor [field=public io.netty.channel.Channel net.minecraft.network.NetworkManager.m], container=net.minecraft.network.NetworkManager@5c177b87, previous=org.geysermc.geyser.network.netty.ChannelWrapper@a42a526, current=com.comphenix.protocol.injector.netty.ChannelInjector$3@5a11971, previousLoaded=true, currentSet=true, forceAccess=true]
packetMarker={}
currentEvent=
finalEvent=
unfilteredProcessedPackets=com.comphenix.protocol.injector.netty.PacketFilterQueue@f20d8a6
vanillaDecoder=com.viaversion.viaversion.bukkit.handlers.BukkitDecodeHandler@680c5186
vanillaEncoder=com.viaversion.viaversion.bukkit.handlers.BukkitEncodeHandler@3cc30c06
finishQueue=[]
channelListener=com.comphenix.protocol.injector.netty.ProtocolInjector@4423948a
processor=com.comphenix.protocol.injector.NetworkProcessor@3848fb04
injected=true
closed=false
cumulation=PooledUnsafeDirectByteBuf(ridx: 1, widx: 1, cap: 1)
cumulator=io.netty.handler.codec.ByteToMessageDecoder$1@32421dea
singleDecode=false
first=true
firedChannelRead=false
selfFiredChannelRead=true
decodeState=1
discardAfterReads=16
numReads=0
added=true
]
Version:
ProtocolLib v4.8.0
Java Version:
...
Server:
3563-Spigot-2183145-1e3bf58 (MC: 1.19.1)