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 when running level command without UltimateStacker #306

Closed
tastybento opened this issue Apr 20, 2024 · 0 comments · Fixed by #307
Closed

Error when running level command without UltimateStacker #306

tastybento opened this issue Apr 20, 2024 · 0 comments · Fixed by #307
Assignees
Labels
in progress this is being worked on Type: Bug

Comments

@tastybento
Copy link
Member

Expected behavior

No error

Observed/Actual behavior

[15:13:15 INFO]: mrfloris issued server command: /skyblock level
[15:13:15 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing 'skyblock level' in world.bentobox.bskyblock.BSkyBlock$1(skyblock)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:165) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_20_R3.CraftServer.dispatchCommand(CraftServer.java:999) ~[paper-1.20.4.jar:git-Paper-488]
        at org.bukkit.craftbukkit.v1_20_R3.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:64) ~[paper-1.20.4.jar:git-Paper-488]
        at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73) ~[brigadier-1.2.9.jar:?]
        at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:31) ~[paper-1.20.4.jar:git-Paper-488]
        at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:19) ~[paper-1.20.4.jar:git-Paper-488]
        at net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8) ~[paper-1.20.4.jar:git-Paper-488]
        at net.minecraft.commands.execution.CommandQueueEntry.a(CommandQueueEntry.java:5) ~[paper-1.20.4.jar:git-Paper-488]
        at net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:103) ~[paper-1.20.4.jar:git-Paper-488]
        at net.minecraft.commands.Commands.executeCommandInContext(Commands.java:434) ~[?:?]
        at net.minecraft.commands.Commands.performCommand(Commands.java:336) ~[?:?]
        at net.minecraft.commands.Commands.performCommand(Commands.java:323) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.performChatCommand(ServerGamePacketListenerImpl.java:2230) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$14(ServerGamePacketListenerImpl.java:2190) ~[?:?]
        at net.minecraft.util.thread.BlockableEventLoop.lambda$submitAsync$0(BlockableEventLoop.java:59) ~[?:?]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
        at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.20.4.jar:git-Paper-488]
        at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:149) ~[?:?]
        at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
        at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1465) ~[paper-1.20.4.jar:git-Paper-488]
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:194) ~[paper-1.20.4.jar:git-Paper-488]
        at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:123) ~[?:?]
        at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1442) ~[paper-1.20.4.jar:git-Paper-488]
        at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1365) ~[paper-1.20.4.jar:git-Paper-488]
        at net.minecraft.util.thread.BlockableEventLoop.runAllTasks(BlockableEventLoop.java:112) ~[?:?]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1557) ~[paper-1.20.4.jar:git-Paper-488]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1226) ~[paper-1.20.4.jar:git-Paper-488]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[paper-1.20.4.jar:git-Paper-488]
        at java.lang.Thread.run(Thread.java:1570) ~[?:?]
Caused by: java.lang.NoClassDefFoundError: com/craftaro/ultimatestacker/api/utils/Stackable
        at world.bentobox.level.calculators.Pipeliner.addIsland(Pipeliner.java:92) ~[Level-2.13.0-SNAPSHOT-b563.jar:?]
        at world.bentobox.level.LevelsManager.calculateLevel(LevelsManager.java:133) ~[Level-2.13.0-SNAPSHOT-b563.jar:?]
        at world.bentobox.level.commands.IslandLevelCommand.scanIsland(IslandLevelCommand.java:90) ~[Level-2.13.0-SNAPSHOT-b563.jar:?]
        at world.bentobox.level.commands.IslandLevelCommand.execute(IslandLevelCommand.java:70) ~[Level-2.13.0-SNAPSHOT-b563.jar:?]
        at world.bentobox.bentobox.api.commands.CompositeCommand.call(CompositeCommand.java:292) ~[BentoBox-2.3.0.jar:?]
        at world.bentobox.bentobox.api.commands.CompositeCommand.execute(CompositeCommand.java:260) ~[BentoBox-2.3.0.jar:?]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        ... 28 more

Steps/models to reproduce

Latest Jenkins Level.

BentoBox version

> bbox version
[15:14:00 INFO]: Running PAPER 1.20.4.
[15:14:00 INFO]: (git-Paper-488 (MC: 1.20.4))
[15:14:00 INFO]: BentoBox version: 2.3.0
[15:14:00 INFO]: Database: JSON
[15:14:00 INFO]: Loaded Game Worlds:
[15:14:00 INFO]: acid (acid): Overworld
[15:14:00 INFO]: cave (cave): Overworld
[15:14:00 INFO]: oneblock (oneblock): Overworld
[15:14:00 INFO]: parkour (parkour): Overworld
[15:14:00 INFO]: skyblock (skyblock): Overworld
[15:14:00 INFO]: skygrid (skygrid): Overworld
[15:14:00 INFO]: Loaded Addons:
[15:14:00 INFO]: AcidIsland 1.19.0-SNAPSHOT-b1016 (ENABLED)
[15:14:00 INFO]: AOneBlock 1.17.0-SNAPSHOT-b400 (ENABLED)
[15:14:00 INFO]: Biomes 2.2.0-SNAPSHOT-b258 (ENABLED)
[15:14:00 INFO]: Border 4.2.2-SNAPSHOT-b197 (ENABLED)
[15:14:00 INFO]: BSkyBlock 1.18.0-SNAPSHOT-b761 (ENABLED)
[15:14:00 INFO]: CaveBlock 1.19.0-SNAPSHOT-b444 (ENABLED)
[15:14:00 INFO]: Challenges 1.3.0 (ENABLED)
[15:14:00 INFO]: FarmersDance 1.1.0-SNAPSHOT (ENABLED)
[15:14:00 INFO]: Greenhouses 1.8.0-SNAPSHOT-b370 (ENABLED)
[15:14:00 INFO]: Level 2.13.0-SNAPSHOT-b563 (ENABLED)
[15:14:00 INFO]: Limits 1.21.0-SNAPSHOT-b327 (ENABLED)
[15:14:00 INFO]: MagicCobblestoneGenerator 2.5.2-SNAPSHOT-b272 (ENABLED)
[15:14:00 INFO]: Parkour 1.3.1-SNAPSHOT-b86 (ENABLED)
[15:14:00 INFO]: SkyGrid 2.0.0-SNAPSHOT-b426 (ENABLED)
[15:14:00 INFO]: TopBlock 1.0.2-SNAPSHOT-b25 (ENABLED)
[15:14:00 INFO]: Warps 1.15.0-SNAPSHOT-b362 (ENABLED)
>

Plugin list

No response

Other

No response

@tastybento tastybento self-assigned this Apr 20, 2024
@tastybento tastybento added the in progress this is being worked on label Apr 20, 2024
@tastybento tastybento changed the title Error when running level command Error when running level command without UltimateStacker Apr 20, 2024
@tastybento tastybento reopened this May 5, 2024
tastybento added a commit that referenced this issue May 5, 2024
* Update tipped arrows in GUI Panel

* Version 2.13.0

* Add more string replacements for /is level output (#303)

* Update hooks and fix UltimateStacker API (#305)

* Isolate UltimateStacker imports so no errors if US is not installed (#307) Fixes #306

* Implement a cache for top tens (#309)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in progress this is being worked on Type: Bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant