Yamipa

Yamipa

3.7k Downloads

Task 20 is generating an exception

waxt0n opened this issue ยท 2 comments

commented

[23:44:35 WARN]: [YamipaPlugin] Task #20 for YamipaPlugin v1.2.5 generated an exception java.lang.NoClassDefFoundError: Could not initialize class com.comphenix.protocol.wrappers.WrappedChatComponent at io.josemmo.bukkit.plugin.packets.ActionBarPacket.setText(ActionBarPacket.java:22) ~[YamipaPlugin-1.2.5.jar:?] at io.josemmo.bukkit.plugin.utils.ActionBar.sendOnce(ActionBar.java:71) ~[YamipaPlugin-1.2.5.jar:?] at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.19.2.jar:git-Paper-138] at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[paper-1.19.2.jar:git-Paper-138] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1493) ~[paper-1.19.2.jar:git-Paper-138] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:446) ~[paper-1.19.2.jar:git-Paper-138] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1417) ~[paper-1.19.2.jar:git-Paper-138] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1193) ~[paper-1.19.2.jar:git-Paper-138] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:305) ~[paper-1.19.2.jar:git-Paper-138] at java.lang.Thread.run(Thread.java:833) ~[?:?]
What is the best way to fix?
currently running a paper server through bungee, with the latest version of yamipa and protocollib

commented

here are more errors it's throwing.
[23:47:03 WARN]: [ProtocolLib] [DetailedErrorReporter] Internal exception count: 128! [23:47:03 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@66b51ed. [23:47:03 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 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.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@d6166ee[ memoryAddress=140444692435376 recyclerHandle=io.netty.util.Recycler$DefaultHandle@1ec10743 chunk=Chunk(2c98ff05: 25%, 1007616/4194304) handle=3377729785298944 memory=java.nio.DirectByteBuffer[pos=0 lim=4194304 cap=4194304] offset=49152 length=26 maxLength=32 cache=io.netty.buffer.PoolThreadCache@1ad823c6 tmpNioBuf=<null> allocator=PooledByteBufAllocator(directByDefault: true) refCnt=2 readerIndex=26 writerIndex=26 markedReaderIndex=0 markedWriterIndex=0 maxCapacity=2147483647 ] manager: com.comphenix.protocol.injector.PacketFilterManager@757e1da0[ unhookTask=com.comphenix.protocol.injector.DelayedSingleTask@e656b28 packetListeners=[PacketAdapter[plugin=ChatControl, sending=ListeningWhitelist[priority=NORMAL, packets=[CHAT[PLAY, SERVER, 15, classNames: [net.minecraft.network.protocol.game.PacketPlayOutChat, net.minecraft.network.protocol.game.ClientboundChatPacket, net.minecraft.network.play.server.SPacketChat] (unregistered)]], gamephase=PLAYING, options=[]], receiving=EMPTY_WHITELIST], PacketAdapter[plugin=ChatControl, sending=EMPTY_WHITELIST, receiving=ListeningWhitelist[priority=NORMAL, packets=[TAB_COMPLETE[class=PacketPlayInTabComplete, id=6]], gamephase=PLAYING, options=[]]], io.josemmo.bukkit.plugin.renderer.ItemService@47716abd] packetInjector=com.comphenix.protocol.injector.netty.ProtocolInjector$5@27227196 playerInjection=com.comphenix.protocol.injector.netty.ProtocolInjector$4@6b1f42b0 inputBufferedPackets=[] recievedListeners=com.comphenix.protocol.injector.SortedPacketListenerList@6e89c16e sendingListeners=com.comphenix.protocol.injector.SortedPacketListenerList@4b10dbbc hasClosed=false classLoader=PluginClassLoader{plugin=ProtocolLib v4.8.0, pluginEnabled=true, url=plugins/ProtocolLib.jar} reporter=com.comphenix.protocol.ProtocolLib$1@7f8aad89 server=CraftServer{serverName=Paper,serverVersion=git-Paper-138,minecraftVersion=1.19.2} library=ProtocolLib v4.8.0 asyncFilterManager=com.comphenix.protocol.async.AsyncFilterManager@6e117a0a knowsServerPackets=true knowsClientPackets=true phaseLoginCount=0 phasePlayingCount=3 packetCreation=false nettyInjector=com.comphenix.protocol.injector.netty.ProtocolInjector@4c5b4643 pluginVerifier=com.comphenix.protocol.injector.PluginVerifier@181c2023 hasRecycleDistance=true minecraftVersion=(MC: 1.19.2) debug=false ] Sender: com.comphenix.protocol.injector.netty.ChannelInjector@66b51ed[ 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@528234b4 player=CraftPlayer{name=waxton} updated=<null> playerName=<null> playerConnection=net.minecraft.server.network.PlayerConnection@2b7f4d81 networkManager=net.minecraft.network.NetworkManager@5a41a52a originalChannel=[id: 0xef0661ff, L:/172.18.0.4:20000 - R:/10.100.10.30:60123] channelField=VolatileField [accessor=DefaultFieldAccessor [field=public io.netty.channel.Channel net.minecraft.network.NetworkManager.m], container=net.minecraft.network.NetworkManager@5a41a52a, previous=[id: 0xef0661ff, L:/172.18.0.4:20000 - R:/10.100.10.30:60123], current=com.comphenix.protocol.injector.netty.ChannelInjector$3@3d19346d, previousLoaded=true, currentSet=true, forceAccess=true] packetMarker={} currentEvent=<null> finalEvent=<null> unfilteredProcessedPackets=com.comphenix.protocol.injector.netty.PacketFilterQueue@61a1fe1a vanillaDecoder=net.minecraft.network.PacketDecoder@4f9c45a7 vanillaEncoder=net.minecraft.network.PacketEncoder@2d7f1e30 finishQueue=[] channelListener=com.comphenix.protocol.injector.netty.ProtocolInjector@4c5b4643 processor=com.comphenix.protocol.injector.NetworkProcessor@edbb66e injected=true closed=false cumulation=PooledUnsafeDirectByteBuf(ridx: 26, widx: 26, cap: 26) cumulator=io.netty.handler.codec.ByteToMessageDecoder$1@1ae24bf0 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-138 (MC: 1.19.2)

commented

Hello @waxt0n,

ProtocolLib v4.8.0 doesn't work on Minecraft 1.19. You need to download the latest dev build.