org.apache.commons.lang.UnhandledException: Plugin MinecraftBot v2.3.0 generated an exception while executing task 5

GitHub | sindastra | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 7#246156874

    GitHub | 6 months ago | sindastra
    org.apache.commons.lang.UnhandledException: Plugin MinecraftBot v2.3.0 generated an exception while executing task 13
  2. 0

    Does not work with 1.10.x

    GitHub | 6 months ago | sindastra
    org.apache.commons.lang.UnhandledException: Plugin MinecraftBot v2.3.0 generated an exception while executing task 5

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player;

      at com.avisenera.minecraftbot.Metrics.postPlugin()
    2. com.avisenera.minecraftbot
      Metrics$1.run
      1. com.avisenera.minecraftbot.Metrics.postPlugin(Metrics.java:334)
      2. com.avisenera.minecraftbot.Metrics.access$400(Metrics.java:68)
      3. com.avisenera.minecraftbot.Metrics$1.run(Metrics.java:243)
      3 frames
    3. org.bukkit.craftbukkit
      CraftAsyncTask.run
      1. org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:71)
      2. org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
      2 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames