Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.7.10 Thermos: NoClassDefFoundError/ReflectionException #1340

Closed
KyadCK opened this issue Sep 25, 2021 · 9 comments
Closed

1.7.10 Thermos: NoClassDefFoundError/ReflectionException #1340

KyadCK opened this issue Sep 25, 2021 · 9 comments

Comments

@KyadCK
Copy link

KyadCK commented Sep 25, 2021

Minecraft Version: 1.7.10 Thermos Forge 1614 Build 58
MySQL: false
BungeeCord: false

Debug zip: https://ufile.io/a2dlsu0z
Apologies, but GitHub wouldn't let me upload it directly.

Testing;
Versions 10.4.5 and older work correctly.
Versions 10.4.6 - 10.4.9, ChatControl will no longer launch with Thermos.
Versions 10.5.0 - 10.6.4, ChatControl will launch, but upon player join or any other interaction will spam exceptions in log attempting to pass events. (see Debug file)

Error is replicatable on Thermos 1.7.10 Forge 1614 Build 58 server with only Vault and ChatControl (no mods, plugins, SQL, or Bungee), using a 1.7.10 Forge 1614 client with no mods via MultiMC.

My account was OP for testing, attempting to use only the Global channel for formatting at this time.

I would simply use 10.4.5, but the hope is to be able to sync this server into my Bungee (HexagonMC) proxy. I was able to get SQL working with an updated MySQL library (and DiscordSRV with their Thermos library workaround), but joining the server with 10.4.5 spams BungeeControl 3.6.4 with "Unknown action named: PLAYERS_SYNC" and won't pass chat, even with BungeeChatAPI. This is expected due to the version difference, but it forces me to need an updated version.

Additional notes;
Clicking in chat does not work in 1.7.10, so you are unable to progress the tour. This is bypassable if you either know the commands or do it from console.

There are many special characters in newer files (send/receive, localization, etc) that 1.7.10 will not parse. This wouldn't be an issue if attempting to parse them did not disable ChatControl entirely on a modpack that takes >5min to load. Deleting them solves the issue, but requires a few restarts.


I am aware that Thermos is possibly the most painful thing I could possibly be trying to tie into my network, and that supporting it is an annoyance, but any chance this could be looked at? There is no chance the pack I am trying to tie in (GTNH) will ever be moved from 1.7.10 to anything newer, and I have all functions except chat working as expected.

@ElBananaa
Copy link
Collaborator

Hey!
Thanks for reporting this, and sorry for the inconvenient.

First of all, you only use the BungeeControl version provided with the zip file of you chatcontrolred version (but you already now this).

Clickable text won't work at all for versions prior MC 1.8 which is the cause of a part of your issues. As for the exceptions thrown in the console, it looks like these are caused by deprecated events.

Some special characters may not work because you used windows while running your tests. Hopefully these ones shouldn't happen on a linux-based OS.

I'll ask you to wait for Kangarko to have a look at your issue to see what can be done here. However, if you don't mind, in the meantime, can you please try to reproduce as much issues as you can find and provide us the error.log file? This should help Kangarko finding the cause of these issues, and potentially fixing most of them as fast as he can 😉

@KyadCK
Copy link
Author

KyadCK commented Sep 25, 2021

I am aware, just letting you know about issues that may occur with the plugin when used on older versions. The tour is several pages, so adding a "/chc tour 2" to access the second page and so on in the event someone uses a pre-1.8 version would be helpful.

All special character errors are from both Windows 10, and from Ubuntu 20.04, unfortunately, and show in the logs as a YAML parse error. This appears to be limited to 1.7.10/Thermos (of what I have tested with), as it works fine on Paper 1.17.1 and 1.16.5 without error.

The Debug zip contains the Error log, but I have the relevant sections of both it and my main server log below;

Error.log from ChatControl:

------------------------------------[ 25.09.2021 10:18:56 ]-----------------------------------
ChatControlRed 10.6.4 encountered a ReflectionException
Running Cauldron 1.7.10-R0.1-SNAPSHOT and Java 1.8.0_291
Plugins: Vault v1.6.7-b${env.TRAVIS_BUILD_NUMBER}, ChatControlRed v10.6.4
----------------------------------------------------------------------------------------------

More Information: 
Could not find class: net.minecraft.server.v1_7_R4.PacketPlayOutWorldParticles
ReflectionException Report: Could not find class: net.minecraft.server.v1_7_R4.PacketPlayOutWorldParticles
	 at org.mineacademy.chatcontrol.lib.ReflectionUtil.lookupClass(ReflectionUtil.java:585)
	 at org.mineacademy.chatcontrol.lib.ReflectionUtil.getNMSClass(ReflectionUtil.java:98)
	 at org.mineacademy.chatcontrol.lib.ReflectionUtil.getNMSClass(ReflectionUtil.java:78)
	 at org.mineacademy.chatcontrol.lib.remain.CompParticle.<init>(CompParticle.java:169)
	 at org.mineacademy.chatcontrol.lib.remain.CompParticle.<clinit>(CompParticle.java:24)
	 at org.mineacademy.chatcontrol.lib.visual.VisualizedRegion.<init>(VisualizedRegion.java:38)
	 at org.mineacademy.chatcontrol.lib.region.Region.<clinit>(Region.java:32)
	 at org.mineacademy.chatcontrol.SenderCache.<init>(SenderCache.java:127)
	 at org.mineacademy.chatcontrol.SenderCache.from(SenderCache.java:459)
	 at org.mineacademy.chatcontrol.listener.PlayerListener.onPreLogin(PlayerListener.java:87)
	 at java.lang.reflect.Method.invoke(Unknown Source)
	 at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:334)
	 at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
	 at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:507)
	 at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:489)
