Aktuality  |  Články  |  Recenze
Doporučení  |  Diskuze
Grafické karty a hry  |  Procesory
Storage a RAM
Monitory  |  Ostatní
Akumulátory, EV
Robotika, AI
Průzkum vesmíru
Digimanie  |  TV Freak  |  Svět mobilně

Chyba v YAML (spěchá to)

typek.cz (140)|16.5.2012 16:41
Zdravím,
pluginy na Minecraft serveru ukládají data do yml souborů a dnes sem spouštěl server a vyhodilo mi to:
[spoiler]14:29:32 [SEVERE] null
while parsing a block mapping
in "", line 5, column 5:
EnterMessage: null
^
expected , but found BlockMappingStart
in "", line 30, column 8:
lukinko:
^

at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:575)
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
at com.bekvon.bukkit.residence.persistance.YMLSaveHelper.load(YMLSaveHelper.java:58)
at com.bekvon.bukkit.residence.Residence.loadYml(Residence.java:1831)
at com.bekvon.bukkit.residence.Residence.onEnable(Residence.java:258)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
at com.bekvon.bukkit.residence.Residence.setEnabled(Residence.java:1763)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:371)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:358)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
14:29:32 [INFO] [Residence] Disabling Residence v2.5.8
14:29:32 [INFO] [Residence] - FAILED INITIALIZATION! DISABLED! ERROR:
14:29:32 [SEVERE] null
while parsing a block mapping
in "", line 5, column 5:
EnterMessage: null
^
expected , but found BlockMappingStart
in "", line 30, column 8:
lukinko:
^

at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:575)
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
at com.bekvon.bukkit.residence.persistance.YMLSaveHelper.load(YMLSaveHelper.java:58)
at com.bekvon.bukkit.residence.Residence.loadYml(Residence.java:1831)
at com.bekvon.bukkit.residence.Residence.onEnable(Residence.java:258)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
at com.bekvon.bukkit.residence.Residence.setEnabled(Residence.java:1763)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:371)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:358)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
[/spoiler]
Na řádku uvedeném v chybové hlášce jsem nic nenašel a když jsem řádek odstranil tak se objevila další chyba a soubor má 122 231 řádků.
Hledal jsem nějaké prográmky které by mi to opravily, ale nic jsem nenašel...jen mi vždycky ukážou kde je chyba.
Prosím poraďte mi jak to opravit.
MartyMcFly (222)|22.5.2012 10:38
Zdravím,
Jen tak zběžně nepoužíváš plugin Worldguard?? Tam by mohl vznikat problém.