NoSuchMethodError issues

Discussion in 'Spigot Plugin Help' started by Kamg300, May 27, 2016.

  1. Hey,
    I'm currently running a spigot 1.9.4 r0.1 and am getting java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player error. Below is an example of such an error:


    Code (Text):
    [15:07:52] [Craft Scheduler Thread - 7303/WARN]: Exception in thread "Craft Scheduler Thread - 7303"[15:07:52] [Craft Scheduler Thread - 7303/WARN]: org.apache.commons.lang.UnhandledException: Plugin CCLogger v3.3.3 generated an exception while executing task 31100
    at org.bukkit.craftbukkit.v1_9_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)Caused by: java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player;
    at org.mcstats.MetricsLite.postPlugin(MetricsLite.java:285)
    at org.mcstats.MetricsLite.access$200(MetricsLite.java:51)
    at org.mcstats.MetricsLite$1.run(MetricsLite.java:173)
    at org.bukkit.craftbukkit.v1_9_R2.scheduler.CraftTask.run(CraftTask.java:71)
    at org.bukkit.craftbukkit.v1_9_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
    However, there are quite a few plugins throwing out very similar errors, related to java.lang.NoSuchMethodError error. Is this an issue with the plugins, or have I missed a trick somewhere down the line.
    Thanks in advance!