1 - Errors on Console Commands
What steps will reproduce the problem?
1. Try to use commands in console.
What is the expected output? What do you see instead?
Command works. Instead it produces a gnarly error.
What version of the product are you using?
3.1
Do you have an error log of what happened?
> rename a_nub SuperNub
19:51:51 [WARNING] Unexpected exception while parsing console command
org.bukkit.command.CommandException: Unhandled exception executing command 'rena
me' in plugin DispNameChanger v3.0
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:358)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:354)
at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:506)
at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:485)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.command.Coloured
ConsoleSender cannot be cast to org.bukkit.entity.Player
at me.captain.dnc.DispNameChanger.onCommand(DispNameChanger.java:129)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
... 7 more
| User | When | Change |
|---|---|---|
| SniperFodder | Nov 08, 2011 at 13:22 UTC | Changed status from Fixed to Verified |
| SniperFodder | Nov 08, 2011 at 13:20 UTC | Changed status from Started to Fixed |
| SniperFodder | Nov 08, 2011 at 04:50 UTC | Changed assigned to from mgunnett to SniperFodder |
| mgunnett | Nov 08, 2011 at 02:35 UTC | Changed milestone from None to Command Rewrite & Feature Implementation v4.0 |
| mgunnett | Oct 29, 2011 at 09:15 UTC | Changed status from Accepted to Started |
| mgunnett | Oct 29, 2011 at 07:30 UTC | Create |
Facts
- Last updated
- Mar 30, 2012
- Reported
- Oct 29, 2011
- Status
- Verified - QA has verified that the fix has worked.
- Type
- Defect - A shortcoming, fault, or imperfection
- Priority
- Medium - Normal priority.
- Votes
- 1
- Component
- DispNameChanger
- Milestone
- Command Rewrite & Feature Implementation v4.0