Siguza / VirtualPack

Bukkit Plugin "VirtualPack"
http://dev.bukkit.org/bukkit-plugins/virtualpack/
7 stars 10 forks source link

VirtualPack Dev #13 Console Errors #3

Closed ghost closed 11 years ago

ghost commented 11 years ago

Using VirtualPack build #13, these errors occur. On build #12, no errors occur.

2013-01-11 18:31:33 [INFO] [VirtualPack] Enabling VirtualPack v2.1 2013-01-11 18:31:33 [SEVERE] [VirtualPack] COULD NOT LOAD USER DATA! 2013-01-11 18:31:33 [SEVERE] java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Ljava.lang.String; 2013-01-11 18:31:33 [SEVERE] at net.drgnome.virtualpack.util.Perm.getGroups(Perm.java:58) 2013-01-11 18:31:33 [SEVERE] at net.drgnome.virtualpack.VPack.(VPack.java:41) 2013-01-11 18:31:33 [SEVERE] at net.drgnome.virtualpack.VPack.(VPack.java:86) 2013-01-11 18:31:33 [SEVERE] at net.drgnome.virtualpack.VPlugin.load(VPlugin.java:433) 2013-01-11 18:31:33 [SEVERE] at net.drgnome.virtualpack.VPlugin.loadFlatfile(VPlugin.java:426) 2013-01-11 18:31:33 [SEVERE] at net.drgnome.virtualpack.VPlugin.loadUserData(VPlugin.java:344) 2013-01-11 18:31:33 [SEVERE] at net.drgnome.virtualpack.VPlugin.init(VPlugin.java:94) 2013-01-11 18:31:33 [SEVERE] at net.drgnome.virtualpack.VPlugin.onEnable(VPlugin.java:181) 2013-01-11 18:31:33 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) 2013-01-11 18:31:33 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) 2013-01-11 18:31:33 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) 2013-01-11 18:31:33 [SEVERE] at org.bukkit.craftbukkit.v1_4_6.CraftServer.loadPlugin(CraftServer.java:322) 2013-01-11 18:31:33 [SEVERE] at org.bukkit.craftbukkit.v1_4_6.CraftServer.enablePlugins(CraftServer.java:304) 2013-01-11 18:31:33 [SEVERE] at net.minecraft.server.v1_4_6.MinecraftServer.j(MinecraftServer.java:326) 2013-01-11 18:31:33 [SEVERE] at net.minecraft.server.v1_4_6.MinecraftServer.e(MinecraftServer.java:305) 2013-01-11 18:31:33 [SEVERE] at net.minecraft.server.v1_4_6.MinecraftServer.a(MinecraftServer.java:264) 2013-01-11 18:31:33 [SEVERE] at net.minecraft.server.v1_4_6.DedicatedServer.init(DedicatedServer.java:149) 2013-01-11 18:31:33 [SEVERE] at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:404) 2013-01-11 18:31:33 [SEVERE] at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849)

2013-01-11 18:31:36 [SEVERE] Could not pass event PlayerLoginEvent to VirtualPack v2.1 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:35) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.v1_4_6.PlayerList.attemptLogin(PlayerList.java:275) at net.minecraft.server.v1_4_6.PendingConnection.d(PendingConnection.java:121) at net.minecraft.server.v1_4_6.PendingConnection.c(PendingConnection.java:45) at net.minecraft.server.v1_4_6.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:44) at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:29) at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:585) at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:481) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:416) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Ljava.lang.String; at net.drgnome.virtualpack.util.Perm.getGroups(Perm.java:58) at net.drgnome.virtualpack.VPack.(VPack.java:41) at net.drgnome.virtualpack.VPlugin.getPack(VPlugin.java:258) at net.drgnome.virtualpack.VEvents.handlePlayerLogin(VEvents.java:43) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 14 more

Siguza commented 11 years ago

Fixed with dev build #14 ;)