1.9 Errors

Discussion in 'CommandBook' started by KrNel, Mar 7, 2016.

  1. KrNel

    KrNel New Member

    Hello, thank you for the great plugins WE, WG and CB.

    But there are issues in 1.9:

    On startup:

    07.03 14:23:28 [Server] ERROR Error occurred while enabling CommandBook v2.4:1692-75bb1c8,master (Is it up to date?) 07.03 14:23:28 [Server] INFO java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player; 07.03 14:23:28 [Server] INFO at com.sk89q.commandbook.GodComponent.enable(GodComponent.java:62) ~[?:?] 07.03 14:23:28 [Server] INFO at com.zachsthings.libcomponents.ComponentManager.enableComponents(ComponentManager.java:66) ~[?:?] 07.03 14:23:28 [Server] INFO at com.zachsthings.libcomponents.bukkit.BasePlugin.onEnable(BasePlugin.java:99) ~[?:?] 07.03 14:23:28 [Server] INFO at com.sk89q.commandbook.CommandBook.onEnable(CommandBook.java:96) ~[?:?] 07.03 14:23:28 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:291) ~[spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:23:28 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:23:28 [Server] INFO at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:23:28 [Server] INFO at org.bukkit.craftbukkit.v1_9_R1.CraftServer.loadPlugin(CraftServer.java:361) [spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:23:28 [Server] INFO at org.bukkit.craftbukkit.v1_9_R1.CraftServer.enablePlugins(CraftServer.java:321) [spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:23:28 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.t(MinecraftServer.java:411) [spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:23:28 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.l(MinecraftServer.java:376) [spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:23:28 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.a(MinecraftServer.java:331) [spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:23:28 [Server] INFO at net.minecraft.server.v1_9_R1.DedicatedServer.init(DedicatedServer.java:269) [spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:23:28 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:522) [spigot49.jar:git-Spigot-7d15d07-c194444]

    Issue 2 for the /motd greeting:

    07.03 14:31:37 [Server] INFO KrNel issued server command: /motd 07.03 14:31:37 [Server] WARN com.sk89q.minecraft.util.commands.WrappedCommandException: java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player; 07.03 14:31:37 [Server] WARN at com.sk89q.minecraft.util.commands.CommandsManager.invokeMethod(CommandsManager.java:538) 07.03 14:31:37 [Server] WARN at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:516) 07.03 14:31:37 [Server] WARN at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:409) 07.03 14:31:37 [Server] WARN at com.zachsthings.libcomponents.bukkit.BukkitComponent.onCommand(BukkitComponent.java:80) 07.03 14:31:37 [Server] WARN at com.sk89q.bukkit.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:54) 07.03 14:31:37 [Server] WARN at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) 07.03 14:31:37 [Server] WARN at org.bukkit.craftbukkit.v1_9_R1.CraftServer.dispatchCommand(CraftServer.java:645) 07.03 14:31:37 [Server] WARN at net.minecraft.server.v1_9_R1.PlayerConnection.handleCommand(PlayerConnection.java:1302) 07.03 14:31:37 [Server] WARN at net.minecraft.server.v1_9_R1.PlayerConnection.a(PlayerConnection.java:1137) 07.03 14:31:37 [Server] WARN at net.minecraft.server.v1_9_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) 07.03 14:31:37 [Server] WARN at net.minecraft.server.v1_9_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) 07.03 14:31:37 [Server] WARN at net.minecraft.server.v1_9_R1.PlayerConnectionUtils$1.run(SourceFile:13) 07.03 14:31:37 [Server] WARN at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 07.03 14:31:37 [Server] WARN at java.util.concurrent.FutureTask.run(FutureTask.java:266) 07.03 14:31:37 [Server] WARN at net.minecraft.server.v1_9_R1.SystemUtils.a(SourceFile:45) 07.03 14:31:37 [Server] WARN at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:716) 07.03 14:31:37 [Server] WARN at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) 07.03 14:31:37 [Server] WARN at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:655) 07.03 14:31:37 [Server] WARN at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:554) 07.03 14:31:37 [Server] WARN at java.lang.Thread.run(Thread.java:745) 07.03 14:31:37 [Server] WARN Caused by: java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player; 07.03 14:31:37 [Server] WARN at com.sk89q.commandbook.util.ChatUtil.replaceMacros(ChatUtil.java:97) 07.03 14:31:37 [Server] WARN at com.sk89q.commandbook.StoredMessagesComponent$Commands.motd(StoredMessagesComponent.java:124) 07.03 14:31:37 [Server] WARN at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 07.03 14:31:37 [Server] WARN at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 07.03 14:31:37 [Server] WARN at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 07.03 14:31:37 [Server] WARN at java.lang.reflect.Method.invoke(Method.java:497) 07.03 14:31:37 [Server] WARN at com.sk89q.minecraft.util.commands.CommandsManager.invokeMethod(CommandsManager.java:528) 07.03 14:31:37 [Server] WARN ... 19 more

    And when players join:

    07.03 14:25:21 [Server] ERROR Could not pass event PlayerJoinEvent to CommandBook v2.4:1692-75bb1c8,master 07.03 14:25:21 [Server] INFO org.bukkit.event.EventException 07.03 14:25:21 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:25:21 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:25:21 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:25:21 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:25:21 [Server] INFO at net.minecraft.server.v1_9_R1.PlayerList.onPlayerJoin(PlayerList.java:332) [spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:25:21 [Server] INFO at net.minecraft.server.v1_9_R1.PlayerList.a(PlayerList.java:158) [spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:25:21 [Server] INFO at net.minecraft.server.v1_9_R1.LoginListener.b(LoginListener.java:144) [spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:25:21 [Server] INFO at net.minecraft.server.v1_9_R1.LoginListener.c(LoginListener.java:54) [spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:25:21 [Server] INFO at net.minecraft.server.v1_9_R1.NetworkManager.a(NetworkManager.java:232) [spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:25:21 [Server] INFO at net.minecraft.server.v1_9_R1.ServerConnection.c(ServerConnection.java:141) [spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:25:21 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:815) [spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:25:21 [Server] INFO at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:25:21 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:655) [spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:25:21 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:554) [spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:25:21 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_66] 07.03 14:25:21 [Server] INFO Caused by: java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player; 07.03 14:25:21 [Server] INFO at com.sk89q.commandbook.util.ChatUtil.replaceMacros(ChatUtil.java:97) ~[?:?] 07.03 14:25:21 [Server] INFO at com.sk89q.commandbook.StoredMessagesComponent.onPlayerJoin(StoredMessagesComponent.java:102) ~[?:?] 07.03 14:25:21 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66] 07.03 14:25:21 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_66] 07.03 14:25:21 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_66] 07.03 14:25:21 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_66] 07.03 14:25:21 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:25:21 [Server] INFO ... 14 more

    Another all the time...

    07.03 14:37:15 [Server] WARN Task #16 for CommandBook v2.4:1692-75bb1c8,master generated an exception 07.03 14:37:15 [Server] INFO java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player; 07.03 14:37:15 [Server] INFO at com.sk89q.commandbook.AFKComponent.shouldKick(AFKComponent.java:133) ~[?:?] 07.03 14:37:15 [Server] INFO at com.sk89q.commandbook.AFKComponent.run(AFKComponent.java:217) ~[?:?] 07.03 14:37:15 [Server] INFO at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:37:15 [Server] INFO at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:37:15 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:724) [spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:37:15 [Server] INFO at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:37:15 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:655) [spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:37:15 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:554) [spigot49.jar:git-Spigot-7d15d07-c194444] 07.03 14:37:15 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_66]

    Thanks for any corrections you can provide, it really takes up a lot of log space and they are constant.
  2. KrNel

    KrNel New Member

    Also /tp doesn't work:

    07.03 15:12:13 [Server] INFO KrNel issued server command: /tp Jayshow 07.03 15:12:13 [Server] WARN com.sk89q.minecraft.util.commands.WrappedCommandException: java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player; 07.03 15:12:13 [Server] WARN at com.sk89q.minecraft.util.commands.CommandsManager.invokeMethod(CommandsManager.java:538) 07.03 15:12:13 [Server] WARN at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:516) 07.03 15:12:13 [Server] WARN at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:409) 07.03 15:12:13 [Server] WARN at com.zachsthings.libcomponents.bukkit.BukkitComponent.onCommand(BukkitComponent.java:80) 07.03 15:12:13 [Server] WARN at com.sk89q.bukkit.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:54) 07.03 15:12:13 [Server] WARN at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) 07.03 15:12:13 [Server] WARN at org.bukkit.craftbukkit.v1_9_R1.CraftServer.dispatchCommand(CraftServer.java:645) 07.03 15:12:13 [Server] WARN at net.minecraft.server.v1_9_R1.PlayerConnection.handleCommand(PlayerConnection.java:1302) 07.03 15:12:13 [Server] WARN at net.minecraft.server.v1_9_R1.PlayerConnection.a(PlayerConnection.java:1137) 07.03 15:12:13 [Server] WARN at net.minecraft.server.v1_9_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) 07.03 15:12:13 [Server] WARN at net.minecraft.server.v1_9_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) 07.03 15:12:13 [Server] WARN at net.minecraft.server.v1_9_R1.PlayerConnectionUtils$1.run(SourceFile:13) 07.03 15:12:13 [Server] WARN at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 07.03 15:12:13 [Server] WARN at java.util.concurrent.FutureTask.run(FutureTask.java:266) 07.03 15:12:13 [Server] WARN at net.minecraft.server.v1_9_R1.SystemUtils.a(SourceFile:45) 07.03 15:12:13 [Server] WARN at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:716) 07.03 15:12:13 [Server] WARN at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) 07.03 15:12:13 [Server] WARN at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:655) 07.03 15:12:13 [Server] WARN at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:554) 07.03 15:12:13 [Server] WARN at java.lang.Thread.run(Thread.java:745)
  3. KrNel

    KrNel New Member

    Ban doesn't work.

    It seems only the /home command works. :)
  4. PseudoKnight

    PseudoKnight Well-Known Member

  5. PseudoKnight

    PseudoKnight Well-Known Member

  6. KrNel

    KrNel New Member

    Awesome. Thanks! I was getting the JAR from dev.bukkit files...