This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
What steps will reproduce the problem?-1. write /pexrank in game or just pexrank in console (bukkit) will give the error I paste a bit down..
What is the expected output? What do you see instead?- the ordinary a explanation how to rank someone =)What version of the product are you using?- The latest 1.3?
Do you have an error log of what happened?-Yepp
>pexrank19:33:13 [WARNING] Unexpected exception while parsing console commandorg.bukkit.command.CommandException: Unhandled exception executing command 'pexrank' in plugin PEXRank v1.3 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:473) at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:469) at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:596) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:565) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)Caused by: java.lang.ArrayIndexOutOfBoundsException: 1 at com.JnaniDev.PEXRank.PEXRank.onCommand(PEXRank.java:63) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 7 more
Please provide any additional information below.
It have been working excellent before, but now, it is some wiierd stuff going on =((It is a bit annoing to give players rank manually now :( so please help! :) )
ps. I can not make any commands related to PEXRank, but PermissionsEX works as it should, I belive :)
Hello Gnilia3,
I believe that I may have an answer to you're problem. What is happening is that the /pexrank command alone will produce a parsing error because the plugin is not catching that there is nothing after it. That is to say that if you were to do /pexrank hi and nothing proceeding after hi then it will also throw a parsing error due to the fact that it is missing part of the command, but if you do /pexrank hi noob it wont throw a parsing error even if the rank and user don't exist.
This is an easy fix for the plugin creator by implementing a throws exception case.
-il_dio
To post a comment, please login or register a new account.