/vault-info Internal Error
olliestanley opened this issue ยท 2 comments
So you don't have to read it, it's lines 491 and 410 of Vault.java in the onCommand and infoCommand methods. These lines are:
Permission perm = getServer().getServicesManager().getRegistration(Permission.class).getProvider();
And
infoCommand(sender);
return true;
Above, return true; is the error line, was just saying that infoCommand(sender) is above it.
14:20:50 [SEVERE] null
org.bukkit.command.CommandException: Unhandled exception executing command 'vaul
t-info' in plugin Vault v1.2.15-b165
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
6)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:4
73)
at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
java:821)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
:103)
at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
:169)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:7
8)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.NullPointerException
at net.milkbowl.vault.Vault.infoCommand(Vault.java:491)
at net.milkbowl.vault.Vault.onCommand(Vault.java:410)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
... 14 more
So you don't have to read it, it's lines 491 and 410 of Vault.java in the onCommand and infoCommand methods.
are you running a custom build of Vault? It's not possible for the permission provider to be null as we load a fallback permission provider regardless of what's loaded.