Error coming in console ( A LOT)

So I have a PaperMC 1.12.2 Server and sometimes it spams an error in console:[18:07:26] [Server thread/FATAL]: Error executing task java.util.concurrent.ExecutionException: java.lang.NullPointerException at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_222] at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_222] at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:47) ~[minecraft_server.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:850) ~[minecraft_server.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[minecraft_server.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774) ~[minecraft_server.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666) ~[minecraft_server.jar:git-Paper-1618] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222] Caused by: java.lang.NullPointerException at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1691) ~[minecraft_server.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.PacketPlayInUseEntity.a(PacketPlayInUseEntity.java:49) ~[minecraft_server.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.PacketPlayInUseEntity.a(PacketPlayInUseEntity.java:6) ~[minecraft_server.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14) ~[minecraft_server.jar:git-Paper-1618] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_222] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_222] at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) ~[minecraft_server.jar:git-Paper-1618] ... 5 more

It also spams a lot of paper watchdog errors and the tps gets low a lot.

Please help

Please help. It is happening a lot now.

Gonna need more info than that. Namely, what’s the error?

It says that it got an error executing a task… It also says it’s fatal and the TPS goes to 8 when this happens
[Server thread/FATAL]: Error executing task java.util.concurrent.ExecutionException: java.lang.NullPointerException at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_222] at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_222] at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:47) ~[minecraft_server.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:850) ~[minecraft_server.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[minecraft_server.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774) ~[minecraft_server.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666) ~[minecraft_server.jar:git-Paper-1618] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222] Caused by: java.lang.NullPointerException at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1691) ~[minecraft_server.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.PacketPlayInUseEntity.a(PacketPlayInUseEntity.java:49) ~[minecraft_server.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.PacketPlayInUseEntity.a(PacketPlayInUseEntity.java:6) ~[minecraft_server.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14) ~[minecraft_server.jar:git-Paper-1618] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_222] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_222] at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) ~[minecraft_server.jar:git-Paper-1618] ... 5 more

Paper 1.12.2 is not supported anymore and I’ve seen many errors like this on that version. All of them which does not happen on newer versions.

Stacktrace does not contain any plugin stuff or useful information, but it says its root is PacketPlayInUseEntity, so try installing exploit fix plugins, that may help.