----------------------------------------------------------------------------------------------


------------------------------------[ 25.09.2021 10:19:03 ]-----------------------------------
ChatControlRed 10.6.4 encountered a NoClassDefFoundError
Running Cauldron 1.7.10-R0.1-SNAPSHOT and Java 1.8.0_291
Plugins: Vault v1.6.7-b${env.TRAVIS_BUILD_NUMBER}, ChatControlRed v10.6.4
----------------------------------------------------------------------------------------------

More Information: 
Unhandled exception listening to AsyncPlayerChatEvent
NoClassDefFoundError Could not initialize class org.mineacademy.chatcontrol.lib.region.Region
	 at org.mineacademy.chatcontrol.SenderCache.<init>(SenderCache.java:127)
	 at org.mineacademy.chatcontrol.SenderCache.from(SenderCache.java:459)
	 at org.mineacademy.chatcontrol.SenderCache.from(SenderCache.java:445)
	 at org.mineacademy.chatcontrol.listener.ChatListener.execute(ChatListener.java:67)
	 at org.mineacademy.chatcontrol.listener.ChatListener.execute(ChatListener.java:33)
	 at org.mineacademy.chatcontrol.lib.event.SimpleListener.execute(SimpleListener.java:89)
	 at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
	 at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:507)
	 at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:489)
	 at net.minecraft.network.NetHandlerPlayServer.chat(NetHandlerPlayServer.java:1234)
	 at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:1158)
	 at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(C01PacketChatMessage.java:38)
	 at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(C01PacketChatMessage.java:53)
	 at net.minecraft.network.NetworkManager.channelRead0(NetworkManager.java:137)
	 at net.minecraft.network.NetworkManager.channelRead0(NetworkManager.java:353)
	 at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98)
	 at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)
	 at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)
	 at cpw.mods.fml.common.network.handshake.NetworkDispatcher.channelRead0(NetworkDispatcher.java:220)
	 at cpw.mods.fml.common.network.handshake.NetworkDispatcher.channelRead0(NetworkDispatcher.java:47)
	 at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98)
	 at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)
	 at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)
	 at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:173)
	 at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)
	 at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)
	 at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:173)
	 at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)
	 at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)
	 at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:149)
	 at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)
	 at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)
	 at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785)
	 at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:100)
	 at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:480)
	 at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:447)
	 at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:341)
	 at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101)
	 at java.lang.Thread.run(Unknown Source)
----------------------------------------------------------------------------------------------


------------------------------------[ 25.09.2021 10:19:05 ]-----------------------------------
ChatControlRed 10.6.4 encountered a NoClassDefFoundError
Running Cauldron 1.7.10-R0.1-SNAPSHOT and Java 1.8.0_291
Plugins: Vault v1.6.7-b${env.TRAVIS_BUILD_NUMBER}, ChatControlRed v10.6.4
----------------------------------------------------------------------------------------------

More Information: 
Unhandled exception listening to PlayerCommandPreprocessEvent
NoClassDefFoundError Could not initialize class org.mineacademy.chatcontrol.lib.region.Region
	 at org.mineacademy.chatcontrol.SenderCache.<init>(SenderCache.java:127)
	 at org.mineacademy.chatcontrol.SenderCache.from(SenderCache.java:459)
	 at org.mineacademy.chatcontrol.SenderCache.from(SenderCache.java:445)
	 at org.mineacademy.chatcontrol.listener.CommandListener.execute(CommandListener.java:45)
	 at org.mineacademy.chatcontrol.listener.CommandListener.execute(CommandListener.java:23)
	 at org.mineacademy.chatcontrol.lib.event.SimpleListener.execute(SimpleListener.java:89)
	 at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
	 at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:507)
	 at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:492)
	 at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:1348)
	 at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:1107)
	 at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(C01PacketChatMessage.java:38)
	 at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(C01PacketChatMessage.java:53)
	 at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:245)
	 at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:181)
----------------------------------------------------------------------------------------------

On Join, from Server log:

