Doclic / NoEncryption

Removes signatures from Minecraft chat messages
GNU General Public License v3.0
224 stars 18 forks source link

NoEncryption v5.2 generated an exception while executing task 39 #126

Open Jaytak opened 11 months ago

Jaytak commented 11 months ago

Are you using the latest version of NoEncryption?

Is there an existing issue for this?

NoEncryption Version

5.2

Minecraft Version

1.20.1

Server Type/Build

This server is running Paper version git-Paper-132 MC: 1.20.1

Plugins in Use

[07:13:44] [Server thread/INFO]: Server Plugins (17): [07:13:44] [Server thread/INFO]: Bukkit Plugins: [07:13:44] [Server thread/INFO]: - BungeeGuard, CommandHook, DecentHolograms, Essentials, EssentialsChat, EssentialsSpawn, FastAsyncWorldEdit, GriefPrevention, LuckPerms, Multiverse-Core [07:13:44] [Server thread/INFO]: NoEncryption, SkinsRestorer, spark, ViaBackwards, ViaVersion, VoidGen, WorldEditSelectionVisualizer

Startup/Running Logs

[07:11:24] [Craft Scheduler Thread - 17 - NoEncryption/WARN]: [NoEncryption] Plugin NoEncryption v5.2 generated an exception while executing task 39
java.lang.NullPointerException: Cannot invoke "io.netty.channel.Channel.pipeline()" because "channel" is null
    at me.doclic.noencryption.ConnectionListener.lambda$runCatch$0(ConnectionListener.java:22) ~[NoEncryption-1.20.1-5.2.jar:?]
    at java.util.ArrayList.forEach(ArrayList.java:1511) ~[?:?]
    at java.util.Collections$SynchronizedCollection.forEach(Collections.java:2131) ~[?:?]
    at me.doclic.noencryption.ConnectionListener.runCatch(ConnectionListener.java:20) ~[NoEncryption-1.20.1-5.2.jar:?]
    at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.20.1.jar:git-Paper-132]
    at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.20.1.jar:git-Paper-132]
    at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.20.1.jar:?]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
    at java.lang.Thread.run(Thread.java:833) ~[?:?]

Reproducible Test

Im not sure what caused this, this is a failover server and no one was online at the time. The server was recently restarted. I haven't experienced this on the main server but that is running 1.19.4. I have included the whole latest.log in a Pastebin link in the anything else section just in case anything in there is of any use. The exception starts at line 183.

Anything else?

https://pastebin.com/z4mS7MZx