Wiping Player's Chest data (unacceptable character) #19


  • New
  • Defect
Open
Assigned to _ForgeUser7442508
  • _ForgeUser9265782 created this issue Apr 6, 2013

    What steps will reproduce the problem?
    1. Download version after the NBT > YML format change.
    2. Place an item in the /chest that has a unacceptable character. Example YML does not like this's
    3. Restart Server
    4. ???
    5. Not profit. Player Chest data wiped.

    What is the expected output? What do you see instead?

    Not wiping data would be a nice expected output, what I see is wiped data.

    What version of the product are you using?

    1.16.0

    Do you have an error log of what happened?

    Besides raged members?, yes.

    2013-04-06 01:00:22 [INFO] [AlphaChest] Enabling AlphaChest v1.15.0
    2013-04-06 01:00:22 [WARNING] [AlphaChest] Couldn't load chest file: hero.chest.yml
    org.bukkit.configuration.InvalidConfigurationException: unacceptable character '�' (0xFFFD) special characters are not allowed
    in "<string>", position 2295
        at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
        at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
        at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105)
        at net.sradonia.bukkit.alphachest.InventoryIO.loadFromYaml(InventoryIO.java:70)
        at net.sradonia.bukkit.alphachest.VirtualChestManager.load(VirtualChestManager.java:98)
        at net.sradonia.bukkit.alphachest.VirtualChestManager.<init>(VirtualChestManager.java:27)
        at net.sradonia.bukkit.alphachest.AlphaChestPlugin.onEnable(AlphaChestPlugin.java:36)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:383)
        at org.bukkit.craftbukkit.v1_5_R1.CraftServer.loadPlugin(CraftServer.java:304)
        at org.bukkit.craftbukkit.v1_5_R1.CraftServer.enablePlugins(CraftServer.java:286)
        at net.minecraft.server.v1_5_R1.MinecraftServer.j(MinecraftServer.java:309)
        at net.minecraft.server.v1_5_R1.MinecraftServer.e(MinecraftServer.java:288)
        at net.minecraft.server.v1_5_R1.MinecraftServer.a(MinecraftServer.java:248)
        at net.minecraft.server.v1_5_R1.DedicatedServer.init(DedicatedServer.java:154)
        at net.minecraft.server.v1_5_R1.MinecraftServer.run(MinecraftServer.java:387)
        at net.minecraft.server.v1_5_R1.ThreadServerApplication.run(SourceFile:573)
    Caused by: unacceptable character '�' (0xFFFD) special characters are not allowed
    in "<string>", position 2295
        at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:70)
        at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:50)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
        at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
        ... 17 more

    Please provide any additional information below.

    This has only started since then NBT to YML move, YML hates everything.

    Not sure if you will respond since you have been MIA since FEB, but worth a shot.

  • _ForgeUser9265782 added the tags New Defect Apr 6, 2013

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