FactionChat

FactionChat

125k Downloads

MCStats throws a java.lang.NoSuchMethodError exception when loading on Tekkit Classic 1.2.5

shinji257 opened this issue ยท 0 comments

commented

This is actually plugin breaking even though it is 3rd party code. The only workaround is to actually opt out of Metrics so that the code isn't run. The code may have to be modified to use the older task scheduler. MCStats started using the newer task scheduler methods in R6 making it incompatible with older versions of bukkit however it may also means older versions of MCStats can't interface with the website now.

2014-08-01 03:42:02 [SEVERE] Error occurred while enabling FactionChat v1.792 (Is it up to date?)
java.lang.NoSuchMethodError: org.bukkit.scheduler.BukkitScheduler.runTaskTimerAsynchronously(Lorg/bukkit/plugin/Plugin;Ljava/lang/Runnable;JJ)Lorg/bukkit/scheduler/BukkitTask;
    at nz.co.lolnet.james137137.mcstats.Metrics.start(Metrics.java:202)
    at nz.co.lolnet.james137137.FactionChat.FactionChat.runMetrics(FactionChat.java:648)
    at nz.co.lolnet.james137137.FactionChat.FactionChat.onEnable(FactionChat.java:71)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:386)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:264)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:246)
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:387)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:374)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:208)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)