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@7f3bfc64.
rhotem opened this issue ยท 0 comments
Describe the bug
spams the console and player's chat with:
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@7f3bfc64.
09.12 09:59:02 [Server] [ERROR] [ProtocolLib] INTERNAL [ERROR]: Unable to intercept a read client packet.
09.12 09:59:02 [Server] [INFO] If this problem hasn't already been reported, please open a ticket
09.12 09:59:02 [Server] [INFO] at https://github.com/dmulloy2/ProtocolLib/issues with the following data:
09.12 09:59:02 [Server] [INFO] Stack Trace:
09.12 09:59:02 [Server] [INFO] java.lang.IllegalArgumentException: Unable to find a field null with the type com.mojang.authlib.GameProfile in net.minecraft.network.protocol.login.PacketLoginInStart
09.12 09:59:02 [Server] [INFO] at ProtocolLib.jar//com.comphenix.protocol.reflect.FuzzyReflection.getFieldByType(FuzzyReflection.java:397)
09.12 09:59:02 [Server] [INFO] at ProtocolLib.jar//com.comphenix.protocol.reflect.accessors.Accessors.getFieldAccessor(Accessors.java:57)
09.12 09:59:02 [Server] [INFO] at ProtocolLib.jar//com.comphenix.protocol.injector.netty.ChannelInjector.handleLogin(ChannelInjector.java:658)
09.12 09:59:02 [Server] [INFO] at ProtocolLib.jar//com.comphenix.protocol.injector.netty.ChannelInjector.decode(ChannelInjector.java:591)
09.12 09:59:02 [Server] [INFO] at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:510)
09.12 09:59:02 [Server] [INFO] at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:449)
09.12 09:59:02 [Server] [INFO] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
09.12 09:59:02 [Server] [INFO] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327)
09.12 09:59:02 [Server] [INFO] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:299)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
09.12 09:59:02 [Server] [INFO] at ProtocolLib.jar//com.comphenix.protocol.injector.netty.ChannelInjector$2.channelRead(ChannelInjector.java:292)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
09.12 09:59:02 [Server] [INFO] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327)
09.12 09:59:02 [Server] [INFO] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:299)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
09.12 09:59:02 [Server] [INFO] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
09.12 09:59:02 [Server] [INFO] at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
09.12 09:59:02 [Server] [INFO] at io.netty.handler.flush.FlushConsolidationHandler.channelRead(FlushConsolidationHandler.java:152)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:487)
09.12 09:59:02 [Server] [INFO] at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:385)
09.12 09:59:02 [Server] [INFO] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995)
09.12 09:59:02 [Server] [INFO] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
09.12 09:59:02 [Server] [INFO] at java.base/java.lang.Thread.run(Thread.java:831)
09.12 09:59:02 [Server] [INFO] Dump:
09.12 09:59:02 [Server] [INFO] Parameters:
09.12 09:59:02 [Server] [INFO] io.netty.buffer.PooledUnsafeDirectByteBuf@25da4fed[
09.12 09:59:02 [Server] [INFO] memoryAddress=140555086988944
09.12 09:59:02 [Server] [INFO] recyclerHandle=io.netty.util.Recycler$DefaultHandle@48191113
09.12 09:59:02 [Server] [INFO] chunk=Chunk(51ee6477: 28%, 1163264/4194304)
09.12 09:59:02 [Server] [INFO] handle=29273462002417665
09.12 09:59:02 [Server] [INFO] memory=java.nio.DirectByteBuffer[pos=0 lim=4194304 cap=4194304]
09.12 09:59:02 [Server] [INFO] offset=426032
09.12 09:59:02 [Server] [INFO] length=34
09.12 09:59:02 [Server] [INFO] maxLength=48
09.12 09:59:02 [Server] [INFO] cache=io.netty.buffer.PoolThreadCache@2e95a716
09.12 09:59:02 [Server] [INFO] tmpNioBuf=
09.12 09:59:02 [Server] [INFO] allocator=PooledByteBufAllocator(directByDefault: true)
09.12 09:59:02 [Server] [INFO] refCnt=2
09.12 09:59:02 [Server] [INFO] readerIndex=34
09.12 09:59:02 [Server] [INFO] writerIndex=34
09.12 09:59:02 [Server] [INFO] markedReaderIndex=0
09.12 09:59:02 [Server] [INFO] markedWriterIndex=0
09.12 09:59:02 [Server] [INFO] maxCapacity=2147483647
09.12 09:59:02 [Server] [INFO] ]
09.12 09:59:02 [Server] [INFO] manager:
09.12 09:59:02 [Server] [INFO] com.comphenix.protocol.injector.PacketFilterManager@778caa0f[
09.12 09:59:02 [Server] [INFO] unhookTask=com.comphenix.protocol.injector.DelayedSingleTask@7f38cc79
09.12 09:59:02 [Server] [INFO] packetListeners=[]
09.12 09:59:02 [Server] [INFO] packetInjector=com.comphenix.protocol.injector.netty.ProtocolInjector$5@4fc57333
09.12 09:59:02 [Server] [INFO] playerInjection=com.comphenix.protocol.injector.netty.ProtocolInjector$4@576d4f7e
09.12 09:59:02 [Server] [INFO] inputBufferedPackets=[]
09.12 09:59:02 [Server] [INFO] recievedListeners=com.comphenix.protocol.injector.SortedPacketListenerList@45a35b4e
09.12 09:59:02 [Server] [INFO] sendingListeners=com.comphenix.protocol.injector.SortedPacketListenerList@7cc11c87
09.12 09:59:02 [Server] [INFO] hasClosed=false
09.12 09:59:02 [Server] [INFO] classLoader=PluginClassLoader{plugin=ProtocolLib v4.8.0, pluginEnabled=true, url=plugins/ProtocolLib.jar}
09.12 09:59:02 [Server] [INFO] reporter=com.comphenix.protocol.ProtocolLib$1@18f9b4c7
09.12 09:59:02 [Server] [INFO] server=CraftServer{serverName=Paper,serverVersion=git-Paper-271,minecraftVersion=1.19.2}
09.12 09:59:02 [Server] [INFO] library=ProtocolLib v4.8.0
09.12 09:59:02 [Server] [INFO] asyncFilterManager=com.comphenix.protocol.async.AsyncFilterManager@7af458d6
09.12 09:59:02 [Server] [INFO] knowsServerPackets=true
09.12 09:59:02 [Server] [INFO] knowsClientPackets=true
09.12 09:59:02 [Server] [INFO] phaseLoginCount=0
09.12 09:59:02 [Server] [INFO] phasePlayingCount=0
09.12 09:59:02 [Server] [INFO] packetCreation=false
09.12 09:59:02 [Server] [INFO] nettyInjector=com.comphenix.protocol.injector.netty.ProtocolInjector@36d2bcf7
09.12 09:59:02 [Server] [INFO] pluginVerifier=com.comphenix.protocol.injector.PluginVerifier@12e2a018
09.12 09:59:02 [Server] [INFO] hasRecycleDistance=true
09.12 09:59:02 [Server] [INFO] minecraftVersion=(MC: 1.19.2)
09.12 09:59:02 [Server] [INFO] debug=false
09.12 09:59:02 [Server] [INFO] ]
09.12 09:59:02 [Server] [INFO] Sender:
09.12 09:59:02 [Server] [INFO] com.comphenix.protocol.injector.netty.ChannelInjector@7f3bfc64[
09.12 09:59:02 [Server] [INFO] decodeBuffer=protected void net.minecraft.network.PacketDecoder.decode(io.netty.channel.ChannelHandlerContext,io.netty.buffer.ByteBuf,java.util.List) throws java.lang.Exception
09.12 09:59:02 [Server] [INFO] encodeBuffer=protected void net.minecraft.network.PacketEncoder.encode(io.netty.channel.ChannelHandlerContext,java.lang.Object,io.netty.buffer.ByteBuf) throws java.lang.Exception
09.12 09:59:02 [Server] [INFO] factory=com.comphenix.protocol.injector.netty.InjectionFactory@3b14539b
09.12 09:59:02 [Server] [INFO] player=CraftPlayer{name=Rhotem}
09.12 09:59:02 [Server] [INFO] updated=
09.12 09:59:02 [Server] [INFO] playerName=Rhotem
09.12 09:59:02 [Server] [INFO] playerConnection=
09.12 09:59:02 [Server] [INFO] networkManager=net.minecraft.network.NetworkManager@5300f53e
09.12 09:59:02 [Server] [INFO] originalChannel=[id: 0x392566f2, L:/172.17.0.5:25565 - R:/185.110.110.103:55472]
09.12 09:59:02 [Server] [INFO] channelField=VolatileField [accessor=DefaultFieldAccessor [field=public io.netty.channel.Channel net.minecraft.network.NetworkManager.m], container=net.minecraft.network.NetworkManager@5300f53e, previous=[id: 0x392566f2, L:/172.17.0.5:25565 - R:/185.110.110.103:55472], current=com.comphenix.protocol.injector.netty.ChannelInjector$3@72414ad9, previousLoaded=true, currentSet=true, forceAccess=true]
09.12 09:59:02 [Server] [INFO] packetMarker={}
09.12 09:59:02 [Server] [INFO] currentEvent=
09.12 09:59:02 [Server] [INFO] finalEvent=
09.12 09:59:02 [Server] [INFO] unfilteredProcessedPackets=com.comphenix.protocol.injector.netty.PacketFilterQueue@52394029
09.12 09:59:02 [Server] [INFO] vanillaDecoder=net.minecraft.network.PacketDecoder@6c4f655
09.12 09:59:02 [Server] [INFO] vanillaEncoder=net.minecraft.network.PacketEncoder@852b83e
09.12 09:59:02 [Server] [INFO] finishQueue=[]
09.12 09:59:02 [Server] [INFO] channelListener=com.comphenix.protocol.injector.netty.ProtocolInjector@36d2bcf7
09.12 09:59:02 [Server] [INFO] processor=com.comphenix.protocol.injector.NetworkProcessor@681d1249
09.12 09:59:02 [Server] [INFO] injected=true
09.12 09:59:02 [Server] [INFO] closed=false
09.12 09:59:02 [Server] [INFO] cumulation=PooledUnsafeDirectByteBuf(ridx: 34, widx: 34, cap: 34)
09.12 09:59:02 [Server] [INFO] cumulator=io.netty.handler.codec.ByteToMessageDecoder$1@4cd01df8
09.12 09:59:02 [Server] [INFO] singleDecode=false
09.12 09:59:02 [Server] [INFO] first=true
09.12 09:59:02 [Server] [INFO] firedChannelRead=false
09.12 09:59:02 [Server] [INFO] selfFiredChannelRead=true
09.12 09:59:02 [Server] [INFO] decodeState=1
09.12 09:59:02 [Server] [INFO] discardAfterReads=16
09.12 09:59:02 [Server] [INFO] numReads=0
09.12 09:59:02 [Server] [INFO] added=true
09.12 09:59:02 [Server] [INFO] ]
09.12 09:59:02 [Server] [INFO] Version:
09.12 09:59:02 [Server] [INFO] ProtocolLib v4.8.0
09.12 09:59:02 [Server] [INFO] Java Version:
09.12 09:59:02 [Server] Startup17
09.12 09:59:02 [Server] [INFO] Server:
09.12 09:59:02 [Server] [INFO] git-Paper-271 (MC: 1.19.2)
To Reproduce
Steps to reproduce the behavior:
Install the plugin
Version Info
Provide your ProtocolLib install info with /protocol dump
through pastebin.
https://pastebin.com/KuPBNyJ4