[10:18:56] [User Authenticator #1/INFO]: ChatControlRed 10.6.4 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.
[10:18:56] [User Authenticator #1/WARN]: org.mineacademy.chatcontrol.lib.ReflectionUtil$ReflectionException: Report: Could not find class: net.minecraft.server.v1_7_R4.PacketPlayOutWorldParticles
[10:18:56] [User Authenticator #1/WARN]: 	at org.mineacademy.chatcontrol.lib.ReflectionUtil.lookupClass(ReflectionUtil.java:585)
[10:18:56] [User Authenticator #1/WARN]: 	at org.mineacademy.chatcontrol.lib.ReflectionUtil.getNMSClass(ReflectionUtil.java:98)
[10:18:56] [User Authenticator #1/WARN]: 	at org.mineacademy.chatcontrol.lib.ReflectionUtil.getNMSClass(ReflectionUtil.java:78)
[10:18:56] [User Authenticator #1/WARN]: 	at org.mineacademy.chatcontrol.lib.remain.CompParticle.<init>(CompParticle.java:169)
[10:18:56] [User Authenticator #1/WARN]: 	at org.mineacademy.chatcontrol.lib.remain.CompParticle.<clinit>(CompParticle.java:24)
[10:18:56] [User Authenticator #1/WARN]: 	at org.mineacademy.chatcontrol.lib.visual.VisualizedRegion.<init>(VisualizedRegion.java:38)
[10:18:56] [User Authenticator #1/WARN]: 	at org.mineacademy.chatcontrol.lib.region.Region.<clinit>(Region.java:32)
[10:18:56] [User Authenticator #1/WARN]: 	at org.mineacademy.chatcontrol.SenderCache.<init>(SenderCache.java:127)
[10:18:56] [User Authenticator #1/WARN]: 	at org.mineacademy.chatcontrol.SenderCache.from(SenderCache.java:459)
[10:18:56] [User Authenticator #1/WARN]: 	at org.mineacademy.chatcontrol.listener.PlayerListener.onPreLogin(PlayerListener.java:87)
[10:18:56] [User Authenticator #1/WARN]: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[10:18:56] [User Authenticator #1/WARN]: 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[10:18:56] [User Authenticator #1/WARN]: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[10:18:56] [User Authenticator #1/WARN]: 	at java.lang.reflect.Method.invoke(Unknown Source)
[10:18:56] [User Authenticator #1/WARN]: 	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:334)
[10:18:56] [User Authenticator #1/WARN]: 	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[10:18:56] [User Authenticator #1/WARN]: 	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:507)
[10:18:56] [User Authenticator #1/WARN]: 	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:489)
[10:18:56] [User Authenticator #1/WARN]: 	at net.minecraft.server.network.ThreadPlayerLookupUUID.fireLoginEvents(ThreadPlayerLookupUUID.java:99)
[10:18:56] [User Authenticator #1/WARN]: 	at net.minecraft.server.network.ThreadPlayerLookupUUID.run(ThreadPlayerLookupUUID.java:40)
[10:18:56] [User Authenticator #1/ERROR]: Could not pass event AsyncPlayerPreLoginEvent to ChatControlRed v10.6.4
org.bukkit.event.EventException
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:338) ~[JavaPluginLoader$1.class:1.7.10-1614.58]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[RegisteredListener.class:1.7.10-1614.58]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:507) [SimplePluginManager.class:1.7.10-1614.58]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:489) [SimplePluginManager.class:1.7.10-1614.58]
	at net.minecraft.server.network.ThreadPlayerLookupUUID.fireLoginEvents(ThreadPlayerLookupUUID.java:99) [ThreadPlayerLookupUUID.class:?]
	at net.minecraft.server.network.ThreadPlayerLookupUUID.run(ThreadPlayerLookupUUID.java:40) [ThreadPlayerLookupUUID.class:?]
Caused by: java.lang.ExceptionInInitializerError
	at org.mineacademy.chatcontrol.lib.visual.VisualizedRegion.<init>(VisualizedRegion.java:38) ~[ChatControl-Red-10.6.4.jar:?]
	at org.mineacademy.chatcontrol.lib.region.Region.<clinit>(Region.java:32) ~[ChatControl-Red-10.6.4.jar:?]
	at org.mineacademy.chatcontrol.SenderCache.<init>(SenderCache.java:127) ~[ChatControl-Red-10.6.4.jar:?]
	at org.mineacademy.chatcontrol.SenderCache.from(SenderCache.java:459) ~[ChatControl-Red-10.6.4.jar:?]
	at org.mineacademy.chatcontrol.listener.PlayerListener.onPreLogin(PlayerListener.java:87) ~[ChatControl-Red-10.6.4.jar:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_291]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_291]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_291]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_291]
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:334) ~[JavaPluginLoader$1.class:1.7.10-1614.58]
	... 5 more
Caused by: java.lang.RuntimeException: Fatal error setting up CompParticle, see above
	at org.mineacademy.chatcontrol.lib.remain.CompParticle.<init>(CompParticle.java:204) ~[ChatControl-Red-10.6.4.jar:?]
	at org.mineacademy.chatcontrol.lib.remain.CompParticle.<clinit>(CompParticle.java:24) ~[ChatControl-Red-10.6.4.jar:?]
	at org.mineacademy.chatcontrol.lib.visual.VisualizedRegion.<init>(VisualizedRegion.java:38) ~[ChatControl-Red-10.6.4.jar:?]
	at org.mineacademy.chatcontrol.lib.region.Region.<clinit>(Region.java:32) ~[ChatControl-Red-10.6.4.jar:?]
	at org.mineacademy.chatcontrol.SenderCache.<init>(SenderCache.java:127) ~[ChatControl-Red-10.6.4.jar:?]
	at org.mineacademy.chatcontrol.SenderCache.from(SenderCache.java:459) ~[ChatControl-Red-10.6.4.jar:?]
	at org.mineacademy.chatcontrol.listener.PlayerListener.onPreLogin(PlayerListener.java:87) ~[ChatControl-Red-10.6.4.jar:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_291]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_291]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_291]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_291]
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:334) ~[JavaPluginLoader$1.class:1.7.10-1614.58]
	... 5 more
[10:18:56] [User Authenticator #1/INFO]: UUID of player KyadCK is 5bd32234-4e15-3d89-8d03-855abb04ca57
[10:18:57] [Netty IO #2/INFO]: Client protocol version 2
[10:18:57] [Netty IO #2/INFO]: Client attempting to join with 3 mods : [email protected],[email protected],[email protected]
[10:18:57] [Netty IO #2/INFO]: Attempting connection with missing mods [kimagine] at CLIENT
[10:18:57] [Server thread/INFO]: [Server thread] Server side modded connection established
[10:18:57] [Server thread/INFO]: KyadCK[/127.0.0.1:62223] logged in with entity id 502 at ([World] 244.5, 69.0, 145.5)
[10:18:57] [Server thread/ERROR]: Could not pass event PlayerJoinEvent to ChatControlRed v10.6.4
org.bukkit.event.EventException
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:338) ~[JavaPluginLoader$1.class:1.7.10-1614.58]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[RegisteredListener.class:1.7.10-1614.58]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:507) [SimplePluginManager.class:1.7.10-1614.58]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:492) [SimplePluginManager.class:1.7.10-1614.58]
	at net.minecraft.server.management.ServerConfigurationManager.func_72377_c(ServerConfigurationManager.java:369) [oi.class:?]
	at net.minecraft.server.management.ServerConfigurationManager.initializeConnectionToPlayer(ServerConfigurationManager.java:223) [oi.class:?]
	at cpw.mods.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:200) [NetworkDispatcher.class:1.7.10-1614.58]
	at cpw.mods.fml.common.network.handshake.NetworkDispatcher.completeHandshake(NetworkDispatcher.java:475) [NetworkDispatcher.class:1.7.10-1614.58]
	at cpw.mods.fml.common.network.internal.HandshakeCompletionHandler.channelRead0(HandshakeCompletionHandler.java:21) [HandshakeCompletionHandler.class:1.7.10-1614.58]
	at cpw.mods.fml.common.network.internal.HandshakeCompletionHandler.channelRead0(HandshakeCompletionHandler.java:11) [HandshakeCompletionHandler.class:1.7.10-1614.58]
	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) [SimpleChannelInboundHandler.class:?]
	at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
	at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [MessageToMessageDecoder.class:?]
	at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) [MessageToMessageCodec.class:?]
	at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
	at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [DefaultChannelPipeline.class:?]
	at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169) [EmbeddedChannel.class:?]
	at cpw.mods.fml.common.network.internal.FMLProxyPacket.func_148833_a(FMLProxyPacket.java:77) [FMLProxyPacket.class:1.7.10-1614.58]
	at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:245) [ej.class:?]
	at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:181) [nc.class:?]
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:1023) [MinecraftServer.class:?]
	at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:432) [lt.class:?]
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:841) [MinecraftServer.class:?]
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:693) [MinecraftServer.class:?]
	at java.lang.Thread.run(Unknown Source) [?:1.8.0_291]
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.mineacademy.chatcontrol.lib.region.Region
	at org.mineacademy.chatcontrol.SenderCache.<init>(SenderCache.java:127) ~[ChatControl-Red-10.6.4.jar:?]
	at org.mineacademy.chatcontrol.SenderCache.from(SenderCache.java:459) ~[ChatControl-Red-10.6.4.jar:?]
	at org.mineacademy.chatcontrol.SenderCache.from(SenderCache.java:445) ~[ChatControl-Red-10.6.4.jar:?]
	at org.mineacademy.chatcontrol.listener.PlayerListener.onJoin(PlayerListener.java:125) ~[ChatControl-Red-10.6.4.jar:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_291]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_291]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_291]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_291]
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:334) ~[JavaPluginLoader$1.class:1.7.10-1614.58]
	... 26 more

