non-scalar nodes exceeds the specified max=50

Discussion in 'Plugin Development' started by thechrisanator, Aug 4, 2020.

  1. Offline

    thechrisanator

    Hello, I've recently got an error report from a user with this message.
    Error (open)

    Code:
    org.bukkit.configuration.InvalidConfigurationException: org.yaml.snakeyaml.error.YAMLException: Number of aliases for non-scalar nodes exceeds the specified max=50
    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56) ~[gbinvl_spigot-1.16.1.jar:git-Spigot-758abbe-2b00831]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:160) ~[gbinvl_spigot-1.16.1.jar:git-Spigot-758abbe-2b00831]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:128) ~[gbinvl_spigot-1.16.1.jar:git-Spigot-758abbe-2b00831]
    at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:183) ~[gbinvl_spigot-1.16.1.jar:git-Spigot-758abbe-2b00831]
    at me.darkolythe.itemcreatorplus.CustomItems.ItemList.setUp(ItemList.java:120) ~[?:?]
    at me.darkolythe.itemcreatorplus.ItemCreatorPlus.onEnable(ItemCreatorPlus.java:34) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[gbinvl_spigot-1.16.1.jar:git-Spigot-758abbe-2b00831]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:351) ~[gbinvl_spigot-1.16.1.jar:git-Spigot-758abbe-2b00831]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480) ~[gbinvl_spigot-1.16.1.jar:git-Spigot-758abbe-2b00831]
    at org.bukkit.craftbukkit.v1_16_R1.CraftServer.enablePlugin(CraftServer.java:488) ~[gbinvl_spigot-1.16.1.jar:git-Spigot-758abbe-2b00831]
    at org.bukkit.craftbukkit.v1_16_R1.CraftServer.enablePlugins(CraftServer.java:402) ~[gbinvl_spigot-1.16.1.jar:git-Spigot-758abbe-2b00831]
    at net.minecraft.server.v1_16_R1.MinecraftServer.loadWorld(MinecraftServer.java:436) ~[gbinvl_spigot-1.16.1.jar:git-Spigot-758abbe-2b00831]
    at net.minecraf
    t.server.v1_16_R1.DedicatedServer.init(DedicatedServer.java:219) ~[gbinvl_spigot-1.16.1.jar:git-Spigot-758abbe-2b00831]
    at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:808) ~[gbinvl_spigot-1.16.1.jar:git-Spigot-758abbe-2b00831]
    at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[gbinvl_spigot-1.16.1.jar:git-Spigot-758abbe-2b00831]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252]


    I cannot seem to figure out what is causing it as it occurs for them, but I cannot seem to replicate it.

    It's clearly being caused by some YML error, and it wipes out the yml file entirely when it happens
     
  2. Offline

    KarimAKL

  3. Offline

    thechrisanator

  4. Offline

    KarimAKL

    @thechrisanator I'm not really sure what the cause is. You said you don't get the same result when you use the same file?
     

Share This Page