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

Typed the command incorrectly and found this exception. #9

Open
NullCase opened this issue Mar 21, 2019 · 3 comments
Open

Typed the command incorrectly and found this exception. #9

NullCase opened this issue Mar 21, 2019 · 3 comments
Labels

Comments

@NullCase
Copy link

NullCase commented Mar 21, 2019

21.03 00:57:09 [Server] WARN Unexpected exception while parsing console command "claimexpire delay  -60"
21.03 00:57:09 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'claimexpire' in plugin ClaimslistClassifier v1.5
21.03 00:57:09 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[patched_1.13.2.jar:git-Paper-561]
21.03 00:57:09 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[patched_1.13.2.jar:git-Paper-561]
21.03 00:57:09 [Server] INFO at org.bukkit.craftbukkit.v1_13_R2.CraftServer.dispatchCommand(CraftServer.java:734) ~[patched_1.13.2.jar:git-Paper-561]
21.03 00:57:09 [Server] INFO at org.bukkit.craftbukkit.v1_13_R2.CraftServer.dispatchServerCommand(CraftServer.java:696) ~[patched_1.13.2.jar:git-Paper-561]
21.03 00:57:09 [Server] INFO at net.minecraft.server.v1_13_R2.DedicatedServer.handleCommandQueue(DedicatedServer.java:483) ~[patched_1.13.2.jar:git-Paper-561]
21.03 00:57:09 [Server] INFO at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:440) ~[patched_1.13.2.jar:git-Paper-561]
21.03 00:57:09 [Server] INFO at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:938) ~[patched_1.13.2.jar:git-Paper-561]
21.03 00:57:09 [Server] INFO at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:836) ~[patched_1.13.2.jar:git-Paper-561]
21.03 00:57:09 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
21.03 00:57:09 [Server] INFO Caused by: java.lang.IllegalArgumentException: Name cannot be empty
21.03 00:57:09 [Server] INFO at org.apache.commons.lang.Validate.notEmpty(Validate.java:321) ~[patched_1.13.2.jar:git-Paper-561]
21.03 00:57:09 [Server] INFO at org.bukkit.craftbukkit.v1_13_R2.CraftServer.getOfflinePlayer(CraftServer.java:1449) ~[patched_1.13.2.jar:git-Paper-561]
21.03 00:57:09 [Server] INFO at com.robomwm.claimslistclassifier.command.ClaimExpireCommand.getPlayer(ClaimExpireCommand.java:53) ~[?:?]
21.03 00:57:09 [Server] INFO at com.robomwm.claimslistclassifier.command.ClaimExpireCommand.onCommand(ClaimExpireCommand.java:83) ~[?:?]
21.03 00:57:09 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[patched_1.13.2.jar:git-Paper-561]
21.03 00:57:09 [Server] INFO ... 8 more
@RoboMWM
Copy link
Collaborator

RoboMWM commented Mar 21, 2019

weird, I guess console doesn't strip out extra spaces like the client (or server validating client?) does when sending a message.

Since I made some stupid algorithm to attempt to find a player's name if the expected arguments exceed the required parameters, this isn't necessarily an easy fix, unless I redo the commands for this feature. Which for this one, there are only two, so if you're okay with that I can do that.

@NullCase
Copy link
Author

Isn't necessarily easy.

I'm OK with leaving it, at least for now.

@RoboMWM RoboMWM added the wontfix label Jan 3, 2020
@RoboMWM
Copy link
Collaborator

RoboMWM commented Jan 3, 2020

Leaving as this unless the issue's scope becomes more widespread I guess.

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

No branches or pull requests

2 participants