Updated to latest development build and it wont load.

Discussion in 'CommandHelper' started by GodsDead, Apr 12, 2018.

  1. GodsDead

    GodsDead New Member

    Paper-1391 (MC: 1.12.2)
    CommandHelper: #3358- http://builds.enginehub.org/job/commandhelper/10123

    Updated, and it just stopped working all together.
    First error:
    Code (Text):
    [18:12:41] [Server thread/INFO]: [CommandHelper] Loading CommandHelper v3.3.2-SNAPSHOT.3358-
    [18:12:41] [Server thread/ERROR]: [org.bukkit.craftbukkit.v1_12_R1.CraftServer] org/mozilla/intl/chardet/nsICharsetDetectionObserver initializing CommandHelper v3.3.2-SNAPSHOT.3358- (Is it up to date?)
    java.lang.NoClassDefFoundError: org/mozilla/intl/chardet/nsICharsetDetectionObserver
        at com.laytonsmith.core.UpgradeLog.runTasks(UpgradeLog.java:67) ~[?:?]
        at com.laytonsmith.commandhelper.CommandHelperPlugin.onLoad(CommandHelperPlugin.java:257) ~[?:?]
        at org.bukkit.craftbukkit.v1_12_R1.CraftServer.loadPlugins(CraftServer.java:323) [patched_1.12.2.jar:git-Paper-1391]
        at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:226) [patched_1.12.2.jar:git-Paper-1391]
        at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:616) [patched_1.12.2.jar:git-Paper-1391]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161]
    Caused by: java.lang.ClassNotFoundException: org.mozilla.intl.chardet.nsICharsetDetectionObserver
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_161]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:156) ~[patched_1.12.2.jar:git-Paper-1391]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:104) ~[patched_1.12.2.jar:git-Paper-1391]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_161]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_161]
        ... 6 more
    Then the next two errors where it looks like the issue is listed:

    Code (Text):
    [18:12:46] [Server thread/INFO]: [CommandHelper] Enabling CommandHelper v3.3.2-SNAPSHOT.3358-
    [18:12:46] [Server thread/ERROR]: Error occurred while enabling CommandHelper v3.3.2-SNAPSHOT.3358- (Is it up to date?)
    java.lang.NullPointerException: null
        at com.laytonsmith.commandhelper.CommandHelperPlugin.onEnable(CommandHelperPlugin.java:312) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[patched_1.12.2.jar:git-Paper-1391]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:316) [patched_1.12.2.jar:git-Paper-1391]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [patched_1.12.2.jar:git-Paper-1391]
        at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:395) [patched_1.12.2.jar:git-Paper-1391]
        at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:344) [patched_1.12.2.jar:git-Paper-1391]
        at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:442) [patched_1.12.2.jar:git-Paper-1391]
        at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:403) [patched_1.12.2.jar:git-Paper-1391]
        at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:341) [patched_1.12.2.jar:git-Paper-1391]
        at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:293) [patched_1.12.2.jar:git-Paper-1391]
        at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:616) [patched_1.12.2.jar:git-Paper-1391]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161]
    [18:12:46] [Server thread/INFO]: [CommandHelper] Disabling CommandHelper v3.3.2-SNAPSHOT.3358-
    [18:12:46] [Server thread/WARN]: Could not find a suitable convertor! You will experience serious issues with this plugin.
    [18:12:46] [Server thread/ERROR]: Error occurred while disabling CommandHelper v3.3.2-SNAPSHOT.3358- (Is it up to date?)
    java.lang.NullPointerException: null
        at com.laytonsmith.commandhelper.CommandHelperPlugin.onDisable(CommandHelperPlugin.java:414) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:266) ~[patched_1.12.2.jar:git-Paper-1391]
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:344) [patched_1.12.2.jar:git-Paper-1391]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:320) [patched_1.12.2.jar:git-Paper-1391]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [patched_1.12.2.jar:git-Paper-1391]
        at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:395) [patched_1.12.2.jar:git-Paper-1391]
        at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:344) [patched_1.12.2.jar:git-Paper-1391]
        at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:442) [patched_1.12.2.jar:git-Paper-1391]
        at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:403) [patched_1.12.2.jar:git-Paper-1391]
        at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:341) [patched_1.12.2.jar:git-Paper-1391]
        at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:293) [patched_1.12.2.jar:git-Paper-1391]
        at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:616) [patched_1.12.2.jar:git-Paper-1391]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161]
    I assumed it would be a deprecated function I was using in my scripts, but I tried to install it locally on my dev server and it gives a different error and fails to boot!

    Windows dev environment, same Paper & CommandHelper.
    Code (Text):
    [18:30:39] [Server thread/ERROR]: Could not load 'plugins\commandhelper-3.3.2-SNAPSHOT.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/mcstats/Metrics$Plotter
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) ~[patched_1.12.2.jar:git-Paper-1391]
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[patched_1.12.2.jar:git-Paper-1391]
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [patched_1.12.2.jar:git-Paper-1391]
        at org.bukkit.craftbukkit.v1_12_R1.CraftServer.loadPlugins(CraftServer.java:318) [patched_1.12.2.jar:git-Paper-1391]
        at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:226) [patched_1.12.2.jar:git-Paper-1391]
        at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:616) [patched_1.12.2.jar:git-Paper-1391]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_161]
    Caused by: java.lang.NoClassDefFoundError: org/mcstats/Metrics$Plotter
        at java.lang.Class.forName0(Native Method) ~[?:1.8.0_161]
        at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_161]
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:82) ~[patched_1.12.2.jar:git-Paper-1391]
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:127) ~[patched_1.12.2.jar:git-Paper-1391]
        ... 6 more
    Caused by: java.lang.ClassNotFoundException: org.mcstats.Metrics$Plotter
        at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_161]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:156) ~[patched_1.12.2.jar:git-Paper-1391]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:104) ~[patched_1.12.2.jar:git-Paper-1391]
        at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_161]
        at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_161]
        at java.lang.Class.forName0(Native Method) ~[?:1.8.0_161]
        at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_161]
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:82) ~[patched_1.12.2.jar:git-Paper-1391]
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:127) ~[patched_1.12.2.jar:git-Paper-1391]
        ... 6 more
  2. PseudoKnight

    PseudoKnight Well-Known Member

    I believe this is because you didn't download the *-full.jar. The other one doesn't include various libraries, which triggers these errors whenever it tries to use them.

    As an aside: I'm not sure why we're including those artifacts on the build site, honestly, as that wouldn't be necessary when using CH as a dependency, which was the reason that was added. I'll probably ask LadyCailin about that. It's just another opportunity to confuse people. That said, if you ever see two or more files on a website and you're unsure of which to use, it's almost always the larger one.
    GodsDead likes this.