Constant spam (every tick) while joined from Server log;

[10:18:57] [Server thread/WARN]: [ChatControlRed] Task #10 for ChatControlRed v10.6.4 generated an exception
java.lang.NoClassDefFoundError: Could not initialize class org.mineacademy.chatcontrol.lib.region.Region
	at org.mineacademy.chatcontrol.SenderCache.<init>(SenderCache.java:127) ~[ChatControl-Red-10.6.4.jar:?]
	at org.mineacademy.chatcontrol.SenderCache.from(SenderCache.java:459) ~[ChatControl-Red-10.6.4.jar:?]
	at org.mineacademy.chatcontrol.SenderCache.from(SenderCache.java:445) ~[ChatControl-Red-10.6.4.jar:?]
	at org.mineacademy.chatcontrol.model.Bungee$SyncTask.run(Bungee.java:54) ~[ChatControl-Red-10.6.4.jar:?]
	at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftTask.run(CraftTask.java:71) ~[CraftTask.class:1.7.10-1614.58]
	at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:346) [CraftScheduler.class:1.7.10-1614.58]
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:905) [MinecraftServer.class:?]
	at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:432) [lt.class:?]
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:841) [MinecraftServer.class:?]
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:693) [MinecraftServer.class:?]
	at java.lang.Thread.run(Unknown Source) [?:1.8.0_291]

