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

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

    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 6

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

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

      at com.avisenera.minecraftbot.MinecraftBot.log()
    2. com.avisenera.minecraftbot
      IRCManager.run
      1. com.avisenera.minecraftbot.MinecraftBot.log(MinecraftBot.java:71)
      2. com.avisenera.minecraftbot.listeners.IRCManager.start(IRCManager.java:115)
      3. com.avisenera.minecraftbot.listeners.IRCManager.start(IRCManager.java:86)
      4. com.avisenera.minecraftbot.listeners.IRCManager.run(IRCManager.java:75)
      4 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