Vault

Vault

7M Downloads

Get error when add vault to simpleclans+mchat

boris0215 opened this issue ยท 3 comments

commented

2012-09-30 12:40:36 [WARNING] [SimpleClans] Task #32 for SimpleClans v2.4.1 generated an exception
java.lang.NullPointerException
at net.milkbowl.vault.chat.plugins.Chat_mChatSuite.getPlayerPrefix(Chat_mChatSuite.java:102)
at net.sacredlabyrinth.phaed.simpleclans.managers.PermissionsManager.getPrefix(PermissionsManager.java:418)
at net.sacredlabyrinth.phaed.simpleclans.managers.ClanManager.updateDisplayName(ClanManager.java:372)
at net.sacredlabyrinth.phaed.simpleclans.listeners.SCPlayerListener$1.run(SCPlayerListener.java:225)
at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:52)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:321)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:509)
at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213)
at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:473)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:405)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
2012-09-30 12:41:10 [INFO] xX_VETERAN_Xx issued server command: /gm 0
2012-09-30 12:41:54 [SEVERE] Could not pass event AsyncPlayerChatEvent to SimpleClans
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:831)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:808)
at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44)
at net.minecraft.server.NetworkManager.i(NetworkManager.java:211)
at net.minecraft.server.NetworkManager.c(NetworkManager.java:332)
at net.minecraft.server.NetworkReaderThread.run(SourceFile:93)
Caused by: java.lang.NullPointerException
at net.milkbowl.vault.chat.plugins.Chat_mChatSuite.getPlayerPrefix(Chat_mChatSuite.java:102)
at net.sacredlabyrinth.phaed.simpleclans.managers.PermissionsManager.getPrefix(PermissionsManager.java:418)
at net.sacredlabyrinth.phaed.simpleclans.managers.ClanManager.updateDisplayName(ClanManager.java:372)
at net.sacredlabyrinth.phaed.simpleclans.listeners.SCPlayerListener.onPlayerChat(SCPlayerListener.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339)
... 9 more

Without Vault its working fine but when i add it i get this error and simpleclans stop integerating with mchat

commented

What version of Vault are you using?
This may be a SimpleClans issue as I see they are improperly attempting to get Chat data during the async event.

commented

Closing, as this is a version issue. Update Vault.

commented

latest version of mchat,vault and simpleclans