EngineHub / CommandBook

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

Error enabling plugin in 1.13 #292

Closed LadyCailinBot closed 4 years ago

LadyCailinBot commented 5 years ago

CMDBOOK-2452 - Reported by Murreey

Updating to 1.13.2, and CommandBook is now no longer able to start up.

Stacktrace:

[17:48:27 ERROR]: Error occurred while enabling CommandBook v2.5-SNAPSHOT.1773-7c3efaa (Is it up to date?)
java.lang.NoClassDefFoundError: com/sk89q/worldedit/blocks/ItemType
        at com.sk89q.commandbook.util.item.ItemUtil.getCommandItem(ItemUtil.java:97) ~[?:?]
        at com.sk89q.commandbook.util.item.ItemUtil.getItem(ItemUtil.java:60) ~[?:?]
        at com.sk89q.commandbook.kits.FlatFileKitsManager.load(FlatFileKitsManager.java:104) ~[?:?]
        at com.sk89q.commandbook.kits.KitsComponent.enable(KitsComponent.java:52) ~[?:?]
        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:265) ~[patched_1.13.2.jar:git-Paper-616]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:334) ~[patched_1.13.2.jar:git-Paper-616]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:412) ~[patched_1.13.2.jar:git-Paper-616]
        at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugin(CraftServer.java:443) ~[patched_1.13.2.jar:git-Paper-616]
        at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugins(CraftServer.java:357) ~[patched_1.13.2.jar:git-Paper-616]
        at net.minecraft.server.v1_13_R2.MinecraftServer.l(MinecraftServer.java:608) ~[patched_1.13.2.jar:git-Paper-616]
        at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:570) ~[patched_1.13.2.jar:git-Paper-616]
        at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:431) ~[patched_1.13.2.jar:git-Paper-616]
        at net.minecraft.server.v1_13_R2.DedicatedServer.init(DedicatedServer.java:316) ~[patched_1.13.2.jar:git-Paper-616]
        at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:787) ~[patched_1.13.2.jar:git-Paper-616]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_201]
Caused by: java.lang.ClassNotFoundException: com.sk89q.worldedit.blocks.ItemType
        at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_201]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:140) ~[patched_1.13.2.jar:git-Paper-616]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[patched_1.13.2.jar:git-Paper-616]
        at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_201]
        at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_201]
        ... 18 more
[17:48:27 INFO]: [CommandBook] Disabling CommandBook v2.5-SNAPSHOT.1773-7c3efaa
[17:48:27 ERROR]: Error occurred while disabling CommandBook v2.5-SNAPSHOT.1773-7c3efaa (Is it up to date?)
java.lang.NullPointerException: null
        at com.sk89q.commandbook.JingleNoteComponent.disable(JingleNoteComponent.java:63) ~[?:?]
        at com.zachsthings.libcomponents.ComponentManager.unloadComponents(ComponentManager.java:77) ~[?:?]
        at com.zachsthings.libcomponents.bukkit.BasePlugin.onDisable(BasePlugin.java:63) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:267) ~[patched_1.13.2.jar:git-Paper-616]
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:368) ~[patched_1.13.2.jar:git-Paper-616]
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:444) ~[patched_1.13.2.jar:git-Paper-616]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:338) ~[patched_1.13.2.jar:git-Paper-616]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:412) ~[patched_1.13.2.jar:git-Paper-616]
        at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugin(CraftServer.java:443) ~[patched_1.13.2.jar:git-Paper-616]
        at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugins(CraftServer.java:357) ~[patched_1.13.2.jar:git-Paper-616]
        at net.minecraft.server.v1_13_R2.MinecraftServer.l(MinecraftServer.java:608) ~[patched_1.13.2.jar:git-Paper-616]
        at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:570) ~[patched_1.13.2.jar:git-Paper-616]
        at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:431) ~[patched_1.13.2.jar:git-Paper-616]
        at net.minecraft.server.v1_13_R2.DedicatedServer.init(DedicatedServer.java:316) ~[patched_1.13.2.jar:git-Paper-616]
        at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:787) ~[patched_1.13.2.jar:git-Paper-616]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_201]

I'm running the latest CommandBook build #1773, latest WorldEdit 7 build #4134 and Paper 1.13.2 build 616.

Thanks.

LadyCailinBot commented 5 years ago

Comment by wizjany

Cmdbook hasn't been supported since MC 1.8 (~5 years ago?)

LadyCailinBot commented 5 years ago

Comment by Murreey

@wizjany I can't find anywhere saying that, from the wiki to the Bukkit dev page, and it's still on the list of projects on the EngineHub website. The last build was only 9 months ago.

LadyCailinBot commented 5 years ago

Comment by wizjany