ProtocolLib

3M Downloads

Error: Unable to intercept a read client packet

alankasprzyk23 opened this issue ยท 1 comments

commented

Debug paste link (dump): https://pastebin.com/R1fi9mUG

Description and relevant errors:

Every like 10 seconds or so this message pops up in the chat and console:

[21:58:39] [Netty Server IO #3/WARN]: [ProtocolLib] [DetailedErrorReporter] Internal exception count: 2048!
[21:58:39] [Netty Server IO #3/INFO]: Error Unable to intercept a read client packet. (java.lang.IllegalArgumentException: Unable to find a field null with the type com.mojang.authlib.GameProfile in net.minecraft.network.protocol.login.PacketLoginInStart) occured in com.comphenix.protocol.injector.netty.ChannelInjector@1d327788.
[21:58:39] [Netty Server IO #3/ERROR]: [ProtocolLib] INTERNAL ERROR: Unable to intercept a read client packet.
If this problem hasn't already been reported, please open a ticket
at https://github.com/dmulloy2/ProtocolLib/issues with the following data:
Stack Trace:
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 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 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.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
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.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at java.base/java.lang.Thread.run(Thread.java:833)
Dump:
Parameters:
io.netty.buffer.PooledUnsafeDirectByteBuf@53193d08[
memoryAddress=1927542657136
recyclerHandle=io.netty.util.Recycler$DefaultHandle@57d34a7
chunk=Chunk(18bef80a: 16%, 630784/4194304)
handle=18577412887412737
memory=java.nio.DirectByteBuffer[pos=0 lim=4194304 cap=4194304]
offset=270384
length=34
maxLength=48
cache=io.netty.buffer.PoolThreadCache@5ab0e526
tmpNioBuf=
allocator=PooledByteBufAllocator(directByDefault: true)
refCnt=2
readerIndex=34
writerIndex=34
markedReaderIndex=0
markedWriterIndex=0
maxCapacity=2147483647
]
manager:
com.comphenix.protocol.injector.PacketFilterManager@89cd902[
unhookTask=com.comphenix.protocol.injector.DelayedSingleTask@5fca62cf
packetListeners=[]
packetInjector=com.comphenix.protocol.injector.netty.ProtocolInjector$5@75107df4
playerInjection=com.comphenix.protocol.injector.netty.ProtocolInjector$4@4b34cce
inputBufferedPackets=[]
recievedListeners=com.comphenix.protocol.injector.SortedPacketListenerList@105034e5
sendingListeners=com.comphenix.protocol.injector.SortedPacketListenerList@e9bdf1d
hasClosed=false
classLoader=org.bukkit.plugin.java.PluginClassLoader@3f89e61b
reporter=com.comphenix.protocol.ProtocolLib$1@15fb570c
server=CraftServer{serverName=CraftBukkit,serverVersion=3577-Spigot-450dcaa-a73b358,minecraftVersion=1.19.2}
library=ProtocolLib v4.8.0
asyncFilterManager=com.comphenix.protocol.async.AsyncFilterManager@3b1c1196
knowsServerPackets=true
knowsClientPackets=true
phaseLoginCount=0
phasePlayingCount=1
packetCreation=true
nettyInjector=com.comphenix.protocol.injector.netty.ProtocolInjector@438da6ba
pluginVerifier=com.comphenix.protocol.injector.PluginVerifier@4eab89d8
hasRecycleDistance=true
minecraftVersion=(MC: 1.19.2)
debug=false
]
Sender:
com.comphenix.protocol.injector.netty.ChannelInjector@1d327788[
decodeBuffer=protected void net.minecraft.network.PacketDecoder.decode(io.netty.channel.ChannelHandlerContext,io.netty.buffer.ByteBuf,java.util.List) throws java.lang.Exception
encodeBuffer=protected void net.minecraft.network.PacketEncoder.encode(io.netty.channel.ChannelHandlerContext,java.lang.Object,io.netty.buffer.ByteBuf) throws java.lang.Exception
factory=com.comphenix.protocol.injector.netty.InjectionFactory@7ff14207
player=CraftPlayer{name=4L4N_}
updated=
playerName=4L4N_
playerConnection=net.minecraft.server.network.PlayerConnection@6b95d221
networkManager=net.minecraft.network.NetworkManager@3ba97bb
originalChannel=[id: 0x9b51e443, L:/127.0.0.1:25565 - R:/127.0.0.1:1319]
channelField=VolatileField [accessor=DefaultFieldAccessor [field=public io.netty.channel.Channel net.minecraft.network.NetworkManager.m], container=net.minecraft.network.NetworkManager@3ba97bb, previous=[id: 0x9b51e443, L:/127.0.0.1:25565 - R:/127.0.0.1:1319], current=com.comphenix.protocol.injector.netty.ChannelInjector$3@507e795f, previousLoaded=true, currentSet=true, forceAccess=true]
packetMarker={}
currentEvent=
finalEvent=
unfilteredProcessedPackets=com.comphenix.protocol.injector.netty.PacketFilterQueue@66071070
vanillaDecoder=net.minecraft.network.PacketDecoder@31d75444
vanillaEncoder=net.minecraft.network.PacketEncoder@19d84662
finishQueue=[]
channelListener=com.comphenix.protocol.injector.netty.ProtocolInjector@438da6ba
processor=com.comphenix.protocol.injector.NetworkProcessor@6495632e
injected=true
closed=false
cumulation=PooledUnsafeDirectByteBuf(ridx: 34, widx: 34, cap: 34)
cumulator=io.netty.handler.codec.ByteToMessageDecoder$1@130644fc
singleDecode=false
first=true
firedChannelRead=true
selfFiredChannelRead=true
decodeState=1
discardAfterReads=16
numReads=0
added=true
]
Version:
ProtocolLib v4.8.0
Java Version:
18.0.1.1
Server:
3577-Spigot-450dcaa-a73b358 (MC: 1.19.2)

It dosen't affect the game, its just annoying. Is there a way to disable this?

commented

Use the latest development build from https://ci.dmulloy2.net/job/ProtocolLib/lastSuccessfulBuild/ to get 1.19 support