Error on server start-up #2


  • New
  • Defect
Open
  • _ForgeUser5726591 created this issue Jan 19, 2015

    What steps will reproduce the problem?
    Start or restart the server

    What is the expected output? What do you see instead?
    I see the below:

    [15:55:56 ERROR]: [ServerLaws] Cannot load configuration from jar
    org.bukkit.configuration.InvalidConfigurationException: expected '<document start>', but found BlockMappingStart
    in 'string', line 12, column 1:
        Version: 1.5.1
        ^
            at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:57) ~[spigot.jar:git-Spigot-b1e6da1-17962f6]
            at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:214) [spigot.jar:git-Spigot-b1e6da1-17962f6]
            at org.bukkit.plugin.java.JavaPlugin.getConfig(JavaPlugin.java:162) [spigot.jar:git-Spigot-b1e6da1-17962f6]
            at com.gmail.josemanuelgassin.ServerLaws._ServerLaws.cargarCFG(_ServerLaws.java:70) [ServerLaws.jar:?]
            at com.gmail.josemanuelgassin.ServerLaws._ServerLaws.onEnable(_ServerLaws.java:54) [ServerLaws.jar:?]
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) [spigot.jar:git-Spigot-b1e6da1-17962f6]
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:335) [spigot.jar:git-Spigot-b1e6da1-17962f6]
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot.jar:git-Spigot-b1e6da1-17962f6]
            at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugin(CraftServer.java:355) [spigot.jar:git-Spigot-b1e6da1-17962f6]
            at org.bukkit.craftbukkit.v1_8_R1.CraftServer.enablePlugins(CraftServer.java:315) [spigot.jar:git-Spigot-b1e6da1-17962f6]
            at net.minecraft.server.v1_8_R1.MinecraftServer.q(MinecraftServer.java:402) [spigot.jar:git-Spigot-b1e6da1-17962f6]
            at net.minecraft.server.v1_8_R1.MinecraftServer.k(MinecraftServer.java:370) [spigot.jar:git-Spigot-b1e6da1-17962f6]
            at net.minecraft.server.v1_8_R1.MinecraftServer.a(MinecraftServer.java:325) [spigot.jar:git-Spigot-b1e6da1-17962f6]
            at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:211) [spigot.jar:git-Spigot-b1e6da1-17962f6]
            at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:494) [spigot.jar:git-Spigot-b1e6da1-17962f6]
            at java.lang.Thread.run(Thread.java:744) [?:1.7.0_55]
    Caused by: org.yaml.snakeyaml.parser.ParserException: expected '<document start>', but found BlockMappingStart
    in 'string', line 12, column 1:
        Version: 1.5.1
        ^
            at org.yaml.snakeyaml.parser.ParserImpl$ParseDocumentStart.produce(ParserImpl.java:225) ~[spigot.jar:git-Spigot-b1e6da1-17962f6]
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[spigot.jar:git-Spigot-b1e6da1-17962f6]
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143) ~[spigot.jar:git-Spigot-b1e6da1-17962f6]
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:108) ~[spigot.jar:git-Spigot-b1e6da1-17962f6]
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120) ~[spigot.jar:git-Spigot-b1e6da1-17962f6]
            at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:481) ~[spigot.jar:git-Spigot-b1e6da1-17962f6]
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:400) ~[spigot.jar:git-Spigot-b1e6da1-17962f6]
            at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) ~[spigot.jar:git-Spigot-b1e6da1-17962f6]
            ... 15 more

    What version of the product are you using?
    The latest, 1.5.1

    Do you have an error log of what happened?
    Yes, as above.

    Please provide any additional information below.
    Spigot 1.8

    I've fixed it now by deleting the ServerLaws folder and jar, re-downloading it and then editing the config back to exactly what it was.
    Just wanted to make you aware of this in case it was something bad.

  • _ForgeUser5726591 added the tags New Defect Jan 19, 2015

To post a comment, please login or register a new account.