EngineHub / CommandBook

General and administrative commands
https://enginehub.org/commandbook/
GNU Lesser General Public License v3.0
145 stars 105 forks source link

Error #269

Closed LadyCailinBot closed 4 years ago

LadyCailinBot commented 10 years ago

CMDBOOK-2411 - Reported by Rahl

Hello. I am quite dumb in logs so i cant understand what is going wrong. I am useing craftbukkit-1.7.2-R0.2 and commandbook 2.4 Here is error: [12:14:28] [Server thread/INFO]: [CommandBook] Enabling CommandBook v2.4:1692-75bb1c8,master [12:14:28] [Server thread/INFO]: [CommandBook] Maximum wrapper compatibility is enabled. Some features have been disabled to be compatible with poorly written server wrappers. [12:14:28] [Server thread/ERROR]: Error occurred while enabling CommandBook v2.4:1692-75bb1c8,master (Is it up to date?) java.lang.NoSuchMethodError: org.bukkit.OfflinePlayer.getUniqueId()Ljava/util/UUID; at com.sk89q.commandbook.util.entity.player.UUIDUtil.convert(UUIDUtil.java:14) ~[?:?] at com.sk89q.commandbook.bans.CSVBanDatabase.load(CSVBanDatabase.java:119) ~[?:?] at com.sk89q.commandbook.bans.BansComponent.enable(BansComponent.java:53) ~[?:?] at com.zachsthings.libcomponents.ComponentManager.enableComponents(ComponentManager.java:66) ~[?:?] at com.zachsthings.libcomponents.bukkit.BasePlugin.onEnable(BasePlugin.java:99) ~[?:?] at com.sk89q.commandbook.CommandBook.onEnable(CommandBook.java:96) ~[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:218) ~[craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:384) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:298) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:280) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.m(MinecraftServer.java:342) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.g(MinecraftServer.java:319) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.a(MinecraftServer.java:275) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:175) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks]

LadyCailinBot commented 10 years ago

Comment by Rahl

And another 1 error is : [12:55:34] [Server thread/ERROR]: Could not pass event PlayerQuitEvent to CommandBook v2.4:1692-75bb1c8,master org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) ~[craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:481) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:466) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.PlayerList.disconnect(PlayerList.java:281) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:702) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:130) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:655) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] Caused by: java.lang.NoSuchMethodError: org.bukkit.Bukkit.getOfflinePlayer(Ljava/util/UUID;)Lorg/bukkit/OfflinePlayer; at com.sk89q.commandbook.session.SessionComponent.migrate(SessionComponent.java:302) ~[?:?] at com.sk89q.commandbook.session.SessionComponent.getUserConfiguration(SessionComponent.java:256) ~[?:?] at com.sk89q.commandbook.session.SessionComponent.onPlayerQuit(SessionComponent.java:403) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_45] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ~[craftbukkit-1.7.2-R0.2.jar:git-Bukkit-1.7.2-R0.2-b2974jnks] ... 11 more

LadyCailinBot commented 10 years ago

Comment by Dark_Arc

You need to get a newer build of craftbukkit

LadyCailinBot commented 10 years ago

Comment by Rahl

I am making online server 1.7.2 version and commandbook have errors in any build i tried R0.1 R0.2 R0.3 R0.4...

LadyCailinBot commented 10 years ago

Comment by Rahl

and it sad that it is workable with 1.7.2 ... So whats wrong?

LadyCailinBot commented 10 years ago

Comment by Dark_Arc

That's my bad Alex. It only works with 1.7.5 R0.1+ sorry for the confusion I'll update the bukkit dev page appropriately shortly.