Locale files load error
See original GitHub issueDescription
Describe the bug
Locale files can’t be loaded, even after clean install.
Steps to reproduce the behavior
Just startup the server
Expected behavior
No error when loading language file
Screenshots and videos (Optional)
[01:41:42] [Server thread/ERROR]: [BentoBox] Error updating locale file: locales/hu.yml : unacceptable code point '‘' (0x91) special characters are not allowed
in "'string'", position 750
[01:41:42] [Server thread/ERROR]: [BentoBox] org.bukkit.configuration.InvalidConfigurationException: unacceptable code point '‘' (0x91) special characters are not allowed
in "'string'", position 750
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:160)
at world.bentobox.bentobox.api.addons.Addon.getYamlFromJar(Addon.java:307)
at world.bentobox.bentobox.managers.LocalesManager.updateLocale(LocalesManager.java:143)
at world.bentobox.bentobox.managers.LocalesManager.lambda$copyLocalesFromAddonJar$0(LocalesManager.java:131)
at java.util.ArrayList.forEach(ArrayList.java:1257)
at world.bentobox.bentobox.managers.LocalesManager.copyLocalesFromAddonJar(LocalesManager.java:127)
at world.bentobox.bentobox.managers.AddonsManager.loadAddon(AddonsManager.java:110)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
at world.bentobox.bentobox.managers.AddonsManager.loadAddons(AddonsManager.java:78)
at world.bentobox.bentobox.BentoBox.onEnable(BentoBox.java:165)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:364)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483)
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugin(CraftServer.java:470)
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugins(CraftServer.java:384)
at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:235)
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:908)
at java.lang.Thread.run(Thread.java:748)
Caused by: unacceptable code point '‘' (0x91) special characters are not allowed
in "'string'", position 750
at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:211)
at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:176)
at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:171)
at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:126)
at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:1177)
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:287)
at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:227)
at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produce(ParserImpl.java:195)
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:107)
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:141)
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:525)
at org.yaml.snakeyaml.Yaml.load(Yaml.java:438)
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54)
... 26 more
[01:41:42] [Server thread/ERROR]: [BentoBox] Error updating locale file: locales/ja.yml : unacceptable code point 'ƒ' (0x83) special characters are not allowed
in "'string'", position 404
[01:41:42] [Server thread/ERROR]: [BentoBox] org.bukkit.configuration.InvalidConfigurationException: unacceptable code point 'ƒ' (0x83) special characters are not allowed
in "'string'", position 404
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:160)
at world.bentobox.bentobox.api.addons.Addon.getYamlFromJar(Addon.java:307)
at world.bentobox.bentobox.managers.LocalesManager.updateLocale(LocalesManager.java:143)
at world.bentobox.bentobox.managers.LocalesManager.lambda$copyLocalesFromAddonJar$0(LocalesManager.java:131)
at java.util.ArrayList.forEach(ArrayList.java:1257)
at world.bentobox.bentobox.managers.LocalesManager.copyLocalesFromAddonJar(LocalesManager.java:127)
at world.bentobox.bentobox.managers.AddonsManager.loadAddon(AddonsManager.java:110)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
at world.bentobox.bentobox.managers.AddonsManager.loadAddons(AddonsManager.java:78)
at world.bentobox.bentobox.BentoBox.onEnable(BentoBox.java:165)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:364)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483)
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugin(CraftServer.java:470)
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugins(CraftServer.java:384)
at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:235)
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:908)
at java.lang.Thread.run(Thread.java:748)
Caused by: unacceptable code point 'ƒ' (0x83) special characters are not allowed
in "'string'", position 404
at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:211)
at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:176)
at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:171)
at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:126)
at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:1177)
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:287)
at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:227)
at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produce(ParserImpl.java:195)
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:107)
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:141)
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:525)
at org.yaml.snakeyaml.Yaml.load(Yaml.java:438)
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54)
... 26 more
[01:41:42] [Server thread/ERROR]: [BentoBox] Error updating locale file: locales/tr.yml : unacceptable code point 'Ÿ' (0x9F) special characters are not allowed
in "'string'", position 557
[01:41:42] [Server thread/ERROR]: [BentoBox] org.bukkit.configuration.InvalidConfigurationException: unacceptable code point 'Ÿ' (0x9F) special characters are not allowed
in "'string'", position 557
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:160)
at world.bentobox.bentobox.api.addons.Addon.getYamlFromJar(Addon.java:307)
at world.bentobox.bentobox.managers.LocalesManager.updateLocale(LocalesManager.java:143)
at world.bentobox.bentobox.managers.LocalesManager.lambda$copyLocalesFromAddonJar$0(LocalesManager.java:131)
at java.util.ArrayList.forEach(ArrayList.java:1257)
at world.bentobox.bentobox.managers.LocalesManager.copyLocalesFromAddonJar(LocalesManager.java:127)
at world.bentobox.bentobox.managers.AddonsManager.loadAddon(AddonsManager.java:110)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
at world.bentobox.bentobox.managers.AddonsManager.loadAddons(AddonsManager.java:78)
at world.bentobox.bentobox.BentoBox.onEnable(BentoBox.java:165)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:364)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483)
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugin(CraftServer.java:470)
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugins(CraftServer.java:384)
at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:235)
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:908)
at java.lang.Thread.run(Thread.java:748)
Caused by: unacceptable code point 'Ÿ' (0x9F) special characters are not allowed
in "'string'", position 557
at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:211)
at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:176)
at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:171)
at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:126)
at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:1177)
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:287)
at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:227)
at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produce(ParserImpl.java:195)
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:107)
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:141)
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:525)
at org.yaml.snakeyaml.Yaml.load(Yaml.java:438)
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54)
... 26 more
[01:41:42] [Server thread/ERROR]: [BentoBox] Error updating locale file: locales/hu.yml : unacceptable code point '‘' (0x91) special characters are not allowed
in "'string'", position 750
[01:41:42] [Server thread/ERROR]: [BentoBox] org.bukkit.configuration.InvalidConfigurationException: unacceptable code point '‘' (0x91) special characters are not allowed
in "'string'", position 750
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:160)
at world.bentobox.bentobox.api.addons.Addon.getYamlFromJar(Addon.java:307)
at world.bentobox.bentobox.managers.LocalesManager.updateLocale(LocalesManager.java:143)
at world.bentobox.bentobox.managers.LocalesManager.lambda$copyLocalesFromAddonJar$0(LocalesManager.java:131)
at java.util.ArrayList.forEach(ArrayList.java:1257)
at world.bentobox.bentobox.managers.LocalesManager.copyLocalesFromAddonJar(LocalesManager.java:127)
at world.bentobox.bentobox.managers.AddonsManager.loadAddon(AddonsManager.java:110)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
at world.bentobox.bentobox.managers.AddonsManager.loadAddons(AddonsManager.java:78)
at world.bentobox.bentobox.BentoBox.onEnable(BentoBox.java:165)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:364)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483)
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugin(CraftServer.java:470)
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugins(CraftServer.java:384)
at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:235)
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:908)
at java.lang.Thread.run(Thread.java:748)
Caused by: unacceptable code point '‘' (0x91) special characters are not allowed
in "'string'", position 750
at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:211)
at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:176)
at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:171)
at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:126)
at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:1177)
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:287)
at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:227)
at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produce(ParserImpl.java:195)
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:107)
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:141)
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:525)
at org.yaml.snakeyaml.Yaml.load(Yaml.java:438)
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54)
... 26 more
[01:41:42] [Server thread/ERROR]: [BentoBox] Error updating locale file: locales/lv.yml : unacceptable code point '' (0x81) special characters are not allowed
in "'string'", position 37
[01:41:42] [Server thread/ERROR]: [BentoBox] org.bukkit.configuration.InvalidConfigurationException: unacceptable code point '' (0x81) special characters are not allowed
in "'string'", position 37
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:160)
at world.bentobox.bentobox.api.addons.Addon.getYamlFromJar(Addon.java:307)
at world.bentobox.bentobox.managers.LocalesManager.updateLocale(LocalesManager.java:143)
at world.bentobox.bentobox.managers.LocalesManager.lambda$copyLocalesFromAddonJar$0(LocalesManager.java:131)
at java.util.ArrayList.forEach(ArrayList.java:1257)
at world.bentobox.bentobox.managers.LocalesManager.copyLocalesFromAddonJar(LocalesManager.java:127)
at world.bentobox.bentobox.managers.AddonsManager.loadAddon(AddonsManager.java:110)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
at world.bentobox.bentobox.managers.AddonsManager.loadAddons(AddonsManager.java:78)
at world.bentobox.bentobox.BentoBox.onEnable(BentoBox.java:165)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:364)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483)
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugin(CraftServer.java:470)
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugins(CraftServer.java:384)
at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:235)
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:908)
at java.lang.Thread.run(Thread.java:748)
Caused by: unacceptable code point '' (0x81) special characters are not allowed
in "'string'", position 37
at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:211)
at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:176)
at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:171)
at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:126)
at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:1177)
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:287)
at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:227)
at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produce(ParserImpl.java:195)
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:107)
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:141)
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:525)
at org.yaml.snakeyaml.Yaml.load(Yaml.java:438)
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54)
... 26 more
[01:41:42] [Server thread/ERROR]: [BentoBox] Error updating locale file: locales/zh-CN.yml : unacceptable code point '€' (0x80) special characters are not allowed
in "'string'", position 39
[01:41:42] [Server thread/ERROR]: [BentoBox] org.bukkit.configuration.InvalidConfigurationException: unacceptable code point '€' (0x80) special characters are not allowed
in "'string'", position 39
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:160)
at world.bentobox.bentobox.api.addons.Addon.getYamlFromJar(Addon.java:307)
at world.bentobox.bentobox.managers.LocalesManager.updateLocale(LocalesManager.java:143)
at world.bentobox.bentobox.managers.LocalesManager.lambda$copyLocalesFromAddonJar$0(LocalesManager.java:131)
at java.util.ArrayList.forEach(ArrayList.java:1257)
at world.bentobox.bentobox.managers.LocalesManager.copyLocalesFromAddonJar(LocalesManager.java:127)
at world.bentobox.bentobox.managers.AddonsManager.loadAddon(AddonsManager.java:110)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
at world.bentobox.bentobox.managers.AddonsManager.loadAddons(AddonsManager.java:78)
at world.bentobox.bentobox.BentoBox.onEnable(BentoBox.java:165)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:364)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483)
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugin(CraftServer.java:470)
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugins(CraftServer.java:384)
at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:235)
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:908)
at java.lang.Thread.run(Thread.java:748)
Caused by: unacceptable code point '€' (0x80) special characters are not allowed
in "'string'", position 39
at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:211)
at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:176)
at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:171)
at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:126)
at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:1177)
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:287)
at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:227)
at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produce(ParserImpl.java:195)
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:107)
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:141)
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:525)
at org.yaml.snakeyaml.Yaml.load(Yaml.java:438)
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54)
... 26 more
[01:41:42] [Server thread/ERROR]: [BentoBox] Error updating locale file: locales/ru.yml : unacceptable code point '‚' (0x82) special characters are not allowed
in "'string'", position 36
[01:41:42] [Server thread/ERROR]: [BentoBox] org.bukkit.configuration.InvalidConfigurationException: unacceptable code point '‚' (0x82) special characters are not allowed
in "'string'", position 36
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:160)
at world.bentobox.bentobox.api.addons.Addon.getYamlFromJar(Addon.java:307)
at world.bentobox.bentobox.managers.LocalesManager.updateLocale(LocalesManager.java:143)
at world.bentobox.bentobox.managers.LocalesManager.lambda$copyLocalesFromAddonJar$0(LocalesManager.java:131)
at java.util.ArrayList.forEach(ArrayList.java:1257)
at world.bentobox.bentobox.managers.LocalesManager.copyLocalesFromAddonJar(LocalesManager.java:127)
at world.bentobox.bentobox.managers.AddonsManager.loadAddon(AddonsManager.java:110)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
at world.bentobox.bentobox.managers.AddonsManager.loadAddons(AddonsManager.java:78)
at world.bentobox.bentobox.BentoBox.onEnable(BentoBox.java:165)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:364)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483)
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugin(CraftServer.java:470)
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugins(CraftServer.java:384)
at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:235)
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:908)
at java.lang.Thread.run(Thread.java:748)
Caused by: unacceptable code point '‚' (0x82) special characters are not allowed
in "'string'", position 36
at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:211)
at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:176)
at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:171)
at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:126)
at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:1177)
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:287)
at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:227)
at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produce(ParserImpl.java:195)
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:107)
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:141)
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:525)
at org.yaml.snakeyaml.Yaml.load(Yaml.java:438)
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54)
... 26 more
[01:41:42] [Server thread/ERROR]: [BentoBox] Error updating locale file: locales/fr.yml : unacceptable code point '€' (0x80) special characters are not allowed
in "'string'", position 161
[01:41:42] [Server thread/ERROR]: [BentoBox] org.bukkit.configuration.InvalidConfigurationException: unacceptable code point '€' (0x80) special characters are not allowed
in "'string'", position 161
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:160)
at world.bentobox.bentobox.api.addons.Addon.getYamlFromJar(Addon.java:307)
at world.bentobox.bentobox.managers.LocalesManager.updateLocale(LocalesManager.java:143)
at world.bentobox.bentobox.managers.LocalesManager.lambda$copyLocalesFromAddonJar$0(LocalesManager.java:131)
at java.util.ArrayList.forEach(ArrayList.java:1257)
at world.bentobox.bentobox.managers.LocalesManager.copyLocalesFromAddonJar(LocalesManager.java:127)
at world.bentobox.bentobox.managers.AddonsManager.loadAddon(AddonsManager.java:110)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
at world.bentobox.bentobox.managers.AddonsManager.loadAddons(AddonsManager.java:78)
at world.bentobox.bentobox.BentoBox.onEnable(BentoBox.java:165)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:364)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483)
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugin(CraftServer.java:470)
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugins(CraftServer.java:384)
at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:235)
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:908)
at java.lang.Thread.run(Thread.java:748)
Caused by: unacceptable code point '€' (0x80) special characters are not allowed
in "'string'", position 161
at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:211)
at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:176)
at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:136)
at org.yaml.snakeyaml.scanner.ScannerImpl.scanFlowScalarNonSpaces(ScannerImpl.java:1861)
at org.yaml.snakeyaml.scanner.ScannerImpl.scanFlowScalar(ScannerImpl.java:1841)
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchFlowScalar(ScannerImpl.java:1027)
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchSingle(ScannerImpl.java:1002)
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:390)
at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:227)
at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:586)
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:124)
at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:239)
at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:230)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:218)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:144)
at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:239)
at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:230)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:218)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:144)
at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:239)
at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:230)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:218)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:144)
at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:239)
at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:230)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:218)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:144)
at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:239)
at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:230)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:218)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:144)
at org.yaml.snakeyaml.composer.Composer.getNode(Composer.java:85)
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:108)
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:141)
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:525)
at org.yaml.snakeyaml.Yaml.load(Yaml.java:438)
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54)
... 26 more
Environment
BentoBox Version (Mandatory)
[01:47:03 INFO]: Ausf▒hren von PAPER 1.15.2.
[01:47:03 INFO]: BentoBox version: 1.12.0
[01:47:03 INFO]: Datenbank: JSON
[01:47:03 INFO]: Geladene Spielewelten:
[01:47:03 INFO]: ASkyBlock (ASkyBlock): Oberwelt, [nether_color]Nether, [end_color]End
[01:47:03 INFO]: Geladene Addons:
[01:47:03 INFO]: Biomes 1.7.0 (ENABLED)
[01:47:03 INFO]: BSkyBlock 1.12.0 (ENABLED)
[01:47:03 INFO]: Challenges 0.8.0 (ENABLED)
[01:47:03 INFO]: ControlPanel 1.7.0 (ENABLED)
[01:47:03 INFO]: DimensionalTrees 1.6.0 (ENABLED)
[01:47:03 INFO]: Level 1.9.3 (ENABLED)
[01:47:03 INFO]: Likes 1.7.0 (ENABLED)
[01:47:03 INFO]: Limits 1.9.4 (ENABLED)
[01:47:03 INFO]: Warps 1.9.0 (ENABLED)
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Error "failed to load locale files from \Program
Error "failed to load locale files from \Program Files\Western Digital\WD SmartWare\Locale" when right clicking on any file ; Method 1: ; Step 1: ......
Read more >No locale files loaded. Probably there is something wrong with ...
@MaxPeak You are using JS as your locale files, which is disabled by default in v2.0. You will need config: "i18n-ally.enabledParsers": ["js"].
Read more >Unable to load locale categories for locale locale_name - IBM
The GLS locale specified in CLIENT_LOCALE or DB_LOCALE cannot be loaded, or if these variables are not set, the GLS file cannot be...
Read more >Rails locale file wont load - Stack Overflow
I have a lot of locale files in my config/locales directory organized into subfolders. All of my files are loading properly except one...
Read more >Failed to load locale files from "Program Files\Western Digital ...
This is inside a menu titled " WDContextMenuHandler " Whenever I right click on anything in my computer this error comes up.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll have a look at that, if you don’t mind.
I could not clearly find the root cause of these weird characters appearing, however I have improved the exception handling so that it would no longer “spam” the console with an unnecessary stacktrace.