problem in plugin
SamVolvotje opened this issue ยท 1 comments
- This issue is not solved in a development build
Describe the bug
i got an error in the console
To Reproduce
Steps to reproduce the behavior:
- See error
Expected behavior
i installed the plugin and got this as error
Screenshots
[23:11:22 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@221a3d76.
[23:11:22 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:519)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:458)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:280)
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.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
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:336)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:308)
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 net.minecraft.server.network.LegacyPingHandler.channelRead(LegacyPingHandler.java:122)
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:499)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:397)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
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@7de10e4f[
memoryAddress=140437310563104
recyclerHandle=io.netty.util.Recycler$DefaultHandle@6583d1ae
chunk=Chunk(46be025b: 1%, 32768/4194304)
handle=1125929971613698
memory=java.nio.DirectByteBuffer[pos=0 lim=4194304 cap=4194304]
offset=16896
length=256
maxLength=256
cache=io.netty.buffer.PoolThreadCache@747d62c8
tmpNioBuf=
allocator=PooledByteBufAllocator(directByDefault: true)
refCnt=2
readerIndex=1
writerIndex=1
markedReaderIndex=0
markedWriterIndex=0
maxCapacity=2147483647
]
manager:
com.comphenix.protocol.injector.PacketFilterManager@2bdf5e85[
unhookTask=com.comphenix.protocol.injector.DelayedSingleTask@2d9127d5
packetListeners=[com.r4g3baby.simplescore.scoreboard.listeners.PacketListener@4e8ecc87]
packetInjector=com.comphenix.protocol.injector.netty.ProtocolInjector$5@522102e3
playerInjection=com.comphenix.protocol.injector.netty.ProtocolInjector$4@5eae2e5c
inputBufferedPackets=[]
recievedListeners=com.comphenix.protocol.injector.SortedPacketListenerList@fd4787a
sendingListeners=com.comphenix.protocol.injector.SortedPacketListenerList@2b5f59da
hasClosed=false
classLoader=PluginClassLoader{plugin=ProtocolLib v4.8.0, pluginEnabled=true, url=plugins/ProtocolLib.jar}
reporter=com.comphenix.protocol.ProtocolLib$1@71337048
server=CraftServer{serverName=Purpur,serverVersion=git-Purpur-1890,minecraftVersion=1.19.3}
library=ProtocolLib v4.8.0
asyncFilterManager=com.comphenix.protocol.async.AsyncFilterManager@727bd8f6
knowsServerPackets=true
knowsClientPackets=true
phaseLoginCount=0
phasePlayingCount=1
packetCreation=false
nettyInjector=com.comphenix.protocol.injector.netty.ProtocolInjector@380aafa4
pluginVerifier=com.comphenix.protocol.injector.PluginVerifier@453bfac1
hasRecycleDistance=true
minecraftVersion=(MC: 1.19.3)
debug=false
]
Sender:
com.comphenix.protocol.injector.netty.ChannelInjector@221a3d76[
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@3e32a38a
player=com.comphenix.protocol.injector.server.TemporaryPlayerInvocationHandler@4f4c8d8a
updated=
playerName=
playerConnection=
networkManager=net.minecraft.network.NetworkManager@30860588
originalChannel=[id: 0xb9b1a025, L:/172.18.0.3:25566 - R:/172.18.0.1:40626]
channelField=VolatileField [accessor=DefaultFieldAccessor [field=public io.netty.channel.Channel net.minecraft.network.NetworkManager.m], container=net.minecraft.network.NetworkManager@30860588, previous=[id: 0xb9b1a025, L:/172.18.0.3:25566 - R:/172.18.0.1:40626], current=com.comphenix.protocol.injector.netty.ChannelInjector$3@1f211b1a, previousLoaded=true, currentSet=true, forceAccess=true]
packetMarker={}
currentEvent=
finalEvent=
unfilteredProcessedPackets=com.comphenix.protocol.injector.netty.PacketFilterQueue@34aaf5a9
vanillaDecoder=net.minecraft.network.PacketDecoder@34801cf1
vanillaEncoder=net.minecraft.network.PacketEncoder@4307a8c6
finishQueue=[]
channelListener=com.comphenix.protocol.injector.netty.ProtocolInjector@380aafa4
processor=com.comphenix.protocol.injector.NetworkProcessor@370d32ee
injected=true
closed=false
cumulation=PooledUnsafeDirectByteBuf(ridx: 1, widx: 1, cap: 256)
cumulator=io.netty.handler.codec.ByteToMessageDecoder$1@608b8179
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.6
Server:
git-Purpur-1890 (MC: 1.19.3)
[23:11:40 WARN]: [ProtocolLib] [DetailedErrorReporter] Internal exception count: 32!
Version Info
latest