On chat attempt from Server log;

[10:19:03] [Netty IO #2/INFO]: ChatControlRed 10.6.4 encountered a NoClassDefFoundError! Please check your error.log and report this issue with the information in that file.
[10:19:03] [Netty IO #2/INFO]: java.lang.NoClassDefFoundError: Could not initialize class org.mineacademy.chatcontrol.lib.region.Region
[10:19:03] [Netty IO #2/INFO]: at org.mineacademy.chatcontrol.SenderCache.<init>(SenderCache.java:127)
[10:19:03] [Netty IO #2/INFO]: at org.mineacademy.chatcontrol.SenderCache.from(SenderCache.java:459)
[10:19:03] [Netty IO #2/INFO]: at org.mineacademy.chatcontrol.SenderCache.from(SenderCache.java:445)
[10:19:03] [Netty IO #2/INFO]: at org.mineacademy.chatcontrol.listener.ChatListener.execute(ChatListener.java:67)
[10:19:03] [Netty IO #2/INFO]: at org.mineacademy.chatcontrol.listener.ChatListener.execute(ChatListener.java:33)
[10:19:03] [Netty IO #2/INFO]: at org.mineacademy.chatcontrol.lib.event.SimpleListener.execute(SimpleListener.java:89)
[10:19:03] [Netty IO #2/INFO]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[10:19:03] [Netty IO #2/INFO]: at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:507)
[10:19:03] [Netty IO #2/INFO]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:489)
[10:19:03] [Netty IO #2/INFO]: at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98)
[10:19:03] [Netty IO #2/INFO]: at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)
[10:19:03] [Netty IO #2/INFO]: at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)
[10:19:03] [Netty IO #2/INFO]: at cpw.mods.fml.common.network.handshake.NetworkDispatcher.channelRead0(NetworkDispatcher.java:220)
[10:19:03] [Netty IO #2/INFO]: at cpw.mods.fml.common.network.handshake.NetworkDispatcher.channelRead0(NetworkDispatcher.java:47)
[10:19:03] [Netty IO #2/INFO]: at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98)
[10:19:03] [Netty IO #2/INFO]: at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)
[10:19:03] [Netty IO #2/INFO]: at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)
[10:19:03] [Netty IO #2/INFO]: at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:173)
[10:19:03] [Netty IO #2/INFO]: at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)
[10:19:03] [Netty IO #2/INFO]: at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)
[10:19:03] [Netty IO #2/INFO]: at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:173)
[10:19:03] [Netty IO #2/INFO]: at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)
[10:19:03] [Netty IO #2/INFO]: at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)
[10:19:03] [Netty IO #2/INFO]: at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:149)
[10:19:03] [Netty IO #2/INFO]: at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)
[10:19:03] [Netty IO #2/INFO]: at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)
[10:19:03] [Netty IO #2/INFO]: at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785)
[10:19:03] [Netty IO #2/INFO]: at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:100)
[10:19:03] [Netty IO #2/INFO]: at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:480)
[10:19:03] [Netty IO #2/INFO]: at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:447)
[10:19:03] [Netty IO #2/INFO]: at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:341)
[10:19:03] [Netty IO #2/INFO]: at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101)
[10:19:03] [Netty IO #2/INFO]: at java.lang.Thread.run(Unknown Source)
[10:19:03] [Netty IO #2/INFO]: !-----------------------------------------------------!
[10:19:03] [Netty IO #2/INFO]: Unhandled exception listening to AsyncPlayerChatEvent
[10:19:03] [Netty IO #2/INFO]: !-----------------------------------------------------!
[10:19:03] [Netty IO #2/INFO]: <KyadCK> test

On debug run from Server log;

[10:19:05] [Server thread/INFO]: ChatControlRed 10.6.4 encountered a NoClassDefFoundError! Please check your error.log and report this issue with the information in that file.
[10:19:05] [Server thread/INFO]: java.lang.NoClassDefFoundError: Could not initialize class org.mineacademy.chatcontrol.lib.region.Region
[10:19:05] [Server thread/INFO]: at org.mineacademy.chatcontrol.SenderCache.<init>(SenderCache.java:127)
[10:19:05] [Server thread/INFO]: at org.mineacademy.chatcontrol.SenderCache.from(SenderCache.java:459)
[10:19:05] [Server thread/INFO]: at org.mineacademy.chatcontrol.SenderCache.from(SenderCache.java:445)
[10:19:05] [Server thread/INFO]: at org.mineacademy.chatcontrol.listener.CommandListener.execute(CommandListener.java:45)
[10:19:05] [Server thread/INFO]: at org.mineacademy.chatcontrol.listener.CommandListener.execute(CommandListener.java:23)
[10:19:05] [Server thread/INFO]: at org.mineacademy.chatcontrol.lib.event.SimpleListener.execute(SimpleListener.java:89)
[10:19:05] [Server thread/INFO]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[10:19:05] [Server thread/INFO]: at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:507)
[10:19:05] [Server thread/INFO]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:492)
[10:19:05] [Server thread/INFO]: at java.lang.Thread.run(Unknown Source)
[10:19:05] [Server thread/INFO]: !-----------------------------------------------------!
[10:19:05] [Server thread/INFO]: Unhandled exception listening to PlayerCommandPreprocessEvent
[10:19:05] [Server thread/INFO]: !-----------------------------------------------------!
[10:19:05] [Server thread/INFO]: KyadCK issued server command: /chc debug
[10:19:06] [Server thread/INFO]: [ChatControlRed 10.6.4] Command /chc debug took 144.16 ms

And lastly, on Quit from Server log;

[10:19:08] [Server thread/INFO]: KyadCK lost connection: Disconnected
[10:19:08] [Server thread/ERROR]: Could not pass event PlayerQuitEvent to ChatControlRed v10.6.4
org.bukkit.event.EventException
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:338) ~[JavaPluginLoader$1.class:1.7.10-1614.58]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[RegisteredListener.class:1.7.10-1614.58]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:507) [SimplePluginManager.class:1.7.10-1614.58]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:492) [SimplePluginManager.class:1.7.10-1614.58]
	at net.minecraft.server.management.ServerConfigurationManager.disconnect(ServerConfigurationManager.java:441) [oi.class:?]
	at net.minecraft.network.NetHandlerPlayServer.func_147231_a(NetHandlerPlayServer.java:953) [nh.class:?]
	at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:174) [nc.class:?]
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:1023) [MinecraftServer.class:?]
	at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:432) [lt.class:?]
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:841) [MinecraftServer.class:?]
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:693) [MinecraftServer.class:?]
	at java.lang.Thread.run(Unknown Source) [?:1.8.0_291]
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.mineacademy.chatcontrol.lib.region.Region
	at org.mineacademy.chatcontrol.SenderCache.<init>(SenderCache.java:127) ~[ChatControl-Red-10.6.4.jar:?]
	at org.mineacademy.chatcontrol.SenderCache.from(SenderCache.java:459) ~[ChatControl-Red-10.6.4.jar:?]
	at org.mineacademy.chatcontrol.SenderCache.from(SenderCache.java:445) ~[ChatControl-Red-10.6.4.jar:?]
	at org.mineacademy.chatcontrol.listener.PlayerListener.onQuit(PlayerListener.java:307) ~[ChatControl-Red-10.6.4.jar:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_291]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_291]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_291]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_291]
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:334) ~[JavaPluginLoader$1.class:1.7.10-1614.58]
	... 11 more
[10:19:08] [Server thread/INFO]: KyadCK left the game.

@kangarko
Copy link
Owner

I have solved most of these errors, keep in mind that Particles are not supported on your installation. Closing, if the next version causes anything else let me know below please!

@KyadCK
Copy link
Author

KyadCK commented Sep 26, 2021

To lead with; Yes it did fix most of the issues (and all the ones I had brought up), so thank you very much for looking into fixing such an old and duct taped version at all!

Secondly, it mostly works, but two issues remain. These are not directly related to the original issue, so I can make a new issue if needed.

Issue one;
Chat outbound from GTNH (1.7.10/Thermos) to other servers goes through fine, but Chat inbound from other servers does not display;
https://i.imgur.com/FwUu16U.png

Chat is correct on all other servers, issue is isolated to Thermos, however I CAN see join/quit/switch messages from bungee control;
https://i.imgur.com/5JM2lnD.png

Specific versions in use;

Proxy; HexagonMC v277;
https://github.com/HexagonMC/BungeeCord/releases
Lobby; Paper 1.17.1-259;
https://github.com/HexagonMC/BungeeCord/releases
GTNH; Thermos 58;
https://github.com/HexagonMC/BungeeCord/releases

MySQL: True
Bungee: True
ChatControl 10.6.5
BungeeControl 3.6.5
BungeeChatAPI 2.0.0

NOTE: The MySQL library that comes with Thermos 58 may or may not work. It didn't for me, as it failed to log in to my database. I had to "borrow" a slightly updated version from Magma 1.12.2. I realize how bad that sounds from a support standpoint, but it worked for DiscordSRV, so...

I have limited the channel down to the bare minimum for testing;

# -----------------------------------------------------------------------------------------
# The default chat format used in the global channel.
# -----------------------------------------------------------------------------------------

# The parts of this format.
Parts:
  prefix:
    Message: '&7[&6L&7]'
  player-name:
    Message: '[&2{player_nick}&7]'
  message:
    Message: ' &f{message}'
# -----------------------------------------------------------------------------------------
# The default chat format used in the global channel.
# -----------------------------------------------------------------------------------------

# The parts of this format.
Parts:
  prefix:
    Message: '&7[&1GTNH&7]'
  player-name:
    Message: '[&2{player_nick}&7]'
  message:
    Message: ' &f{message}'

I see no errors about this in ChatControl/BungeeControl related to these incoming chats, BUT;

Issue two;
Join gets absolutely spammed in console/error log about the Particle issue on Thermos;

------------------------------------[ 26.09.2021 15:01:35 ]-----------------------------------
ChatControlRed 10.6.5 encountered a ReflectionException
Running Cauldron 1.7.10-R0.1-SNAPSHOT and Java 1.8.0_292
Plugins: BungeeChatAPI v1.0.1, LuckPerms v5.3.68, Vault v1.7.3-b131, PlaceholderAPI v2.10.10, ProtocolLib v3.6.4, DiscordSRV v1.24.0, TriggerReactor v3.2.3, ChatControlRed v10.6.5, BungeeTabListPlus v3.4.4
----------------------------------------------------------------------------------------------

More Information: 
Could not find class: net.minecraft.server.v1_7_R4.PacketPlayOutWorldParticles
ReflectionException Report: Could not find class: net.minecraft.server.v1_7_R4.PacketPlayOutWorldParticles
	 at org.mineacademy.chatcontrol.lib.ReflectionUtil.lookupClass(ReflectionUtil.java:585)
	 at org.mineacademy.chatcontrol.lib.ReflectionUtil.getNMSClass(ReflectionUtil.java:98)
	 at org.mineacademy.chatcontrol.lib.ReflectionUtil.getNMSClass(ReflectionUtil.java:78)
	 at org.mineacademy.chatcontrol.lib.remain.CompParticle.<init>(CompParticle.java:173)
	 at org.mineacademy.chatcontrol.lib.remain.CompParticle.<init>(CompParticle.java:155)
	 at org.mineacademy.chatcontrol.lib.remain.CompParticle.<clinit>(CompParticle.java:120)
	 at org.mineacademy.chatcontrol.lib.visual.VisualizedRegion.<init>(VisualizedRegion.java:38)
	 at org.mineacademy.chatcontrol.lib.region.Region.<clinit>(Region.java:32)
	 at org.mineacademy.chatcontrol.SenderCache.<init>(SenderCache.java:127)
	 at org.mineacademy.chatcontrol.SenderCache.from(SenderCache.java:459)
	 at org.mineacademy.chatcontrol.listener.PlayerListener.onPreLogin(PlayerListener.java:87)
	 at java.lang.reflect.Method.invoke(Method.java:498)
	 at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:334)
	 at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
	 at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:507)
	 at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:489)
----------------------------------------------------------------------------------------------
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: ChatControlRed 10.6.5 encountered a ReflectionException! Please check your error.log and report this issue with the information in that file.�[m
[15:01:35] [User Authenticator #1/INFO]: UUID of player KyadCK is ec5cca7c-64d6-4621-90d9-d8bbb5322d36

Any hope this can be suppressed if otherwise working as intended?

@kangarko
Copy link
Owner

I can have a look later this week, likely the error can be mitigated but I am afraid I won't be able to help with the chat not being properly distributed on Bungee

@kangarko kangarko reopened this Sep 27, 2021
@KyadCK
Copy link
Author

KyadCK commented Sep 28, 2021

I would appreciate the error suppression but wouldn't the thermos server getting chat from BungeeControl on server switch imply that it is indeed getting something distributed to it?

I checked the channel logs via /chc log all channel:global, and I can see the logged chat from both servers as expected, so the SQL connection seems fine, but when I run /ch list I get conflicting answers;

https://i.imgur.com/z97fqX8.png

and I get an error;

------------------------------------[ 28.09.2021 02:55:19 ]-----------------------------------
ChatControlRed 10.6.5 encountered a ReflectionException
Running Cauldron 1.7.10-R0.1-SNAPSHOT and Java 1.8.0_292
Plugins: BungeeChatAPI v1.0.1, LuckPerms v5.3.68, Vault v1.7.3-b131, PlaceholderAPI v2.10.10, ProtocolLib v3.6.4, DiscordSRV v1.24.0, TriggerReactor v3.2.3, ChatControlRed v10.6.5, Crucible
----------------------------------------------------------------------------------------------

More Information: 
Could not find class: net.minecraft.server.v1_7_R4.IChatBaseComponent
ReflectionException Report: Could not find class: net.minecraft.server.v1_7_R4.IChatBaseComponent
	 at org.mineacademy.chatcontrol.lib.ReflectionUtil.lookupClass(ReflectionUtil.java:585)
	 at org.mineacademy.chatcontrol.lib.ReflectionUtil.getNMSClass(ReflectionUtil.java:98)
	 at org.mineacademy.chatcontrol.lib.ReflectionUtil.getNMSClass(ReflectionUtil.java:78)
	 at org.mineacademy.chatcontrol.lib.remain.BungeeChatProvider.sendComponent0(Remain.java:2678)
	 at org.mineacademy.chatcontrol.lib.remain.BungeeChatProvider.sendComponent(Remain.java:2658)
	 at org.mineacademy.chatcontrol.lib.remain.Remain.sendComponent(Remain.java:926)
	 at org.mineacademy.chatcontrol.lib.model.SimpleComponent.sendAs(SimpleComponent.java:444)
	 at org.mineacademy.chatcontrol.lib.model.SimpleComponent.send(SimpleComponent.java:409)
	 at org.mineacademy.chatcontrol.lib.model.SimpleComponent.send(SimpleComponent.java:396)
	 at org.mineacademy.chatcontrol.lib.plugin.FoundationListener.onCommand(FoundationListener.java:136)
	 at java.lang.reflect.Method.invoke(Method.java:498)
	 at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330)
	 at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76)
	 at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
	 at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:506)
	 at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:491)
	 at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:1350)
	 at net.minecraft.network.NetHandlerPlayServer.chat(NetHandlerPlayServer.java:1213)
	 at org.bukkit.craftbukkit.v1_7_R4.entity.CraftPlayer.chat(CraftPlayer.java:311)
	 at org.mineacademy.chatcontrol.lib.model.ChatPaginator.send(ChatPaginator.java:225)
	 at org.mineacademy.chatcontrol.command.ChannelList.lambda$onChannelCommand$0(ChannelList.java:132)
	 at org.mineacademy.chatcontrol.command.ChatControlCommands$GenericSubCommand.lambda$null$7(ChatControlCommands.java:815)
	 at org.mineacademy.chatcontrol.command.ChatControlCommands.handleCallbackCommand(ChatControlCommands.java:951)
	 at org.mineacademy.chatcontrol.command.ChatControlCommands.access$100(ChatControlCommands.java:60)
	 at org.mineacademy.chatcontrol.command.ChatControlCommands$GenericSubCommand.lambda$pollCaches$9(ChatControlCommands.java:814)
	 at org.mineacademy.chatcontrol.PlayerCache.lambda$null$8(PlayerCache.java:1109)
	 at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftTask.run(CraftTask.java:76)
	 at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:355)
----------------------------------------------------------------------------------------------

I enabled the chat forwarder for BungeeControl for the Thermos server and disabled bungee support in ChatControl on Thermos and I'm seeing chat come through both ways now;

https://i.imgur.com/VSjK4Xt.png

but obviously it isn't formatted.

I understand that you do not have control over if Bungee sends packets or not, or if Spigot/Thermos receive them and direct them properly, and I have verified via Chatcontrol's Debug/Bungee option in settings that ChatControl on the Thermos server is not "seeing" the messages come through like the 1.17.1 server is... but I am getting SOME packets, both from other servers ChatControl (or raw spigot/bungee chat events), and from BungeeControl... just not in a way that ChatControl on Thermos can interpret?

Is there a way I can help narrow down exactly where it is failing?

I could pack up a test environment configured the same way as my network quickly enough, and Hexacord/Crucible (newest Thermos fork) still get updates. They have an issue for a different plugin that describes a potential fix/workaround for a stack trace similar to the one above, but I do not know enough about java/plugin development to know what it really means for you.

This is the link to said issue on their end;
CrucibleMC/Crucible#77

@KyadCK
Copy link
Author

KyadCK commented Sep 29, 2021

Actually, follow up;

If this is not fixable, can this setting for BungeeControl;

# -------------------------------------------------------------------------------------------------
# Chat relay is used for servers that do not have ChatControl installed to forward chat.
# [WARNING] This only forwards chat, no filtering is applied for these servers.
# -------------------------------------------------------------------------------------------------
Chat_Forwarding:
  
  # Enable this feature?
  Enabled: false
  
  # List of what servers do not have ChatControl and need chat forwarded to them?
  Server_List:
  - 'GTNH'

be changed to be a "to" and "from" field like so?

# -------------------------------------------------------------------------------------------------
# Chat relay is used for servers that do not have ChatControl installed to forward chat.
# [WARNING] This only forwards chat, no filtering is applied for these servers.
# -------------------------------------------------------------------------------------------------
Chat_Forwarding:
  
  # Enable this feature?
  Enabled: false
  
  # List of what servers do not have ChatControl and need chat forwarded to them?
  To_Server_List:
  - 'GTNH'

  # List of what servers do not have ChatControl and need chat forwarded from them?
  From_Server_List: []

If I enable chat forwarding for the server, I get unformatted chat in on thermos as expected, but I also get unformatted chat broadcasted to EVERY server from thermos. I already get formatted messages from my thermos server to others, so I only want other server's messages sent to the Thermos server, not both ways.

I can then try to cancel the chat events that start with "<" on thermos and just do an "[Other][Nick pulled from PAPI] Message" or something, so at least chat is only abnormal on one server.

I only use one channel anyway, so this workaround would be enough in the absence of full support.

@kangarko
Copy link
Owner

kangarko commented Oct 6, 2021

Sorry for the delay, Thermos is not on our priority list but I will be having a look in 1-2 days.

@kangarko
Copy link
Owner

kangarko commented Oct 7, 2021

In the next version, I managed to patch all of the errors on the latest Thermos fork: https://i.imgur.com/DsB3Q6t.png

Sure, we can do that. I have added the option of To_Servers and From_Servers to the next version for BungeeControl Red.

@kangarko kangarko closed this as completed Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants