ProtocolLib

3M Downloads

Protocol Lib Issue

Opened this issue ยท 2 comments

commented
  • This issue is not solved in a development build

    memoryAddress=140407178585568
    recyclerHandle=io.netty.util.Recycler$DefaultHandle@698cd651
    chunk=Chunk(6fa9c224: 7%, 253952/4194304)
    handle=562980018192385
    memory=java.nio.DirectByteBuffer[pos=0 lim=4194304 cap=4194304]
    offset=8224
    length=26
    maxLength=32
    cache=io.netty.buffer.PoolThreadCache@382a2428
    tmpNioBuf=<null>
    allocator=PooledByteBufAllocator(directByDefault: true)
    refCnt=2
    readerIndex=26
    writerIndex=26
    markedReaderIndex=0
    markedWriterIndex=0
    maxCapacity=2147483647
    

    ]
    manager:
    com.comphenix.protocol.injector.PacketFilterManager@7d6afe8e[
    unhookTask=com.comphenix.protocol.injector.DelayedSingleTask@5bc3d202
    packetListeners=[PacketAdapter[plugin=SuperVanish, sending=ListeningWhitelist[priority=NORMAL, packets=[OUT_SERVER_INFO[class=PacketStatusOutServerInfo, id=0]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=SuperVanish, sending=ListeningWhitelist[priority=NORMAL, packets=[PLAYER_INFO[class=PacketPlayOutPlayerInfo, id=54]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=SuperVanish, sending=ListeningWhitelist[priority=LOW, packets=[ENTITY_METADATA[class=PacketPlayOutEntityMetadata, id=77], ABILITIES[class=PacketPlayOutAbilities, id=50], PLAYER_INFO[class=PacketPlayOutPlayerInfo, id=54]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=RealisticSeasons, sending=ListeningWhitelist[priority=NORMAL, packets=[MAP_CHUNK[class=ClientboundLevelChunkWithLightPacket, id=34]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=XProtect, sending=EMPTY_WHITELIST, receiving=ListeningWhitelist[priority=LOWEST, packets=[SET_PROTOCOL[class=PacketHandshakingInSetProtocol, id=0]], gamephase=PLAYING, options=[]]], PacketAdapter[plugin=SuperVanish, sending=ListeningWhitelist[priority=HIGH, packets=[PLAYER_INFO[class=PacketPlayOutPlayerInfo, id=54]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=CMI, sending=ListeningWhitelist[priority=HIGH, packets=[UNLOAD_CHUNK[class=PacketPlayOutUnloadChunk, id=29]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST]]
    packetInjector=com.comphenix.protocol.injector.netty.ProtocolInjector$5@7044160b
    playerInjection=com.comphenix.protocol.injector.netty.ProtocolInjector$4@23968b48
    inputBufferedPackets=[]
    recievedListeners=com.comphenix.protocol.injector.SortedPacketListenerList@9229f3a
    sendingListeners=com.comphenix.protocol.injector.SortedPacketListenerList@4c340fde
    hasClosed=false
    classLoader=PluginClassLoader{plugin=ProtocolLib v4.8.0, pluginEnabled=true, url=plugins/ProtocolLib.jar}
    reporter=com.comphenix.protocol.ProtocolLib$1@1c90bc1d
    server=CraftServer{serverName=Paper,serverVersion=git-Paper-46,minecraftVersion=1.19}
    library=ProtocolLib v4.8.0
    asyncFilterManager=com.comphenix.protocol.async.AsyncFilterManager@160d3d00
    knowsServerPackets=true
    knowsClientPackets=true
    phaseLoginCount=1
    phasePlayingCount=7
    packetCreation=false
    nettyInjector=com.comphenix.protocol.injector.netty.ProtocolInjector@4a85a0ce
    pluginVerifier=com.comphenix.protocol.injector.PluginVerifier@6cdf5fe4
    hasRecycleDistance=true
    minecraftVersion=(MC: 1.19.0)
    debug=false
    ]
    Sender:
    com.comphenix.protocol.injector.netty.ChannelInjector@2296108[
    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@2515ded9
    player=com.comphenix.protocol.injector.server.TemporaryPlayerInvocationHandler@2cff3c23
    updated=
    playerName=
    playerConnection=
    networkManager=net.minecraft.network.NetworkManager@d66637a
    originalChannel=[id: 0xb87eae3d, L:/172.18.0.3:25565 - R:/103.108.4.32:59910]
    channelField=VolatileField [accessor=DefaultFieldAccessor [field=public io.netty.channel.Channel net.minecraft.network.NetworkManager.m], container=net.minecraft.network.NetworkManager@d66637a, previous=[id: 0xb87eae3d, L:/172.18.0.3:25565 - R:/103.108.4.32:59910], current=com.comphenix.protocol.injector.netty.ChannelInjector$3@248c2df, previousLoaded=true, currentSet=true, forceAccess=true]
    packetMarker={}
    currentEvent=
    finalEvent=
    unfilteredProcessedPackets=com.comphenix.protocol.injector.netty.PacketFilterQueue@4fe0bebc
    vanillaDecoder=com.viaversion.viaversion.bukkit.handlers.BukkitDecodeHandler@e72922f
    vanillaEncoder=com.viaversion.viaversion.bukkit.handlers.BukkitEncodeHandler@6f8d52ea
    finishQueue=[]
    channelListener=com.comphenix.protocol.injector.netty.ProtocolInjector@4a85a0ce
    processor=com.comphenix.protocol.injector.NetworkProcessor@6148657e
    injected=true
    closed=false
    cumulation=PooledUnsafeDirectByteBuf(ridx: 26, widx: 26, cap: 26)
    cumulator=io.netty.handler.codec.ByteToMessageDecoder$1@dcd4cf3
    singleDecode=false
    first=true
    firedChannelRead=true
    selfFiredChannelRead=true
    decodeState=1
    discardAfterReads=16
    numReads=0
    added=true
    ]
    Version:
    ProtocolLib v4.8.0
    Java Version:
    17.0.2
    Server:
    git-Paper-46 (MC: 1.19)

[07:57:47 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@2296108.

commented

I am getting this too

[10:14:45] [Netty Epoll Server IO #1/WARN]: [ProtocolLib] [DetailedErrorReporter] Internal exception count: 256!
[10:14:45] [Netty Epoll Server IO #1/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@35a0d49c.
[10:14:45] [Netty Epoll Server IO #1/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.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@25d2e511[
memoryAddress=140535160631568
recyclerHandle=io.netty.util.Recycler$DefaultHandle@4c951678
chunk=Chunk(6095e186: 17%, 704512/4194304)
handle=13510828946882560
memory=java.nio.DirectByteBuffer[pos=0 lim=4194304 cap=4194304]
offset=196608
length=26
maxLength=32
cache=io.netty.buffer.PoolThreadCache@5c82341
tmpNioBuf=
allocator=PooledByteBufAllocator(directByDefault: true)
refCnt=2
readerIndex=26
writerIndex=26
markedReaderIndex=0
markedWriterIndex=0
maxCapacity=2147483647
]
manager:
com.comphenix.protocol.injector.PacketFilterManager@5ab5c89c[
unhookTask=com.comphenix.protocol.injector.DelayedSingleTask@1ea32aa0
packetListeners=[com.bergerkiller.bukkit.common.internal.network.ProtocolLibPacketHandler$CommonPacketMonitor@1d609dc2, PacketAdapter[plugin=MyCommand, sending=EMPTY_WHITELIST, receiving=ListeningWhitelist[priority=NORMAL, packets=[UPDATE_SIGN[class=PacketPlayInUpdateSign, id=43]], gamephase=PLAYING, options=[]]], com.bergerkiller.bukkit.common.internal.network.ProtocolLibPacketHandler$CommonPacketListener@2dc7b87e, com.bergerkiller.bukkit.common.internal.network.ProtocolLibPacketHandler$CommonPacketListener@444bb6b, com.bergerkiller.bukkit.common.internal.network.ProtocolLibPacketHandler$CommonPacketListener@71cc7113]
packetInjector=com.comphenix.protocol.injector.netty.ProtocolInjector$5@beddd86
playerInjection=com.comphenix.protocol.injector.netty.ProtocolInjector$4@21406b6
inputBufferedPackets=[]
recievedListeners=com.comphenix.protocol.injector.SortedPacketListenerList@7691cf40
sendingListeners=com.comphenix.protocol.injector.SortedPacketListenerList@71600d18
hasClosed=false
classLoader=PluginClassLoader{plugin=ProtocolLib v4.8.0, pluginEnabled=true, url=plugins/ProtocolLib.jar}
reporter=com.comphenix.protocol.ProtocolLib$1@1484ff5f
server=CraftServer{serverName=Paper,serverVersion=git-Paper-46,minecraftVersion=1.19}
library=ProtocolLib v4.8.0
asyncFilterManager=com.comphenix.protocol.async.AsyncFilterManager@4e144890
knowsServerPackets=true
knowsClientPackets=true
phaseLoginCount=0
phasePlayingCount=6
packetCreation=false
nettyInjector=com.comphenix.protocol.injector.netty.ProtocolInjector@6dc0b01c
pluginVerifier=com.comphenix.protocol.injector.PluginVerifier@3edac89f
hasRecycleDistance=true
minecraftVersion=(MC: 1.19.0)
debug=false
]
Sender:
com.comphenix.protocol.injector.netty.ChannelInjector@35a0d49c[
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@55a1bec5
player=CraftPlayer{name=FetxuNZ}
updated=
playerName=FetxuNZ
playerConnection=
networkManager=net.minecraft.network.NetworkManager@4b2d8b3d
originalChannel=[id: 0x65b27aeb, L:/127.0.0.1:48017 - R:/51.222.248.11:38985]
channelField=VolatileField [accessor=DefaultFieldAccessor [field=public io.netty.channel.Channel net.minecraft.network.NetworkManager.m], container=net.minecraft.network.NetworkManager@4b2d8b3d, previous=[id: 0x65b27aeb, L:/127.0.0.1:48017 - R:/51.222.248.11:38985], current=com.comphenix.protocol.injector.netty.ChannelInjector$3@269f6877, previousLoaded=true, currentSet=true, forceAccess=true]
packetMarker={}
currentEvent=
finalEvent=
unfilteredProcessedPackets=com.comphenix.protocol.injector.netty.PacketFilterQueue@459206b4
vanillaDecoder=com.viaversion.viaversion.bukkit.handlers.BukkitDecodeHandler@63caea54
vanillaEncoder=com.viaversion.viaversion.bukkit.handlers.BukkitEncodeHandler@7a006873
finishQueue=[]
channelListener=com.comphenix.protocol.injector.netty.ProtocolInjector@6dc0b01c
processor=com.comphenix.protocol.injector.NetworkProcessor@72737e66
injected=true
closed=false
cumulation=PooledUnsafeDirectByteBuf(ridx: 26, widx: 26, cap: 26)
cumulator=io.netty.handler.codec.ByteToMessageDecoder$1@465fa236
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.3
Server:
git-Paper-46 (MC: 1.19)

commented

Downloaded dev build and seems fixed: https://ci.dmulloy2.net/job/ProtocolLib