SimpleClans

SimpleClans

467k Downloads

Throws exception on login and when speaking

NuclearFej opened this issue ยท 1 comments

commented

Hi. Having an issue with mChat integration. Yes, I've noticed there's tickets about this already, but they've been closed.

Throws this on login:

2/20/2012 11:31:29 AM [WARNING] Task of 'SimpleClans' generated an exception
2/20/2012 11:31:29 AM java.lang.NoSuchMethodError: in.mDev.MiracleM4n.mChatSuite.mChatSuite.getAPI()Lin/mDev/MiracleM4n/mChatSuite/mChatAPI;
2/20/2012 11:31:29 AM at net.sacredlabyrinth.phaed.simpleclans.managers.PermissionsManager.clearSetMChatClanTag(PermissionsManager.java:162)
2/20/2012 11:31:29 AM at net.sacredlabyrinth.phaed.simpleclans.managers.ClanManager.updateDisplayName(ClanManager.java:293)
2/20/2012 11:31:29 AM at net.sacredlabyrinth.phaed.simpleclans.listeners.SCPlayerListener$1.run(SCPlayerListener.java:286)
2/20/2012 11:31:29 AM at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
2/20/2012 11:31:29 AM at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:503)
2/20/2012 11:31:29 AM at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
2/20/2012 11:31:29 AM at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

Throws this whenever someone speaks:

2/20/2012 11:31:34 AM [SEVERE] Could not pass event org.bukkit.event.player.PlayerChatEvent to SimpleClans
2/20/2012 11:31:34 AM org.bukkit.event.EventException
2/20/2012 11:31:34 AM at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
2/20/2012 11:31:34 AM at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:61)
2/20/2012 11:31:34 AM at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460)
2/20/2012 11:31:34 AM at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:749)
2/20/2012 11:31:34 AM at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:732)
2/20/2012 11:31:34 AM at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
2/20/2012 11:31:34 AM at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
2/20/2012 11:31:34 AM at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
2/20/2012 11:31:34 AM at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
2/20/2012 11:31:34 AM at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
2/20/2012 11:31:34 AM at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
2/20/2012 11:31:34 AM at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
2/20/2012 11:31:34 AM Caused by: java.lang.reflect.InvocationTargetException
2/20/2012 11:31:34 AM at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2/20/2012 11:31:34 AM at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2/20/2012 11:31:34 AM at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2/20/2012 11:31:34 AM at java.lang.reflect.Method.invoke(Unknown Source)
2/20/2012 11:31:34 AM at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
2/20/2012 11:31:34 AM ... 11 more
2/20/2012 11:31:34 AM Caused by: java.lang.NoSuchMethodError: in.mDev.MiracleM4n.mChatSuite.mChatSuite.getAPI()Lin/mDev/MiracleM4n/mChatSuite/mChatAPI;
2/20/2012 11:31:34 AM at net.sacredlabyrinth.phaed.simpleclans.managers.PermissionsManager.clearSetMChatClanTag(PermissionsManager.java:162)
2/20/2012 11:31:34 AM at net.sacredlabyrinth.phaed.simpleclans.managers.ClanManager.updateDisplayName(ClanManager.java:293)
2/20/2012 11:31:34 AM at net.sacredlabyrinth.phaed.simpleclans.listeners.SCPlayerListener.onPlayerChat(SCPlayerListener.java:264)
2/20/2012 11:31:34 AM ... 16 more

Any idea what the problem is? Thanks!

Running Bukkit 1.1-R4, mChatSuite v1.0.1 b135, SimpleClans v2.1.1

commented

This is because mChat broke their API on the latest versions. next version of SC will support the new api.