Vault

Vault

7M Downloads

NullPointerException in Vault / Permission_PermissionsBukkit (1.2.8-b87)

zford opened this issue ยท 1 comments

commented

2012-02-18 09:58:44 [SEVERE] Could not pass event org.bukkit.event.player.PlayerMoveEvent to Residence
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:61)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:191)
at lishid.orebfuscator.hook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:55)
at net.minecraft.server.Packet10Flying.handle(SourceFile:126)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
at lishid.orebfuscator.hook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:44)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
... 12 more
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:571)
at java.util.ArrayList.get(ArrayList.java:349)
at net.milkbowl.vault.permission.plugins.Permission_PermissionsBukkit.getPrimaryGroup(Permission_PermissionsBukkit.java:196)
at com.bekvon.bukkit.residence.vaultinterface.ResidenceVaultAdapter.getPlayerGroup(ResidenceVaultAdapter.java:81)
at com.bekvon.bukkit.residence.permissions.PermissionManager.getPermissionsGroup(PermissionManager.java:105)
at com.bekvon.bukkit.residence.permissions.PermissionManager.getGroupNameByPlayer(PermissionManager.java:88)
at com.bekvon.bukkit.residence.protection.FlagPermissions.playerHas(FlagPermissions.java:193)
at com.bekvon.bukkit.residence.protection.ResidencePermissions.playerHas(ResidencePermissions.java:56)
at com.bekvon.bukkit.residence.protection.ResidencePermissions.playerHas(ResidencePermissions.java:47)
at com.bekvon.bukkit.residence.listeners.ResidencePlayerListener.onPlayerMove(ResidencePlayerListener.java:305)
... 16 more

commented

thanks, fixed in latest commit.