Menu config error #681


  • New
  • Defect
Open
Assigned to filoghost
  • _ForgeUser27825430 created this issue Oct 14, 2016

    I made a menu simply copying and editing with Notepad++ the file example.yml

    It gives me an error in the console:
    [17:30:04] [Server thread/WARN]: org.bukkit.configuration.InvalidConfigurationException: while parsing a block collection
    in 'string', line 47, column 5:
            - 'Combatti su delle isole volan ...
            ^
    expected <block end>, but found Scalar
    in 'string', line 48, column 27:
            - 'altri giocatori! L'ultimo che rimane vince!'
                                  ^

    [17:30:04] [Server thread/WARN]:     at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:57)
    [17:30:04] [Server thread/WARN]:     at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:226)
    [17:30:04] [Server thread/WARN]:     at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:169)
    [17:30:04] [Server thread/WARN]:     at com.gmail.filoghost.chestcommands.config.yaml.PluginConfig.load(PluginConfig.java:45)
    [17:30:04] [Server thread/WARN]:     at com.gmail.filoghost.chestcommands.ChestCommands.load(ChestCommands.java:187)
    [17:30:04] [Server thread/WARN]:     at com.gmail.filoghost.chestcommands.command.CommandHandler.execute(CommandHandler.java:59)
    [17:30:04] [Server thread/WARN]:     at com.gmail.filoghost.chestcommands.command.CommandFramework.onCommand(CommandFramework.java:46)
    [17:30:04] [Server thread/WARN]:     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
    [17:30:04] [Server thread/WARN]:     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
    [17:30:04] [Server thread/WARN]:     at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641)
    [17:30:04] [Server thread/WARN]:     at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162)
    [17:30:04] [Server thread/WARN]:     at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997)
    [17:30:04] [Server thread/WARN]:     at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45)
    [17:30:04] [Server thread/WARN]:     at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1)
    [17:30:04] [Server thread/WARN]:     at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13)
    [17:30:04] [Server thread/WARN]:     at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    [17:30:04] [Server thread/WARN]:     at java.util.concurrent.FutureTask.run(Unknown Source)
    [17:30:04] [Server thread/WARN]:     at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44)
    [17:30:04] [Server thread/WARN]:     at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715)
    [17:30:04] [Server thread/WARN]:     at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
    [17:30:04] [Server thread/WARN]:     at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
    [17:30:04] [Server thread/WARN]:     at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
    [17:30:04] [Server thread/WARN]:     at java.lang.Thread.run(Unknown Source)
    [17:30:04] [Server thread/WARN]: Caused by: while parsing a block collection
    in 'string', line 47, column 5:
            - 'Combatti su delle isole volan ...
            ^
    expected <block end>, but found Scalar
    in 'string', line 48, column 27:
            - 'altri giocatori! L'ultimo che rimane vince!'
                                  ^

    [17:30:04] [Server thread/WARN]:     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:514)
    [17:30:04] [Server thread/WARN]:     at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)
    [17:30:04] [Server thread/WARN]:     at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143)
    [17:30:04] [Server thread/WARN]:     at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:198)
    [17:30:04] [Server thread/WARN]:     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:153)
    [17:30:04] [Server thread/WARN]:     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:229)
    [17:30:04] [Server thread/WARN]:     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155)
    [17:30:04] [Server thread/WARN]:     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:229)
    [17:30:04] [Server thread/WARN]:     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155)
    [17:30:04] [Server thread/WARN]:     at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    [17:30:04] [Server thread/WARN]:     at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    [17:30:04] [Server thread/WARN]:     at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120)
    [17:30:04] [Server thread/WARN]:     at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450)
    [17:30:04] [Server thread/WARN]:     at org.yaml.snakeyaml.Yaml.load(Yaml.java:369)
    [17:30:04] [Server thread/WARN]:     at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
    [17:30:04] [Server thread/WARN]:     ... 22 more
    [17:30:04] [Server thread/INFO]:
    #------------------- Chest Commands Errors -------------------#
    1) Invalid YAML configuration for the menu "example.yml". Please look at the error above, or use an online YAML parser (google is your friend).
    #-------------------------------------------------------------#

  • _ForgeUser27825430 added the tags New Defect Oct 14, 2016
  • _ForgeUser20425488 posted a comment Oct 15, 2016

    Upload your "example.yml" to http://pastebin.com and post the link here


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