Closed sergix44 closed 3 years ago
Same here
[02.07 00:13:02] [Server] [ERROR] Could not pass event AsyncPlayerChatEvent to Civs v1.9.4 [02.07 00:13:02] [Server] java.lang.NullPointerExceptionCannot invoke "shaded.net.kyori.adventure.platform.bukkit.BukkitAudiences.sender(org.bukkit.command.CommandSender)" because "this.bukkitAudiences" is null [02.07 00:13:02] [Server] at org.redcastlemedia.multitallented.civs.chat.ChatManager.formatMessage(ChatManager.java:71) ~[?:?] [02.07 00:13:02] [Server] at org.redcastlemedia.multitallented.civs.civilians.CivilianListener.onPlayerChat(CivilianListener.java:749) ~[?:?] [02.07 00:13:02] [Server] at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor254.execute(Unknown Source) ~[?:?] [02.07 00:13:02] [Server] at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.17.jar:git-Paper-68] [02.07 00:13:02] [Server] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[patched_1.17.jar:git-Paper-68] [02.07 00:13:02] [Server] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.17.jar:git-Paper-68] [02.07 00:13:02] [Server] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624) ~[patched_1.17.jar:git-Paper-68] [02.07 00:13:02] [Server] at io.papermc.paper.adventure.ChatProcessor.post(ChatProcessor.java:234) ~[patched_1.17.jar:git-Paper-68] [02.07 00:13:02] [Server] at io.papermc.paper.adventure.ChatProcessor.processingLegacyFirst(ChatProcessor.java:116) ~[patched_1.17.jar:git-Paper-68] [02.07 00:13:02] [Server] at io.papermc.paper.adventure.ChatProcessor.process(ChatProcessor.java:65) ~[patched_1.17.jar:git-Paper-68] [02.07 00:13:02] [Server] at net.minecraft.server.network.ServerGamePacketListenerImpl.chat(ServerGamePacketListenerImpl.java:2102) ~[?:?] [02.07 00:13:02] [Server] at net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat(ServerGamePacketListenerImpl.java:2013) ~[?:?] [02.07 00:13:02] [Server] at net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat(ServerGamePacketListenerImpl.java:1979) ~[?:?] [02.07 00:13:02] [Server] at net.minecraft.network.protocol.game.ServerboundChatPacket$1.run(ServerboundChatPacket.java:40) ~[?:?] [02.07 00:13:02] [Server] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?] [02.07 00:13:02] [Server] at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?] [02.07 00:13:02] [Server] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?] [02.07 00:13:02] [Server] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?] [02.07 00:13:02] [Server] at java.lang.Thread.run(Thread.java:831) [?:?]
So it isn't an isolated incident
fixed in #203 https://github.com/Multitallented/Civs/pull/203
This error is thrown every time a player write in chat (and the message does not appear), or also when shutting down the server: