Reload command crashes server! #44

Closed
opened 2023-04-12 21:56:24 +02:00 by SlayorPlayz · 5 comments
SlayorPlayz commented 2023-04-12 21:56:24 +02:00 (Migrated from github.com)

Stack trace

https://paste.gg/p/anonymous/46efd4d5148540fcb288d3aae241865c

Plugin and Datapack List

Chunky, Grim AC, Better Economy, Folia Vault

Actions to reproduce (if known)

do /rl confirm

Folia version

[19:55:41 INFO]: This server is running Folia version git-Folia-"41c5548" (MC: 1.19.4) (Implementing API version 1.19.4-R0.1-SNAPSHOT) (Git: 41c5548)

Other

/spigot reload - Doesnt crash the server

### Stack trace https://paste.gg/p/anonymous/46efd4d5148540fcb288d3aae241865c ### Plugin and Datapack List Chunky, Grim AC, Better Economy, Folia Vault ### Actions to reproduce (if known) do /rl confirm ### Folia version [19:55:41 INFO]: This server is running Folia version git-Folia-"41c5548" (MC: 1.19.4) (Implementing API version 1.19.4-R0.1-SNAPSHOT) (Git: 41c5548) ### Other /spigot reload - Doesnt crash the server
SlayorPlayz commented 2023-04-12 21:59:02 +02:00 (Migrated from github.com)

org.bukkit.command.CommandException: Unhandled exception executing 'rl confirm' in org.bukkit.command.defaults.ReloadCommand(reload)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:165) ~[folia-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R3.CraftServer.dispatchCommand(CraftServer.java:1017) ~[folia-1.19.4.jar:git-Folia-"41c5548"]
at org.bukkit.craftbukkit.v1_19_R3.CraftServer.dispatchServerCommand(CraftServer.java:948) ~[folia-1.19.4.jar:git-Folia-"41c5548"]
at net.minecraft.server.dedicated.DedicatedServer.handleConsoleInputs(DedicatedServer.java:501) ~[folia-1.19.4.jar:git-Folia-"41c5548"]
at io.papermc.paper.threadedregions.RegionizedServer.globalTick(RegionizedServer.java:197) ~[folia-1.19.4.jar:git-Folia-"41c5548"]
at io.papermc.paper.threadedregions.RegionizedServer$GlobalTickTickHandle.tickRegion(RegionizedServer.java:149) ~[folia-1.19.4.jar:git-Folia-"41c5548"]
at io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:385) ~[folia-1.19.4.jar:git-Folia-"41c5548"]
at ca.spottedleaf.concurrentutil.scheduler.SchedulerThreadPool$TickThreadRunner.run(SchedulerThreadPool.java:525) ~[folia-1.19.4.jar:git-Folia-"41c5548"]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.UnsupportedOperationException
at net.minecraft.server.MinecraftServer.execute(MinecraftServer.java:323) ~[folia-1.19.4.jar:git-Folia-"41c5548"]
at java.util.concurrent.CompletableFuture.asyncSupplyStage(CompletableFuture.java:1782) ~[?:?]
at java.util.concurrent.CompletableFuture.supplyAsync(CompletableFuture.java:2005) ~[?:?]
at net.minecraft.server.MinecraftServer.reloadResources(MinecraftServer.java:2203) ~[folia-1.19.4.jar:git-Folia-"41c5548"]
at net.minecraft.server.commands.ReloadCommand.reload(ReloadCommand.java:53) ~[?:?]
at org.bukkit.craftbukkit.v1_19_R3.CraftServer.reloadData(CraftServer.java:1163) ~[folia-1.19.4.jar:git-Folia-"41c5548"]
at org.bukkit.craftbukkit.v1_19_R3.CraftServer.reload(CraftServer.java:1097) ~[folia-1.19.4.jar:git-Folia-"41c5548"]
at org.bukkit.Bukkit.reload(Bukkit.java:930) ~[folia-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:54) ~[folia-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) ~[folia-api-1.19.4-R0.1-SNAPSHOT.jar:?]
... 8 more

