MonsterIRC

MonsterIRC

24.4k Downloads

NullPointerException when hooking with Vault 1.2.8

sowiszcze opened this issue ยท 1 comments

commented

After updating MonsterIRC to version 1.31 I've started to constantly get NullPointerException when MonsterIRC starts hooking with Vault version 1.2.8 and PermissionsBukkit 1.2. This is what I get in console:

07:30:10 [INFO] [IRC] Vault permissions detected; hooking: PermissionsBukkit v1.2
07:30:10 [SEVERE] Error occurred while enabling MonsterIRC v1.31 (Is it up to date?): null
java.lang.NullPointerException
at org.monstercraft.irc.hooks.VaultChatHook.(VaultChatHook.java:30)
at org.monstercraft.irc.managers.HookManager.(HookManager.java:36)
at org.monstercraft.irc.IRC.onEnable(IRC.java:48)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:379)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174)
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:357)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:344)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

No idea what is wrong, everything worked correctly with MinsterIRC 1.25. I am sure to have latest version of all these plugins.

commented

Should be fixed in 1.32