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

Preconditions error #9437

Open
3 tasks done
bobhenl opened this issue Jan 20, 2025 · 0 comments
Open
3 tasks done

Preconditions error #9437

bobhenl opened this issue Jan 20, 2025 · 0 comments
Labels
bug report Reports of bugs/inconsistencies

Comments

@bobhenl
Copy link

bobhenl commented Jan 20, 2025

Description of Issue

Hello, I'm getting mentioned error when calling another command from customalias

Version Information

[01:27:01 INFO]: --------------------------------------------------
[01:27:01 INFO]: CMI: 9.7.9.2 SqLite
[01:27:01 INFO]: CMILib: 1.5.2.8 
[01:27:01 INFO]: Server: Purpur(2376) 1.21.4-R0.1-SNAPSHOT-
[01:27:01 INFO]: CMI economy: Enabled Vault: 1.7.3-CMI CMI Chat: Disabled 
[01:27:01 INFO]: Modules -> 54 enabled 13 disabled: customMessages, mirror, tablist, skin, playerChatTag, disabledEnchants, chatBubble, ranks, firstJoinMessages, playerCombat, votifier, sitAnimation, namePlates
[01:27:01 INFO]: --------------------------------------------------

Errors

[01:25:57 INFO]: Failed to process command: addchangeaddition Added back `/ah claim`
[01:25:57 WARN]: java.lang.NullPointerException: command
[01:25:57 WARN]:        at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:922)
[01:25:57 WARN]:        at com.destroystokyo.paper.exception.ServerCommandException.<init>(ServerCommandException.java:28)
[01:25:57 WARN]:        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:1054)
[01:25:57 WARN]:        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:1033)
[01:25:57 WARN]:        at org.bukkit.Bukkit.dispatchCommand(Bukkit.java:1114)
[01:25:57 WARN]:        at CMI-9.7.9.2.jar//com.Zrips.CMI.Modules.SpecializedCommands.SpecializedCommandManager.dispatch(SpecializedCommandManager.java:1199)
[01:25:57 WARN]:        at CMI-9.7.9.2.jar//com.Zrips.CMI.Modules.SpecializedCommands.SpecializedCommandManager.executeCmd(SpecializedCommandManager.java:979)
[01:25:57 WARN]:        at CMI-9.7.9.2.jar//com.Zrips.CMI.Modules.SpecializedCommands.SpecializedCommandManager.process(SpecializedCommandManager.java:242)
[01:25:57 WARN]:        at CMI-9.7.9.2.jar//com.Zrips.CMI.Modules.SpecializedCommands.SpecializedCommandManager.processAliasCmdsAsPlayer(SpecializedCommandManager.java:155)
[01:25:57 WARN]:        at CMI-9.7.9.2.jar//com.Zrips.CMI.Modules.Alias.onPreprocessCommand.lambda$0(onPreprocessCommand.java:209)
[01:25:57 WARN]:        at CMILib1.5.2.8.jar//net.Zrips.CMILib.Version.Schedulers.CMIBukkitImpl.lambda$runTask$0(CMIBukkitImpl.java:33)
[01:25:57 WARN]:        at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:78)
[01:25:57 WARN]:        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:474)
[01:25:57 WARN]:        at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1850)
[01:25:57 WARN]:        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1711)
[01:25:57 WARN]:        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1370)
[01:25:57 WARN]:        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:344)
[01:25:57 WARN]:        at java.base/java.lang.Thread.run(Thread.java:1583)

Sometimes even longer:

