Error occurred while enabling Champ3 v1.0 (Is it up to date?)

Discussion in 'Plugin Development' started by zJanny, Dec 10, 2019.

Thread Status:
Not open for further replies.
  1. Offline

    zJanny

    Code:
     Error occurred while enabling Champ3 v1.0 (Is it up to date?)
    java.lang.IllegalArgumentException: Name cannot be null
            at org.apache.commons.lang.Validate.notNull(Validate.java:192) ~[patched_1.14.4.jar:git-Paper-235]
            at org.bukkit.craftbukkit.v1_14_R1.CraftServer.getWorld(CraftServer.java:1079) ~[patched_1.14.4.jar:git-Paper-235]
            at org.bukkit.Bukkit.getWorld(Bukkit.java:525) ~[patched_1.14.4.jar:git-Paper-235]
            at at.Champ3.zJanny.commands.Lootdrop.<init>(Lootdrop.java:35) ~[?:?]
            at at.Champ3.zJanny.main.Main.onEnable(Main.java:131) ~[?:?]
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.14.4.jar:git-Paper-235]
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:338) ~[patched_1.14.4.jar:git-Paper-235]
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:420) ~[patched_1.14.4.jar:git-Paper-235]
            at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugin(CraftServer.java:467) ~[patched_1.14.4.jar:git-Paper-235]
            at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugins(CraftServer.java:381) ~[patched_1.14.4.jar:git-Paper-235]
            at org.bukkit.craftbukkit.v1_14_R1.CraftServer.reload(CraftServer.java:859) ~[patched_1.14.4.jar:git-Paper-235]
            at org.bukkit.Bukkit.reload(Bukkit.java:610) ~[patched_1.14.4.jar:git-Paper-235]
            at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:54) ~[patched_1.14.4.jar:git-Paper-235]
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[patched_1.14.4.jar:git-Paper-235]
            at org.bukkit.craftbukkit.v1_14_R1.CraftServer.dispatchCommand(CraftServer.java:739) ~[patched_1.14.4.jar:git-Paper-235]
            at org.bukkit.craftbukkit.v1_14_R1.CraftServer.dispatchServerCommand(CraftServer.java:701) ~[patched_1.14.4.jar:git-Paper-235]
            at net.minecraft.server.v1_14_R1.DedicatedServer.handleCommandQueue(DedicatedServer.java:456) ~[patched_1.14.4.jar:git-Paper-235]
            at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:418) ~[patched_1.14.4.jar:git-Paper-235]
            at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:1098) ~[patched_1.14.4.jar:git-Paper-235]
            at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:925) ~[patched_1.14.4.jar:git-Paper-235]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_231]
    Hello can someone help me with this error?
     
  2. Offline

    timtower Moderator Moderator

  3. Offline

    zJanny

    In which class? Lootdrop or Main

    Works thank you

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Dec 10, 2019
Thread Status:
Not open for further replies.

Share This Page