RonanPlugins / BetterRTP

Official wiki of the BetterRTP plugin!
https://www.spigotmc.org/resources/36081/
MIT License
114 stars 88 forks source link

CrashServer use /rtp BetterRTP 2.11.2 1.16.1 #38

Closed iLiDanMoon closed 4 years ago

iLiDanMoon commented 4 years ago

crash.txt

iLiDanMoon commented 4 years ago

[09:27:00] [Server thread/INFO]: garik4 issued server command: /rtp [09:27:13] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - git-Paper-133 (MC: 1.16.1) --- [09:27:13] [Paper Watchdog Thread/ERROR]: The server has not responded for 10 seconds! Creating thread dump

[09:27:13] [Paper Watchdog Thread/ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):

[09:27:13] [Paper Watchdog Thread/ERROR]: Current Thread: Server thread [09:27:13] [Paper Watchdog Thread/ERROR]: PID: 22 | Suspended: false | Native: false | State: TIMED_WAITING

[09:27:13] [Paper Watchdog Thread/ERROR]: java.base@11.0.7/java.lang.Thread.sleep(Native Method)

[09:27:13] [Paper Watchdog Thread/ERROR]: me.SuperRonanCraft.BetterRTP.player.Delay$$Lambda$6385/0x0000000841a1dc40.run(Unknown Source)

[09:27:13] [Paper Watchdog Thread/ERROR]: app//net.minecraft.server.v1_16_R1.MinecraftServer$$Lambda$3005/0x000000084082c440.run(Unknown Source)

[09:27:13] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---

[09:27:18] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - git-Paper-133 (MC: 1.16.1) --- [09:27:18] [Paper Watchdog Thread/ERROR]: The server has not responded for 15 seconds! Creating thread dump

[09:27:18] [Paper Watchdog Thread/ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):

[09:27:18] [Paper Watchdog Thread/ERROR]: Current Thread: Server thread [09:27:18] [Paper Watchdog Thread/ERROR]: PID: 22 | Suspended: false | Native: false | State: TIMED_WAITING

[09:27:18] [Paper Watchdog Thread/ERROR]: java.base@11.0.7/java.lang.Thread.sleep(Native Method)

[09:27:18] [Paper Watchdog Thread/ERROR]: me.SuperRonanCraft.BetterRTP.player.Delay$$Lambda$6385/0x0000000841a1dc40.run(Unknown Source)

[09:27:18] [Paper Watchdog Thread/ERROR]: app//net.minecraft.server.v1_16_R1.MinecraftServer$$Lambda$3005/0x000000084082c440.run(Unknown Source)

[09:27:18] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---

ChrisTaylor201 commented 4 years ago

I wanted to report this issue, too. I think the cause of this is the Thread.sleep() method being called in the main thread, see the code.

SuperRonanCraft commented 4 years ago

Yeah, I was made aware of this yesterday. It has to do that Delays calling the rtp code on the main thread, unlike when you bypass them it runs async. I will bw getting a hot fix for this today!

SuperRonanCraft commented 4 years ago

Just posted an update, let me know if you have any other issues!