org.bukkit.command.CommandException: Unhandled exception executing 'rl confirm' in org.bukkit.command.defaults.ReloadCommand(reload) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:165) ~[folia-api-1.19.4-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_19_R3.CraftServer.dispatchCommand(CraftServer.java:1017) ~[folia-1.19.4.jar:git-Folia-"41c5548"] at org.bukkit.craftbukkit.v1_19_R3.CraftServer.dispatchServerCommand(CraftServer.java:948) ~[folia-1.19.4.jar:git-Folia-"41c5548"] at net.minecraft.server.dedicated.DedicatedServer.handleConsoleInputs(DedicatedServer.java:501) ~[folia-1.19.4.jar:git-Folia-"41c5548"] at io.papermc.paper.threadedregions.RegionizedServer.globalTick(RegionizedServer.java:197) ~[folia-1.19.4.jar:git-Folia-"41c5548"] at io.papermc.paper.threadedregions.RegionizedServer$GlobalTickTickHandle.tickRegion(RegionizedServer.java:149) ~[folia-1.19.4.jar:git-Folia-"41c5548"] at io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:385) ~[folia-1.19.4.jar:git-Folia-"41c5548"] at ca.spottedleaf.concurrentutil.scheduler.SchedulerThreadPool$TickThreadRunner.run(SchedulerThreadPool.java:525) ~[folia-1.19.4.jar:git-Folia-"41c5548"] at java.lang.Thread.run(Thread.java:833) ~[?:?] Caused by: java.lang.UnsupportedOperationException at net.minecraft.server.MinecraftServer.execute(MinecraftServer.java:323) ~[folia-1.19.4.jar:git-Folia-"41c5548"] at java.util.concurrent.CompletableFuture.asyncSupplyStage(CompletableFuture.java:1782) ~[?:?] at java.util.concurrent.CompletableFuture.supplyAsync(CompletableFuture.java:2005) ~[?:?] at net.minecraft.server.MinecraftServer.reloadResources(MinecraftServer.java:2203) ~[folia-1.19.4.jar:git-Folia-"41c5548"] at net.minecraft.server.commands.ReloadCommand.reload(ReloadCommand.java:53) ~[?:?] at org.bukkit.craftbukkit.v1_19_R3.CraftServer.reloadData(CraftServer.java:1163) ~[folia-1.19.4.jar:git-Folia-"41c5548"] at org.bukkit.craftbukkit.v1_19_R3.CraftServer.reload(CraftServer.java:1097) ~[folia-1.19.4.jar:git-Folia-"41c5548"] at org.bukkit.Bukkit.reload(Bukkit.java:930) ~[folia-api-1.19.4-R0.1-SNAPSHOT.jar:?] at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:54) ~[folia-api-1.19.4-R0.1-SNAPSHOT.jar:?] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) ~[folia-api-1.19.4-R0.1-SNAPSHOT.jar:?] ... 8 more
sofianedjerbi commented 2023-04-12 23:07:02 +02:00 (Migrated from github.com)

This command should be removed, especially in Folia

This command should be removed, especially in Folia
Machine-Maker commented 2023-04-12 23:09:27 +02:00 (Migrated from github.com)

The issue probably also occurs with the minecraft:reload command. So if you just wanted to remove it, you'd want to remove both.

The issue probably also occurs with the `minecraft:reload` command. So if you just wanted to remove it, you'd want to remove both.
Feniksovich commented 2023-05-25 12:46:33 +02:00 (Migrated from github.com)

The issue probably also occurs with the minecraft:reload command. So if you just wanted to remove it, you'd want to remove both.

Will there be a replacement for it with the same behaviour (datapacks reloading)?

> The issue probably also occurs with the `minecraft:reload` command. So if you just wanted to remove it, you'd want to remove both. Will there be a replacement for it with the same behaviour (datapacks reloading)?
Spottedleaf commented 2023-07-10 06:17:16 +02:00 (Migrated from github.com)

Yeah I don't foresee reload being able to be implemented anytime.

Yeah I don't foresee reload being able to be implemented anytime.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Minecraft/Folia#44
No description provided.