[15:28:40] [Server thread/WARN]: java.lang.NullPointerException: command
[15:28:40] [Server thread/WARN]: 	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:922)
[15:28:40] [Server thread/WARN]: 	at com.destroystokyo.paper.exception.ServerCommandException.<init>(ServerCommandException.java:28)
[15:28:40] [Server thread/WARN]: 	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:1054)
[15:28:40] [Server thread/WARN]: 	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:1033)
[15:28:40] [Server thread/WARN]: 	at org.bukkit.Bukkit.dispatchCommand(Bukkit.java:1114)
[15:28:40] [Server thread/WARN]: 	at CMI-9.7.9.2.jar//com.Zrips.CMI.Modules.SpecializedCommands.SpecializedCommandManager.dispatch(SpecializedCommandManager.java:1199)
[15:28:40] [Server thread/WARN]: 	at CMI-9.7.9.2.jar//com.Zrips.CMI.Modules.SpecializedCommands.SpecializedCommandManager.executeCmd(SpecializedCommandManager.java:979)
[15:28:40] [Server thread/WARN]: 	at CMI-9.7.9.2.jar//com.Zrips.CMI.Modules.SpecializedCommands.SpecializedCommandManager.process(SpecializedCommandManager.java:242)
[15:28:40] [Server thread/WARN]: 	at CMI-9.7.9.2.jar//com.Zrips.CMI.Modules.SpecializedCommands.SpecializedCommandManager.processAliasCmdsAsPlayer(SpecializedCommandManager.java:155)
[15:28:40] [Server thread/WARN]: 	at CMI-9.7.9.2.jar//com.Zrips.CMI.Containers.CommandReg$ReflectCommand.execute(CommandReg.java:248)
[15:28:40] [Server thread/WARN]: 	at io.papermc.paper.command.brigadier.bukkit.BukkitCommandNode$BukkitBrigCommand.run(BukkitCommandNode.java:82)
[15:28:40] [Server thread/WARN]: 	at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73)
[15:28:40] [Server thread/WARN]: 	at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:31)
[15:28:40] [Server thread/WARN]: 	at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:19)
[15:28:40] [Server thread/WARN]: 	at net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8)
[15:28:40] [Server thread/WARN]: 	at net.minecraft.commands.execution.CommandQueueEntry.execute(CommandQueueEntry.java:5)
[15:28:40] [Server thread/WARN]: 	at net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:103)
[15:28:40] [Server thread/WARN]: 	at net.minecraft.commands.Commands.executeCommandInContext(Commands.java:456)
[15:28:40] [Server thread/WARN]: 	at net.minecraft.commands.Commands.performCommand(Commands.java:363)
[15:28:40] [Server thread/WARN]: 	at net.minecraft.commands.Commands.performCommand(Commands.java:350)
[15:28:40] [Server thread/WARN]: 	at net.minecraft.commands.Commands.performCommand(Commands.java:345)
[15:28:40] [Server thread/WARN]: 	at net.minecraft.server.network.ServerGamePacketListenerImpl.performUnsignedChatCommand(ServerGamePacketListenerImpl.java:2382)
[15:28:40] [Server thread/WARN]: 	at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$15(ServerGamePacketListenerImpl.java:2356)
[15:28:40] [Server thread/WARN]: 	at net.minecraft.server.TickTask.run(TickTask.java:18)
[15:28:40] [Server thread/WARN]: 	at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:154)
[15:28:40] [Server thread/WARN]: 	at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24)
[15:28:40] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1624)
[15:28:40] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:207)
[15:28:40] [Server thread/WARN]: 	at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:128)
[15:28:40] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1601)
[15:28:40] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1594)
[15:28:40] [Server thread/WARN]: 	at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:138)
[15:28:40] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.managedBlock(MinecraftServer.java:1545)
[15:28:40] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1555)
[15:28:40] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1391)
[15:28:40] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:344)
[15:28:40] [Server thread/WARN]: 	at java.base/java.lang.Thread.run(Thread.java:1583)

Relevant Config Sections

Relevant Plugins

No response

Agreements

  • My server is supported by CMI.
  • My version of CMI at the time of this report is up to date.
  • I have searched the github and asked around before making this report.
@bobhenl bobhenl added the bug report Reports of bugs/inconsistencies label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Reports of bugs/inconsistencies
Projects
None yet
Development

No branches or pull requests

1 participant