Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR occurred when reload plugin in Folia server #37

Open
1264175987 opened this issue Sep 13, 2024 · 0 comments
Open

ERROR occurred when reload plugin in Folia server #37

1264175987 opened this issue Sep 13, 2024 · 0 comments

Comments

@1264175987
Copy link

Server version : 1.21.1
Plugin version : 3.2.8

Logs:

[19:59:14 INFO]: Cirno_Saikou issued server command: /brew reload
[19:59:14 ERROR]: [ca.spottedleaf.moonrise.common.util.TickThread] Thread Region Scheduler Thread #2 failed main thread check: Cann
ot read world asynchronously
java.lang.Throwable: null
at ca.spottedleaf.moonrise.common.util.TickThread.ensureTickThread(TickThread.java:37) ~[luminol-1.21.1.jar:1.21.1-DEV-cc90
7e8]
at org.bukkit.craftbukkit.block.CraftBlock.getNMS(CraftBlock.java:80) ~[luminol-1.21.1.jar:1.21.1-DEV-cc907e8]
at org.bukkit.craftbukkit.block.CraftBlock.getBlockData(CraftBlock.java:181) ~[luminol-1.21.1.jar:1.21.1-DEV-cc907e8]
at BreweryX-3.2.8.jar/com.dre.brewery.utility.LegacyUtil.litCampfire(LegacyUtil.java:202) ~[BreweryX-3.2.8.jar:?]
at BreweryX-3.2.8.jar/com.dre.brewery.utility.LegacyUtil.isCauldronHeatsource(LegacyUtil.java:192) ~[BreweryX-3.2.8.jar:?]
at BreweryX-3.2.8.jar/com.dre.brewery.BCauldron.reload(BCauldron.java:534) ~[BreweryX-3.2.8.jar:?]
at BreweryX-3.2.8.jar/com.dre.brewery.commands.subcommands.ReloadCommand.execute(ReloadCommand.java:51) ~[BreweryX-3.2.8.ja
r:?]
at BreweryX-3.2.8.jar/com.dre.brewery.commands.CommandManager.onCommand(CommandManager.java:68) ~[BreweryX-3.2.8.jar:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.command.brigadier.bukkit.BukkitCommandNode$BukkitBrigCommand.run(BukkitCommandNode.java:91) ~[luminol-1
.21.1.jar:1.21.1-DEV-cc907e8]
at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73) ~[brigadier-1.3.10.jar:?]
at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:31) ~[luminol-1.21.1.jar:1.21.1-DEV-cc
907e8]
at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:19) ~[luminol-1.21.1.jar:1.21.1-DEV-cc
907e8]
at net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8) ~[luminol-1.21.1.jar:1.21.1
-DEV-cc907e8]
at net.minecraft.commands.execution.CommandQueueEntry.execute(CommandQueueEntry.java:5) ~[luminol-1.21.1.jar:1.21.1-DEV-cc9
07e8]
at net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:103) ~[luminol-1.21.1.jar:1.21.1
-DEV-cc907e8]
at net.minecraft.commands.Commands.executeCommandInContext(Commands.java:443) ~[luminol-1.21.1.jar:1.21.1-DEV-cc907e8]
at net.minecraft.commands.Commands.performCommand(Commands.java:350) ~[luminol-1.21.1.jar:1.21.1-DEV-cc907e8]
at net.minecraft.commands.Commands.performCommand(Commands.java:337) ~[luminol-1.21.1.jar:1.21.1-DEV-cc907e8]
at net.minecraft.commands.Commands.performCommand(Commands.java:332) ~[luminol-1.21.1.jar:1.21.1-DEV-cc907e8]
at net.minecraft.server.network.ServerGamePacketListenerImpl.performUnsignedChatCommand(ServerGamePacketListenerImpl.java:2
203) ~[luminol-1.21.1.jar:1.21.1-DEV-cc907e8]
at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$14(ServerGamePacketListenerImpl.java:
2177) ~[luminol-1.21.1.jar:1.21.1-DEV-cc907e8]
at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$tryHandleChat$17(ServerGamePacketListenerImpl.java:2341
) ~[luminol-1.21.1.jar:1.21.1-DEV-cc907e8]
at io.papermc.paper.threadedregions.EntityScheduler.executeTick(EntityScheduler.java:173) ~[luminol-1.21.1.jar:1.21.1-DEV-c
c907e8]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1711) ~[luminol-1.21.1.jar:1.21.1-DEV-cc907e8]
at io.papermc.paper.threadedregions.TickRegions$ConcreteRegionTickHandle.tickRegion(TickRegions.java:407) ~[luminol-1.21.1.
jar:1.21.1-DEV-cc907e8]
at io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:447) ~[lumino
l-1.21.1.jar:1.21.1-DEV-cc907e8]
at ca.spottedleaf.concurrentutil.scheduler.SchedulerThreadPool$TickThreadRunner.run(SchedulerThreadPool.java:546) ~[luminol
-1.21.1.jar:1.21.1-DEV-cc907e8]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
[19:59:14 ERROR]: Command exception: /brew reload
org.bukkit.command.CommandException: Unhandled exception executing command 'brew' in plugin BreweryX v3.2.8
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.command.brigadier.bukkit.BukkitCommandNode$BukkitBrigCommand.run(BukkitCommandNode.java:91) ~[luminol-1
.21.1.jar:1.21.1-DEV-cc907e8]
at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73) ~[brigadier-1.3.10.jar:?]
at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:31) ~[luminol-1.21.1.jar:1.21.1-DEV-cc
907e8]
at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:19) ~[luminol-1.21.1.jar:1.21.1-DEV-cc
907e8]
at net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8) ~[luminol-1.21.1.jar:1.21.1
-DEV-cc907e8]
at net.minecraft.commands.execution.CommandQueueEntry.execute(CommandQueueEntry.java:5) ~[luminol-1.21.1.jar:1.21.1-DEV-cc9
07e8]
at net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:103) ~[luminol-1.21.1.jar:1.21.1
-DEV-cc907e8]
at net.minecraft.commands.Commands.executeCommandInContext(Commands.java:443) ~[luminol-1.21.1.jar:1.21.1-DEV-cc907e8]
at net.minecraft.commands.Commands.performCommand(Commands.java:350) ~[luminol-1.21.1.jar:1.21.1-DEV-cc907e8]
at net.minecraft.commands.Commands.performCommand(Commands.java:337) ~[luminol-1.21.1.jar:1.21.1-DEV-cc907e8]
at net.minecraft.commands.Commands.performCommand(Commands.java:332) ~[luminol-1.21.1.jar:1.21.1-DEV-cc907e8]
at net.minecraft.server.network.ServerGamePacketListenerImpl.performUnsignedChatCommand(ServerGamePacketListenerImpl.java:2
203) ~[luminol-1.21.1.jar:1.21.1-DEV-cc907e8]
at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$14(ServerGamePacketListenerImpl.java:
2177) ~[luminol-1.21.1.jar:1.21.1-DEV-cc907e8]
at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$tryHandleChat$17(ServerGamePacketListenerImpl.java:2341
) ~[luminol-1.21.1.jar:1.21.1-DEV-cc907e8]
at io.papermc.paper.threadedregions.EntityScheduler.executeTick(EntityScheduler.java:173) ~[luminol-1.21.1.jar:1.21.1-DEV-c
c907e8]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1711) ~[luminol-1.21.1.jar:1.21.1-DEV-cc907e8]
at io.papermc.paper.threadedregions.TickRegions$ConcreteRegionTickHandle.tickRegion(TickRegions.java:407) ~[luminol-1.21.1.
jar:1.21.1-DEV-cc907e8]
at io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:447) ~[lumino
l-1.21.1.jar:1.21.1-DEV-cc907e8]
at ca.spottedleaf.concurrentutil.scheduler.SchedulerThreadPool$TickThreadRunner.run(SchedulerThreadPool.java:546) ~[luminol
-1.21.1.jar:1.21.1-DEV-cc907e8]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.IllegalStateException: Cannot read world asynchronously
at ca.spottedleaf.moonrise.common.util.TickThread.ensureTickThread(TickThread.java:38) ~[luminol-1.21.1.jar:1.21.1-DEV-cc90
7e8]
at org.bukkit.craftbukkit.block.CraftBlock.getNMS(CraftBlock.java:80) ~[luminol-1.21.1.jar:1.21.1-DEV-cc907e8]
at org.bukkit.craftbukkit.block.CraftBlock.getBlockData(CraftBlock.java:181) ~[luminol-1.21.1.jar:1.21.1-DEV-cc907e8]
at BreweryX-3.2.8.jar/com.dre.brewery.utility.LegacyUtil.litCampfire(LegacyUtil.java:202) ~[BreweryX-3.2.8.jar:?]
at BreweryX-3.2.8.jar/com.dre.brewery.utility.LegacyUtil.isCauldronHeatsource(LegacyUtil.java:192) ~[BreweryX-3.2.8.jar:?]
at BreweryX-3.2.8.jar/com.dre.brewery.BCauldron.reload(BCauldron.java:534) ~[BreweryX-3.2.8.jar:?]
at BreweryX-3.2.8.jar/com.dre.brewery.commands.subcommands.ReloadCommand.execute(ReloadCommand.java:51) ~[BreweryX-3.2.8.ja
r:?]
at BreweryX-3.2.8.jar/com.dre.brewery.commands.CommandManager.onCommand(CommandManager.java:68) ~[BreweryX-3.2.8.jar:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
... 20 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant