BentoBoxWorld / BentoBox

Expandable Minecraft server plugin for island-type games like SkyBlock or AcidIsland.
https://bentobox.world
Eclipse Public License 2.0
329 stars 137 forks source link

null placeholders manager error #2455

Open tastybento opened 1 month ago

tastybento commented 1 month ago

Expected behavior

No error

Observed/Actual behavior

quand j'ai exectué la commande /bentobox. Je ne peux pas exectuer la commande /boxe

[14:47:20] [Server thread/INFO]: HG2O has made the advancement [Getting an Upgrade]
[14:47:36] [Server thread/INFO]: HG2O issued server command: /bentobox
[14:47:36] [Server thread/ERROR]: null
org.bukkit.command.CommandExcepti
[14:47:20] [Server thread/INFO]: HG2O has made the advancement [Getting an Upgrade]
[14:47:36] [Server thread/INFO]: HG2O issued server command: /bentobox
[14:47:36] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing 'bentobox' in world.bentobox.bentobox.commands.BentoBoxCommand(bentobox)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:156) ~[spigot-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_20_R3.CraftServer.dispatchCommand(CraftServer.java:887) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4061-Spigot-e9ec548-366c3ca]
        at org.bukkit.craftbukkit.v1_20_R3.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:50) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4061-Spigot-e9ec548-366c3ca]
        at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73) ~[brigadier-1.2.9.jar:?]
        at net.minecraft.commands.execution.tasks.ExecuteCommand.a(SourceFile:29) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4061-Spigot-e9ec548-366c3ca]
        at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(SourceFile:13) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4061-Spigot-e9ec548-366c3ca]
        at net.minecraft.commands.execution.UnboundEntryAction.a(SourceFile:8) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4061-Spigot-e9ec548-366c3ca]
        at net.minecraft.commands.execution.CommandQueueEntry.a(SourceFile:8) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4061-Spigot-e9ec548-366c3ca]
        at net.minecraft.commands.execution.ExecutionContext.a(SourceFile:107) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4061-Spigot-e9ec548-366c3ca]
        at net.minecraft.commands.CommandDispatcher.a(CommandDispatcher.java:413) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4061-Spigot-e9ec548-366c3ca]
        at net.minecraft.commands.CommandDispatcher.performCommand(CommandDispatcher.java:335) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4061-Spigot-e9ec548-366c3ca]
        at net.minecraft.commands.CommandDispatcher.a(CommandDispatcher.java:322) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4061-Spigot-e9ec548-366c3ca]
        at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1856) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4061-Spigot-e9ec548-366c3ca]
        at net.minecraft.server.network.PlayerConnection.lambda$15(PlayerConnection.java:1818) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4061-Spigot-e9ec548-366c3ca]
        at net.minecraft.util.thread.IAsyncTaskHandler.b(SourceFile:67) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4061-Spigot-e9ec548-366c3ca]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
        at net.minecraft.server.TickTask.run(SourceFile:18) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4061-Spigot-e9ec548-366c3ca]
        at net.minecraft.util.thread.IAsyncTaskHandler.d(SourceFile:156) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4061-Spigot-e9ec548-366c3ca]
        at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(SourceFile:23) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4061-Spigot-e9ec548-366c3ca]
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1191) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4061-Spigot-e9ec548-366c3ca]
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:1) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4061-Spigot-e9ec548-366c3ca]
        at net.minecraft.util.thread.IAsyncTaskHandler.x(SourceFile:130) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4061-Spigot-e9ec548-366c3ca]
        at net.minecraft.server.MinecraftServer.bl(MinecraftServer.java:1170) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4061-Spigot-e9ec548-366c3ca]
        at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1163) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4061-Spigot-e9ec548-366c3ca]
        at net.minecraft.util.thread.IAsyncTaskHandler.c(SourceFile:139) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4061-Spigot-e9ec548-366c3ca]
        at net.minecraft.server.MinecraftServer.w_(MinecraftServer.java:1147) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4061-Spigot-e9ec548-366c3ca]
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1060) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4061-Spigot-e9ec548-366c3ca]
        at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304) ~[spigot-1.20.4-R0.1-SNAPSHOT.jar:4061-Spigot-e9ec548-366c3ca]
        at java.lang.Thread.run(Thread.java:840) ~[?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "world.bentobox.bentobox.managers.PlaceholdersManager.replacePlaceholders(org.bukkit.entity.Player, String)" because the return value of "world.bentobox.bentobox.BentoBox.getPlaceholdersManager()" is null
        at world.bentobox.bentobox.api.user.User.replacePrefixes(User.java:531) ~[?:?]
        at world.bentobox.bentobox.api.user.User.translate(User.java:500) ~[?:?]
        at world.bentobox.bentobox.api.user.User.getTranslation(User.java:464) ~[?:?]
        at world.bentobox.bentobox.api.commands.DefaultHelpCommand.execute(DefaultHelpCommand.java:60) ~[?:?]
        at world.bentobox.bentobox.commands.BentoBoxHelpCommand.execute(BentoBoxHelpCommand.java:28) ~[?:?]
        at world.bentobox.bentobox.api.commands.CompositeCommand.lambda$showHelp$0(CompositeCommand.java:763) ~[?:?]
        at java.util.Optional.map(Optional.java:260) ~[?:?]
        at world.bentobox.bentobox.api.commands.CompositeCommand.showHelp(CompositeCommand.java:763) ~[?:?]
        at world.bentobox.bentobox.commands.BentoBoxCommand.execute(BentoBoxCommand.java:37) ~[?:?]
        at world.bentobox.bentobox.api.commands.CompositeCommand.call(CompositeCommand.java:292) ~[?:?]
        at world.bentobox.bentobox.api.commands.CompositeCommand.execute(CompositeCommand.java:260) ~[?:?]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[spigot-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        ... 28 more

Steps/models to reproduce

quand j'ai exectué la commande /bentobox. Je ne peux pas exectuer la commande /boxe

BentoBox version

image

2.4.2

Server 1.20.4

Plugin list

No response

Other

No response

tastybento commented 1 month ago

Cannot replicate: https://pastebin.com/XhC530qC