ProtocolLib

3M Downloads

Anytime server starts and commands (even from console) are run

Yur-ie opened this issue ยท 0 comments

commented

say hi volc
[20:57:19 INFO]: [Not Secure] [Server] hi volc
[20:57:20 WARN]: [ProtocolLib] [DetailedErrorReporter] Internal exception count: 256!
[20:57:20 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@3db57fb7.
[20:57:20 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 ProtocolLib.jar//com.comphenix.protocol.reflect.FuzzyReflection.getFieldByType(FuzzyReflection.java:397)
at ProtocolLib.jar//com.comphenix.protocol.reflect.accessors.Accessors.getFieldAccessor(Accessors.java:57)
at ProtocolLib.jar//com.comphenix.protocol.injector.netty.ChannelInjector.handleLogin(ChannelInjector.java:658)
at ProtocolLib.jar//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 ProtocolLib.jar//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.handler.flush.FlushConsolidationHandler.channelRead(FlushConsolidationHandler.java:152)
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.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(Unknown Source)
Dump:
Parameters:
io.netty.buffer.PooledUnsafeDirectByteBuf@f76d2b6b[
memoryAddress=140502809050304
recyclerHandle=io.netty.util.Recycler$DefaultHandle@ffd15e49
chunk=Chunk(f75ea83c: 31%, 1294336/4194304)
handle=25332777968730114
memory=java.nio.DirectByteBuffer[pos=0 lim=4194304 cap=4194304]
offset=368672
length=10
maxLength=16
cache=io.netty.buffer.PoolThreadCache@f460e466
tmpNioBuf=
allocator=PooledByteBufAllocator(directByDefault: true)
refCnt=2
readerIndex=10
writerIndex=10
markedReaderIndex=0
markedWriterIndex=0
maxCapacity=2147483647
]
manager:
com.comphenix.protocol.injector.PacketFilterManager@a7ca4b04[
unhookTask=com.comphenix.protocol.injector.DelayedSingleTask@70c14bbb
packetListeners=[]
packetInjector=com.comphenix.protocol.injector.netty.ProtocolInjector$5@ebec9885
playerInjection=com.comphenix.protocol.injector.netty.ProtocolInjector$4@913a2c72
inputBufferedPackets=[]
recievedListeners=com.comphenix.protocol.injector.SortedPacketListenerList@be5085d7
sendingListeners=com.comphenix.protocol.injector.SortedPacketListenerList@2a37ebcb
hasClosed=false
classLoader=PluginClassLoader{plugin=ProtocolLib v4.8.0, pluginEnabled=true, url=plugins/ProtocolLib.jar}
reporter=com.comphenix.protocol.ProtocolLib$1@cfd575e3
server=CraftServer{serverName=Paper,serverVersion=git-Paper-182,minecraftVersion=1.19.2}
library=ProtocolLib v4.8.0
asyncFilterManager=com.comphenix.protocol.async.AsyncFilterManager@b4354aef
knowsServerPackets=true
knowsClientPackets=true
phaseLoginCount=0
phasePlayingCount=0
packetCreation=false
nettyInjector=com.comphenix.protocol.injector.netty.ProtocolInjector@b973c045
pluginVerifier=com.comphenix.protocol.injector.PluginVerifier@e1558ce8
hasRecycleDistance=true
minecraftVersion=(MC: 1.19.2)
debug=false
]
Sender:
com.comphenix.protocol.injector.netty.ChannelInjector@3db57fb7[
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@e58f8af6
player=CraftPlayer{name=.VolcnicPolrBear}
updated=
playerName=.VolcnicPolrBear
playerConnection=
networkManager=net.minecraft.network.NetworkManager@ba1443c9
originalChannel=org.geysermc.geyser.network.netty.ChannelWrapper@ad43826f
channelField=VolatileField [accessor=DefaultFieldAccessor [field=public io.netty.channel.Channel net.minecraft.network.NetworkManager.m], container=net.minecraft.network.NetworkManager@ba1443c9, previous=org.geysermc.geyser.network.netty.ChannelWrapper@ad43826f, current=com.comphenix.protocol.injector.netty.ChannelInjector$3@3d26c744, previousLoaded=true, currentSet=true, forceAccess=true]
packetMarker={}
currentEvent=
finalEvent=
unfilteredProcessedPackets=com.comphenix.protocol.injector.netty.PacketFilterQueue@cab975c4
vanillaDecoder=net.minecraft.network.PacketDecoder@346baa4d
vanillaEncoder=net.minecraft.network.PacketEncoder@ffd57ca2
finishQueue=[]
channelListener=com.comphenix.protocol.injector.netty.ProtocolInjector@b973c045
processor=com.comphenix.protocol.injector.NetworkProcessor@ad7d8a6
injected=true
closed=false
cumulation=PooledUnsafeDirectByteBuf(ridx: 10, widx: 10, cap: 10)
cumulator=io.netty.handler.codec.ByteToMessageDecoder$1@54b80774
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.2
Server:
git-Paper-182 (MC: 1.19.2)

Unsure of what's causing it and we need it for one of our plugins (since it calls ProtocolLib API)