Error Unable to intercept a read client packet
AsteriskDotHack opened this issue · 0 comments
[7:40:12 AM 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@2f754be1.
[7:40 AM]
[7:40:12 AM ERROR] [Minecraft] [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 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.c
GitHub
Issues · dmulloy2/ProtocolLib
Provides read and write access to the Minecraft protocol with Bukkit. - Issues · dmulloy2/ProtocolLib
[7:40 AM]
odec.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.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800)
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:487)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:385)
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@1b285003[
memoryAddress=140480864079888
recyclerHandle=NOOP_HANDLE
chunk=Chunk(28fa5932: 3%, 90112/4194304)
handle=1688983004250112
memory=java.nio
[7:40 AM]
.DirectByteBuffer[pos=0 lim=4194304 cap=4194304]
offset=24576
length=853
maxLength=896
cache=io.netty.buffer.PoolThreadCache@79023a9f
tmpNioBuf=
allocator=PooledByteBufAllocator(directByDefault: true)
refCnt=2
readerIndex=853
writerIndex=853
markedReaderIndex=0
markedWriterIndex=0
maxCapacity=2147483647
]
manager:
com.comphenix.protocol.injector.PacketFilterManager@39518317[
unhookTask=com.comphenix.protocol.injector.DelayedSingleTask@43187ec6
packetListeners=[PacketAdapter[plugin=MobHunting, sending=ListeningWhitelist[priority=HIGHEST, packets=[SET_SLOT[class=PacketPlayOutSetSlot, id=22], WINDOW_ITEMS[class=PacketPlayOutWindowItems, id=20]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=WorldGuardExtraFlags, sending=ListeningWhitelist[priority=NORMAL, packets=[REMOVE_ENTITY_EFFECT[class=PacketPlayOutRemoveEntityEffect, id=59]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=MyCommand, sending=EMPTY_WHITELIST, receiving=ListeningWhitelist[priority=NORMAL, packets=[UPDATE_SIGN[class=PacketPlayInUpdateSign, id=43]], gamephase=PLAYING, options=[]]]]
packetInjector=com.comphenix.protocol.injector.netty.ProtocolInjector$5@2ba662f8
playerInjection=com.comphenix.protocol.injector.netty.ProtocolInjector$4@45ff6274
inputBufferedPackets=[]
recievedListeners=com.comphenix.protocol.injector.SortedPacketListenerList@700308e7
sendingListeners=com.comphenix.protocol.injector.SortedPacketListenerList@706da66f
hasClosed=false
classLoader=org.bukkit.plugin.java.PluginClassLoader@5613bba6
reporter=com.comphenix.protocol.ProtocolLib$1@68c4ab38
server=CraftServer{serverName=CraftBukkit,serverVersion=3566-Spigot-584b459-c379a6b,minecraftVersion=1.19.2}
library=ProtocolLib v4.8.0
asyncFilterManager=com.comphenix.proto
[7:40 AM]
col.async.AsyncFilterManager@3e3af683
knowsServerPackets=true
knowsClientPackets=true
phaseLoginCount=0
phasePlayingCount=3
packetCreation=false
nettyInjector=com.comphenix.protocol.injector.netty.ProtocolInjector@65fe055c
pluginVerifier=com.comphenix.protocol.injector.PluginVerifier@de026df
hasRecycleDistance=true
minecraftVersion=(MC: 1.19.2)
debug=false
]
Sender:
com.comphenix.protocol.injector.netty.ChannelInjector@2f754be1[
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@71953d59
player=com.comphenix.protocol.injector.server.TemporaryPlayerInvocationHandler@74ba4ac9
updated=
playerName=
playerConnection=
networkManager=net.minecraft.network.NetworkManager@6c9e26c9
originalChannel=[id: 0xbfe6b3f5, L:/172.17.0.8:25616 - R:/47.222.172.112:53268]
channelField=VolatileField [accessor=DefaultFieldAccessor [field=public io.netty.channel.Channel net.minecraft.network.NetworkManager.m], container=net.minecraft.network.NetworkManager@6c9e26c9, previous=[id: 0xbfe6b3f5, L:/172.17.0.8:25616 - R:/47.222.172.112:53268], current=com.comphenix.protocol.injector.netty.ChannelInjector$3@77ac78bb, previousLoaded=true, currentSet=true, forceAccess=true]
packetMarker={}
currentEvent=
finalEvent=
unfilteredProcessedPackets=com.comphenix.protocol.injector.netty.PacketFilterQueue@5c81d785
vanillaDecoder=com.viaversion.viaversion.bukkit.handlers.BukkitDeco
[7:40 AM]
deHandler@487c150e
vanillaEncoder=com.viaversion.viaversion.bukkit.handlers.BukkitEncodeHandler@5d39eb4
finishQueue=[]
channelListener=com.comphenix.protocol.injector.netty.ProtocolInjector@65fe055c
processor=com.comphenix.protocol.injector.NetworkProcessor@5e5b7cd8
injected=true
closed=false
cumulation=PooledUnsafeDirectByteBuf(ridx: 853, widx: 853, cap: 853)
cumulator=io.netty.handler.codec.ByteToMessageDecoder$1@76a7d678
singleDecode=false
first=true
firedChannelRead=false
selfFiredChannelRead=true
decodeState=1
discardAfterReads=16
numReads=0
added=true
]
Version:
ProtocolLib v4.8.0
Java Version:
17.0.1
Server:
3566-Spigot-584b459-c379a6b (MC: 1.19.2)