MonsterIRC

MonsterIRC

24.4k Downloads

errors with bPermissions 2.9.0 and vault 1.2.12 - no chat works

dnelson opened this issue ยท 1 comments

commented

When I try to use MonsterIRC (tested with both 1.51 and 1.52 on Bukkit-1.1-R4) with the latest versions of bPermissions and Vault, I get the following errors:

When using "say" from the console:

>say woo
00:15:25 [SEVERE] Could not pass event org.bukkit.event.server.ServerCommandEvent to MonsterIRC
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.MinecraftServer.b(MinecraftServer.java:569)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
        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.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:616)
        at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
        ... 6 more
Caused by: java.lang.NullPointerException
        at de.bananaco.bpermissions.api.ApiLayer.getValue(ApiLayer.java:66)
        at net.milkbowl.vault.chat.plugins.Chat_bPermissions2.getPlayerPrefix(Chat_bPermissions2.java:98)
        at org.monstercraft.irc.plugin.util.StringUtils.getPrefix(StringUtils.java:21)
        at org.monstercraft.irc.plugin.managers.listeners.MonsterIRCListener.handleMessage(MonsterIRCListener.java:138)
        at org.monstercraft.irc.plugin.managers.listeners.MonsterIRCListener.onServerCommand(MonsterIRCListener.java:123)
        ... 11 more

When chatting from within the game:

00:15:43 [SEVERE] [MonsterIRC - Critical error detected!]
00:15:43 [SEVERE] java.lang.NullPointerException
00:15:43 [SEVERE]       at de.bananaco.bpermissions.api.ApiLayer.getValue(ApiLayer.java:66)
00:15:43 [SEVERE]       at net.milkbowl.vault.chat.plugins.Chat_bPermissions2.getPlayerPrefix(Chat_bPermissions2.java:98)
00:15:43 [SEVERE]       at org.monstercraft.irc.plugin.util.StringUtils.getPrefix(StringUtils.java:21)
00:15:43 [SEVERE]       at org.monstercraft.irc.plugin.managers.listeners.MonsterIRCListener.handleMessage(MonsterIRCListener.java:155)
00:15:43 [SEVERE]       at org.monstercraft.irc.plugin.managers.listeners.MonsterIRCListener.onPlayerChat(MonsterIRCListener.java:77)
00:15:43 [SEVERE]       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
00:15:43 [SEVERE]       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
00:15:43 [SEVERE]       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
00:15:43 [SEVERE]       at java.lang.reflect.Method.invoke(Method.java:616)
00:15:43 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
00:15:43 [SEVERE]       at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:61)
00:15:43 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460)
00:15:43 [SEVERE]       at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:749)
00:15:43 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:732)
00:15:43 [SEVERE]       at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:176)
00:15:43 [SEVERE]       at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
00:15:43 [SEVERE]       at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
00:15:43 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
00:15:43 [SEVERE]       at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:552)
00:15:43 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
00:15:43 [SEVERE]       at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
00:15:43 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
00:15:43 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
00:15:43 [INFO] [admin@new] PacketCollision: broken

When chatting in an IRC client:

00:18:46 [SEVERE] [MonsterIRC - Critical error detected!]
00:18:46 [SEVERE] java.lang.NullPointerException
00:18:46 [SEVERE]       at de.bananaco.bpermissions.api.ApiLayer.getValue(ApiLayer.java:66)
00:18:46 [SEVERE]       at net.milkbowl.vault.chat.plugins.Chat_bPermissions2.getPlayerPrefix(Chat_bPermissions2.java:98)
00:18:46 [SEVERE]       at org.monstercraft.irc.plugin.util.StringUtils.getPrefix(StringUtils.java:21)
00:18:46 [SEVERE]       at org.monstercraft.irc.ircplugin.IRC.sendGameMessage(IRC.java:220)
00:18:46 [SEVERE]       at org.monstercraft.irc.plugin.managers.handlers.IRCHandler$1.run(IRCHandler.java:500)
00:18:46 [SEVERE]       at java.lang.Thread.run(Thread.java:679)
commented

Shoulld finally be fixed, update coming later today