ProtocolLib

3M Downloads

java.lang.IllegalArgumentException: Unable to find a field null with the type com.mojang.authlib.GameProfile in net.minecraft.network.protocol.login.PacketLoginInStart

jotonedev opened this issue ยท 2 comments

commented

ProtocolLib version: 4.8.0
MC version: 1.19.0
Paper version: 39
Plugins using ProtocolLib: AuthMe and FastLogin

Jun 29 14:11:54 arm-server-01 java[7193]: [14:11:54 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@69cb1e5.
Jun 29 14:11:54 arm-server-01 java[7193]: [14:11:54 ERROR]:   [ProtocolLib] INTERNAL ERROR: Unable to intercept a read client packet.
Jun 29 14:11:54 arm-server-01 java[7193]:   If this problem hasn't already been reported, please open a ticket
Jun 29 14:11:54 arm-server-01 java[7193]:   at https://github.com/dmulloy2/ProtocolLib/issues with the following data:
Jun 29 14:11:54 arm-server-01 java[7193]:   Stack Trace:
Jun 29 14:11:54 arm-server-01 java[7193]:   java.lang.IllegalArgumentException: Unable to find a field null with the type com.mojang.authlib.GameProfile in net.minecraft.network.protocol.login.PacketLoginInStart
Jun 29 14:11:54 arm-server-01 java[7193]:           at ProtocolLib.jar//com.comphenix.protocol.reflect.FuzzyReflection.getFieldByType(FuzzyReflection.java:397)
Jun 29 14:11:54 arm-server-01 java[7193]:           at ProtocolLib.jar//com.comphenix.protocol.reflect.accessors.Accessors.getFieldAccessor(Accessors.java:57)
Jun 29 14:11:54 arm-server-01 java[7193]:           at ProtocolLib.jar//com.comphenix.protocol.injector.netty.ChannelInjector.handleLogin(ChannelInjector.java:658)
Jun 29 14:11:54 arm-server-01 java[7193]:           at ProtocolLib.jar//com.comphenix.protocol.injector.netty.ChannelInjector.decode(ChannelInjector.java:591)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:510)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:449)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
Jun 29 14:11:54 arm-server-01 java[7193]:           at ProtocolLib.jar//com.comphenix.protocol.injector.netty.ChannelInjector$2.channelRead(ChannelInjector.java:292)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:327)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:299)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.handler.flush.FlushConsolidationHandler.channelRead(FlushConsolidationHandler.java:152)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:487)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:385)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995)
Jun 29 14:11:54 arm-server-01 java[7193]:           at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
Jun 29 14:11:54 arm-server-01 java[7193]:           at java.base/java.lang.Thread.run(Thread.java:833)
Jun 29 14:11:54 arm-server-01 java[7193]:   Dump:
Jun 29 14:11:54 arm-server-01 java[7193]:   Parameters:
Jun 29 14:11:54 arm-server-01 java[7193]:     io.netty.buffer.PooledUnsafeDirectByteBuf@45147292[
Jun 29 14:11:54 arm-server-01 java[7193]:       memoryAddress=281472359568624
Jun 29 14:11:54 arm-server-01 java[7193]:       recyclerHandle=NOOP_HANDLE
Jun 29 14:11:54 arm-server-01 java[7193]:       chunk=Chunk(4a9d0ea5: 3%, 98304/4194304)
Jun 29 14:11:54 arm-server-01 java[7193]:       handle=2814882911092736
Jun 29 14:11:54 arm-server-01 java[7193]:       memory=java.nio.DirectByteBuffer[pos=0 lim=4194304 cap=4194304]
Jun 29 14:11:54 arm-server-01 java[7193]:       offset=40960
Jun 29 14:11:54 arm-server-01 java[7193]:       length=832
Jun 29 14:11:54 arm-server-01 java[7193]:       maxLength=896
Jun 29 14:11:54 arm-server-01 java[7193]:       cache=io.netty.buffer.PoolThreadCache@665f8f29
Jun 29 14:11:54 arm-server-01 java[7193]:       tmpNioBuf=<null>
Jun 29 14:11:54 arm-server-01 java[7193]:       allocator=PooledByteBufAllocator(directByDefault: true)
Jun 29 14:11:54 arm-server-01 java[7193]:       refCnt=2
Jun 29 14:11:54 arm-server-01 java[7193]:       readerIndex=832
Jun 29 14:11:54 arm-server-01 java[7193]:       writerIndex=832
Jun 29 14:11:54 arm-server-01 java[7193]:       markedReaderIndex=0
Jun 29 14:11:54 arm-server-01 java[7193]:       markedWriterIndex=0
Jun 29 14:11:54 arm-server-01 java[7193]:       maxCapacity=2147483647
Jun 29 14:11:54 arm-server-01 java[7193]:     ]
Jun 29 14:11:54 arm-server-01 java[7193]:     manager:
Jun 29 14:11:54 arm-server-01 java[7193]:       com.comphenix.protocol.injector.PacketFilterManager@61da7a[
Jun 29 14:11:54 arm-server-01 java[7193]:         unhookTask=com.comphenix.protocol.injector.DelayedSingleTask@1a5d2b98
Jun 29 14:11:54 arm-server-01 java[7193]:         packetListeners=[PacketAdapter[plugin=AuthMe, sending=ListeningWhitelist[priority=NORMAL, packets=[SET_SLOT[class=PacketPlayOutSetSlot, id=22], WINDOW_ITEMS[class=PacketPlayOutWindowItems, id=20]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], com.comphenix.protocol.async.NullPacketListener@79cf7871]
Jun 29 14:11:54 arm-server-01 java[7193]:         packetInjector=com.comphenix.protocol.injector.netty.ProtocolInjector$5@93799ac
Jun 29 14:11:54 arm-server-01 java[7193]:         playerInjection=com.comphenix.protocol.injector.netty.ProtocolInjector$4@73635646
Jun 29 14:11:54 arm-server-01 java[7193]:         inputBufferedPackets=[]
Jun 29 14:11:54 arm-server-01 java[7193]:         recievedListeners=com.comphenix.protocol.injector.SortedPacketListenerList@7d5ff05a
Jun 29 14:11:54 arm-server-01 java[7193]:         sendingListeners=com.comphenix.protocol.injector.SortedPacketListenerList@e2d1582
Jun 29 14:11:54 arm-server-01 java[7193]:         hasClosed=false
Jun 29 14:11:54 arm-server-01 java[7193]:         classLoader=PluginClassLoader{plugin=ProtocolLib v4.8.0, pluginEnabled=true, url=plugins/ProtocolLib.jar}
Jun 29 14:11:54 arm-server-01 java[7193]:         reporter=com.comphenix.protocol.ProtocolLib$1@3b621712
Jun 29 14:11:54 arm-server-01 java[7193]:         server=CraftServer{serverName=Paper,serverVersion=git-Paper-39,minecraftVersion=1.19}
Jun 29 14:11:54 arm-server-01 java[7193]:         library=ProtocolLib v4.8.0
Jun 29 14:11:54 arm-server-01 java[7193]:         asyncFilterManager=com.comphenix.protocol.async.AsyncFilterManager@5005406f
Jun 29 14:11:54 arm-server-01 java[7193]:         knowsServerPackets=true
Jun 29 14:11:54 arm-server-01 java[7193]:         knowsClientPackets=true
Jun 29 14:11:54 arm-server-01 java[7193]:         phaseLoginCount=1
Jun 29 14:11:54 arm-server-01 java[7193]:         phasePlayingCount=2
Jun 29 14:11:54 arm-server-01 java[7193]:         packetCreation=false
Jun 29 14:11:54 arm-server-01 java[7193]:         nettyInjector=com.comphenix.protocol.injector.netty.ProtocolInjector@60081c03
Jun 29 14:11:54 arm-server-01 java[7193]:         pluginVerifier=com.comphenix.protocol.injector.PluginVerifier@40bd9b74
Jun 29 14:11:54 arm-server-01 java[7193]:         hasRecycleDistance=true
Jun 29 14:11:54 arm-server-01 java[7193]:         minecraftVersion=(MC: 1.19.0)
Jun 29 14:11:54 arm-server-01 java[7193]:         debug=false
Jun 29 14:11:54 arm-server-01 java[7193]:       ]
Jun 29 14:11:54 arm-server-01 java[7193]:   Sender:
Jun 29 14:11:54 arm-server-01 java[7193]:     com.comphenix.protocol.injector.netty.ChannelInjector@69cb1e5[
Jun 29 14:11:54 arm-server-01 java[7193]:       decodeBuffer=protected void net.minecraft.network.PacketDecoder.decode(io.netty.channel.ChannelHandlerContext,io.netty.buffer.ByteBuf,java.util.List) throws java.lang.Exception
Jun 29 14:11:54 arm-server-01 java[7193]:       encodeBuffer=protected void net.minecraft.network.PacketEncoder.encode(io.netty.channel.ChannelHandlerContext,java.lang.Object,io.netty.buffer.ByteBuf) throws java.lang.Exception
Jun 29 14:11:54 arm-server-01 java[7193]:       factory=com.comphenix.protocol.injector.netty.InjectionFactory@76c78045
Jun 29 14:11:54 arm-server-01 java[7193]:       player=com.comphenix.protocol.injector.server.TemporaryPlayerInvocationHandler@38952086
Jun 29 14:11:54 arm-server-01 java[7193]:       updated=<null>
Jun 29 14:11:54 arm-server-01 java[7193]:       playerName=<null>
Jun 29 14:11:54 arm-server-01 java[7193]:       playerConnection=<null>
Jun 29 14:11:54 arm-server-01 java[7193]:       networkManager=net.minecraft.network.NetworkManager@1bdd3b85
Jun 29 14:11:54 arm-server-01 java[7193]:       originalChannel=[id: 0x51bfe160, L:/10.0.0.239:25565 - R:/95.250.163.233:5370]
Jun 29 14:11:54 arm-server-01 java[7193]:       channelField=VolatileField [accessor=DefaultFieldAccessor [field=public io.netty.channel.Channel net.minecraft.network.NetworkManager.m], container=net.minecraft.network.NetworkManager@1bdd3b85, previous=[id: 0x51bfe160, L:/10.0.0.239:25565 - R:/95.250.163.233:5370], current=com.comphenix.protocol.injector.netty.ChannelInjector$3@664bf686, previousLoaded=true, currentSet=true, forceAccess=true]
Jun 29 14:11:54 arm-server-01 java[7193]:       packetMarker={}
Jun 29 14:11:54 arm-server-01 java[7193]:       currentEvent=<null>
Jun 29 14:11:54 arm-server-01 java[7193]:       finalEvent=<null>
Jun 29 14:11:54 arm-server-01 java[7193]:       unfilteredProcessedPackets=com.comphenix.protocol.injector.netty.PacketFilterQueue@77cb6bd9
Jun 29 14:11:54 arm-server-01 java[7193]:       vanillaDecoder=net.minecraft.network.PacketDecoder@5b867b6
Jun 29 14:11:54 arm-server-01 java[7193]:       vanillaEncoder=net.minecraft.network.PacketEncoder@5b3f3a58
Jun 29 14:11:54 arm-server-01 java[7193]:       finishQueue=[]
Jun 29 14:11:54 arm-server-01 java[7193]:       channelListener=com.comphenix.protocol.injector.netty.ProtocolInjector@60081c03
Jun 29 14:11:54 arm-server-01 java[7193]:       processor=com.comphenix.protocol.injector.NetworkProcessor@4e40224a
Jun 29 14:11:54 arm-server-01 java[7193]:       injected=true
Jun 29 14:11:54 arm-server-01 java[7193]:       closed=false
Jun 29 14:11:54 arm-server-01 java[7193]:       cumulation=PooledUnsafeDirectByteBuf(ridx: 832, widx: 832, cap: 832)
Jun 29 14:11:54 arm-server-01 java[7193]:       cumulator=io.netty.handler.codec.ByteToMessageDecoder$1@64f5c88c
Jun 29 14:11:54 arm-server-01 java[7193]:       singleDecode=false
Jun 29 14:11:54 arm-server-01 java[7193]:       first=true
Jun 29 14:11:54 arm-server-01 java[7193]:       firedChannelRead=false
Jun 29 14:11:54 arm-server-01 java[7193]:       selfFiredChannelRead=true
Jun 29 14:11:54 arm-server-01 java[7193]:       decodeState=1
Jun 29 14:11:54 arm-server-01 java[7193]:       discardAfterReads=16
Jun 29 14:11:54 arm-server-01 java[7193]:       numReads=0
Jun 29 14:11:54 arm-server-01 java[7193]:       added=true
Jun 29 14:11:54 arm-server-01 java[7193]:     ]
Jun 29 14:11:54 arm-server-01 java[7193]:   Version:
Jun 29 14:11:54 arm-server-01 java[7193]:     ProtocolLib v4.8.0
Jun 29 14:11:54 arm-server-01 java[7193]:   Java Version:
Jun 29 14:11:54 arm-server-01 java[7193]:     17.0.3
Jun 29 14:11:54 arm-server-01 java[7193]:   Server:
Jun 29 14:11:54 arm-server-01 java[7193]:     git-Paper-39 (MC: 1.19)
commented

This is fixed in the latest dev builds. Please search through the open and closed issue before filing a new one the next time you think you found an issue. There are like 20 Issues with the same error already! Find the dev build here: https://ci.dmulloy2.net/job/ProtocolLib/

commented

heya, could you please release a version with the fix as a release? aternos doesnt allow dev versions, only releases from the site where you get the plugin from (in this case its spigot.org), ty!

ignore my pfp i made it like 2 years ago