org.bukkit.command.CommandException Unhandled exception executing command 'srn' in plugin SimpleRandomNumber v2.0
I know that this plugin is compatible with 1.7.2 because I can run it on my PC test server and the plugin works fine. The only thing I can think of is there is a difference with how NFO processes the command. I use a .bat file to run the craftbukkit.jar. The permissions are all set up properly and I'm at a loss for what is causing the problem.
Here is the full error as shown in the console:
Code: Select all
org.bukkit.command.CommandException: Unhandled exception executing command 'srn' in plugin SimpleRandomNumber v2.0
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[craftbukkit-1.7.2-R0.1-20131209.222809-30.jar:git-Bukkit-1.6.4-R2.0-37-g4857595-b2951jnks]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192) ~[craftbukkit-1.7.2-R0.1-20131209.222809-30.jar:git-Bukkit-1.6.4-R2.0-37-g4857595-b2951jnks]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:542) ~[craftbukkit-1.7.2-R0.1-20131209.222809-30.jar:git-Bukkit-1.6.4-R2.0-37-g4857595-b2951jnks]
at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:930) [craftbukkit-1.7.2-R0.1-20131209.222809-30.jar:git-Bukkit-1.6.4-R2.0-37-g4857595-b2951jnks]
at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:812) [craftbukkit-1.7.2-R0.1-20131209.222809-30.jar:git-Bukkit-1.6.4-R2.0-37-g4857595-b2951jnks]
at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28) [craftbukkit-1.7.2-R0.1-20131209.222809-30.jar:git-Bukkit-1.6.4-R2.0-37-g4857595-b2951jnks]
at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:47) [craftbukkit-1.7.2-R0.1-20131209.222809-30.jar:git-Bukkit-1.6.4-R2.0-37-g4857595-b2951jnks]
at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146) [craftbukkit-1.7.2-R0.1-20131209.222809-30.jar:git-Bukkit-1.6.4-R2.0-37-g4857595-b2951jnks]
at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craftbukkit-1.7.2-R0.1-20131209.222809-30.jar:git-Bukkit-1.6.4-R2.0-37-g4857595-b2951jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:651) [craftbukkit-1.7.2-R0.1-20131209.222809-30.jar:git-Bukkit-1.6.4-R2.0-37-g4857595-b2951jnks]
at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit-1.7.2-R0.1-20131209.222809-30.jar:git-Bukkit-1.6.4-R2.0-37-g4857595-b2951jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:541) [craftbukkit-1.7.2-R0.1-20131209.222809-30.jar:git-Bukkit-1.6.4-R2.0-37-g4857595-b2951jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:453) [craftbukkit-1.7.2-R0.1-20131209.222809-30.jar:git-Bukkit-1.6.4-R2.0-37-g4857595-b2951jnks]
at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit-1.7.2-R0.1-20131209.222809-30.jar:git-Bukkit-1.6.4-R2.0-37-g4857595-b2951jnks]
Caused by: java.lang.NullPointerException
at org.bukkit.ChatColor.translateAlternateColorCodes(ChatColor.java:203) ~[craftbukkit-1.7.2-R0.1-20131209.222809-30.jar:git-Bukkit-1.6.4-R2.0-37-g4857595-b2951jnks]
at com.gmail.jameshealey1994.simplerandomnumber.SimpleRandomNumber.broadcastResult(SimpleRandomNumber.java:252) ~[?:?]
at com.gmail.jameshealey1994.simplerandomnumber.SimpleRandomNumber.rollDice(SimpleRandomNumber.java:122) ~[?:?]
at com.gmail.jameshealey1994.simplerandomnumber.SimpleRandomNumber.onCommand(SimpleRandomNumber.java:88) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[craftbukkit-1.7.2-R0.1-20131209.222809-30.jar:git-Bukkit-1.6.4-R2.0-37-g4857595-b2951jnks]
... 13 more