CommandHelper

CommandHelper

46.5k Downloads

Exception in thread "Abstraction Enum Verification Thread"

LadyCailin opened this issue ยท 3 comments

commented

CMDHELPER-2644 - Reported by szymekpl on 2013-04-13 09:21:59 UTC

Hi! I'm using the latest CH build: #1466 I'm getting such errors. Here's my pastebin: http://pastebin.com/LjYRwQ3E
When I use last 'stable' build from dev.bukkit.org I'm getting just one exception while plugin loads but besides it everything works well, but when I use latest dev builds while server is loaded I'm getting bunch of errors/exceptions.

Latest beta build of CraftBukkit #2754

commented

Comment by LadyCailin on 2013-04-16 14:38:01 UTC

Fixed in latest builds.

commented

Comment by szymekpl on 2013-04-13 09:27:01 UTC

Hmm i created temporary server where I load just CommandHelper and everything seems to be stable. I think that some plugin collides with CommandHelper (CreeperHeal maybe). Without CreeperHeal I'm getting just this error:

11:28:18 [SEVERE] Exception in thread "Abstraction Enum Verification Thread"
11:28:18 [SEVERE] java.lang.Error: CommandHelper: The method with signature publ
ic static com.laytonsmith.abstraction.enums.bukkit.BukkitMCDisplaySlot getConver
tor() was not found in com.laytonsmith.abstraction.enums.bukkit.BukkitMCDisplayS
lot Please add the following code:
private static com.laytonsmith.abstraction.enums.bukkit.BukkitMCDisplaySlot inst
ance;
public static com.laytonsmith.abstraction.enums.bukkit.BukkitMCDisplaySlot getCo
nvertor(){
        if(instance == null){
                instance = new com.laytonsmith.abstraction.enums.bukkit.BukkitMC
DisplaySlot();
        }
        return instance;
}
If you do not know what  error is, please report this to the developers.
11:28:18 [SEVERE]       at com.laytonsmith.abstraction.Implementation$1.run(Impl
ementation.java:79)
11:28:18 [SEVERE]       at java.lang.Thread.run(Unknown Source)```
commented

Comment by jb_aero on 2013-04-13 18:49:14 UTC

That error is just caused because there is code to check that enum classes have a getConvertor method. Well, that class does, it just isn't spelled right :P It will be fixed in the next scoreboard update.

Also your other errors in the first paste are entirely CreeperHeal.