Plugin.yml error

Discussion in 'Plugin Development' started by Kjellllllllll, Sep 20, 2016.

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

    Kjellllllllll

    Console:
    Code:
    [19:34:27 ERROR]: Could not load 'plugins\ProjectHub.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
            at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:164) ~[spigot.jar:git-Spigot-550ebac-7019900]
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:133) [spigot.jar:git-Spigot-550ebac-7019900]
            at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugins(CraftServer.java:291) [spigot.jar:git-Spigot-550ebac-7019900]
            at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:152) [spigot.jar:git-Spigot-550ebac-7019900]
            at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:505) [spigot.jar:git-Spigot-550ebac-7019900]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_101]
    Caused by: org.yaml.snakeyaml.error.YAMLException: java.nio.charset.MalformedInputException: Input length = 1
            at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:200) ~[spigot.jar:git-Spigot-550ebac-7019900]
            at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:60) ~[spigot.jar:git-Spigot-550ebac-7019900]
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:412) ~[spigot.jar:git-Spigot-550ebac-7019900]
            at org.bukkit.plugin.PluginDescriptionFile.<init>(PluginDescriptionFile.java:232) ~[spigot.jar:git-Spigot-550ebac-7019900]
            at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:159) ~[spigot.jar:git-Spigot-550ebac-7019900]
            ... 5 more
    Caused by: java.nio.charset.MalformedInputException: Input length = 1
            at java.nio.charset.CoderResult.throwException(Unknown Source) ~[?:1.8.0_101]
            at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_101]
            at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_101]
            at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_101]
            at org.yaml.snakeyaml.reader.UnicodeReader.read(UnicodeReader.java:123) ~[spigot.jar:git-Spigot-550ebac-7019900]
            at java.io.Reader.read(Unknown Source) ~[?:1.8.0_101]
            at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:184) ~[spigot.jar:git-Spigot-550ebac-7019900]
            at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:60) ~[spigot.jar:git-Spigot-550ebac-7019900]
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:412) ~[spigot.jar:git-Spigot-550ebac-7019900]
            at org.bukkit.plugin.PluginDescriptionFile.<init>(PluginDescriptionFile.java:232) ~[spigot.jar:git-Spigot-550ebac-7019900]
            at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:159) ~[spigot.jar:git-Spigot-550ebac-7019900]
            ... 5 more
    Plugin.yml:
    Code:
    name: ProjectHub
    version: 1
    main: dk.KjéllllL.ProjectHub.MainFile
    author: KjéllllL
    description: Basic commands for hub servers!
    Anyone please help me, tell what you need :D
     
  2. Online

    timtower Moderator Moderator

  3. Offline

    Kjellllllllll

    Thanks, but now im getting this one :

    Code:
    [19:46:23 ERROR]: Error occurred while enabling ProjectHub v1 (Is it up to date?)
    java.lang.NullPointerException
            at dk.KjellllL.ProjectHub.MainFile.registerCommands(MainFile.java:24) ~[?:?]
            at dk.KjellllL.ProjectHub.MainFile.onEnable(MainFile.java:12) ~[?:?]
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[spigot.jar:git-Spigot-550ebac-7019900]
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:335) [spigot.jar:git-Spigot-550ebac-7019900]
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot.jar:git-Spigot-550ebac-7019900]
            at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugin(CraftServer.java:356) [spigot.jar:git-Spigot-550ebac-7019900]
            at org.bukkit.craftbukkit.v1_8_R1.CraftServer.enablePlugins(CraftServer.java:316) [spigot.jar:git-Spigot-550ebac-7019900]
            at org.bukkit.craftbukkit.v1_8_R1.CraftServer.reload(CraftServer.java:746) [spigot.jar:git-Spigot-550ebac-7019900]
            at org.bukkit.Bukkit.reload(Bukkit.java:534) [spigot.jar:git-Spigot-550ebac-7019900]
            at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:25) [spigot.jar:git-Spigot-550ebac-7019900]
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot.jar:git-Spigot-550ebac-7019900]
            at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:646) [spigot.jar:git-Spigot-550ebac-7019900]
            at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchServerCommand(CraftServer.java:632) [spigot.jar:git-Spigot-550ebac-7019900]
            at net.minecraft.server.v1_8_R1.DedicatedServer.aM(DedicatedServer.java:353) [spigot.jar:git-Spigot-550ebac-7019900]
            at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:317) [spigot.jar:git-Spigot-550ebac-7019900]
            at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634) [spigot.jar:git-Spigot-550ebac-7019900]
            at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537) [spigot.jar:git-Spigot-550ebac-7019900]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_101]
    Never mind, it's fixed

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
  4. Offline

    ArsenArsen

    Please mark your thread as 'Solved' if your problem has been solved.

    @bwfcwalshy make a bot to say this ;D

    EDIT by Timtower: nearly impossible to detect else I would make a bot to just put it as solved
     
Thread Status:
Not open for further replies.

Share This Page