SpigotMC / BungeeCord

BungeeCord, the 6th in a generation of server portal suites. Efficiently proxies and maintains connections and transport between multiple Minecraft servers.
https://www.spigotmc.org/go/bungeecord
Other
1.58k stars 1.11k forks source link

Invalid Configuration #2814

Open PiquelChips opened 4 years ago

PiquelChips commented 4 years ago

Mu bungeecord wont start and here is the issue:

15:32:37 [GRAVE] Exception in thread "main" 15:32:37 [GRAVE] java.lang.RuntimeException: Invalid configuration encountered - this is a configuration error and NOT a bug! Please attempt to fix the error or see https://www.spigotmc.org/ for help. 15:32:37 [GRAVE] at net.md_5.bungee.conf.YamlConfig.load(YamlConfig.java:73) 15:32:37 [GRAVE] at net.md_5.bungee.conf.Configuration.load(Configuration.java:71) 15:32:37 [GRAVE] at net.md_5.bungee.BungeeCord.start(BungeeCord.java:273) 15:32:37 [GRAVE] at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:62) 15:32:37 [GRAVE] at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15) 15:32:37 [GRAVE] Caused by: org.yaml.snakeyaml.error.YAMLException: java.nio.charset.MalformedInputException: Input length = 1 15:32:37 [GRAVE] at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:218) 15:32:37 [GRAVE] at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:176) 15:32:37 [GRAVE] at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:171) 15:32:37 [GRAVE] at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:126) 15:32:37 [GRAVE] at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:1177) 15:32:37 [GRAVE] at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:287) 15:32:37 [GRAVE] at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:227) 15:32:37 [GRAVE] at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produce(ParserImpl.java:195) 15:32:37 [GRAVE] at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) 15:32:37 [GRAVE] at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148) 15:32:37 [GRAVE] at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:107) 15:32:37 [GRAVE] at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:141) 15:32:37 [GRAVE] at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:525) 15:32:37 [GRAVE] at org.yaml.snakeyaml.Yaml.load(Yaml.java:453) 15:32:37 [GRAVE] at net.md_5.bungee.conf.YamlConfig.load(YamlConfig.java:70) 15:32:37 [GRAVE] ... 4 more 15:32:37 [GRAVE] Caused by: java.nio.charset.MalformedInputException: Input length = 1 15:32:37 [GRAVE] at java.nio.charset.CoderResult.throwException(Unknown Source) 15:32:37 [GRAVE] at sun.nio.cs.StreamDecoder.implRead(Unknown Source) 15:32:37 [GRAVE] at sun.nio.cs.StreamDecoder.read(Unknown Source) 15:32:37 [GRAVE] at java.io.InputStreamReader.read(Unknown Source) 15:32:37 [GRAVE] at org.yaml.snakeyaml.reader.UnicodeReader.read(UnicodeReader.java:125) 15:32:37 [GRAVE] at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:183) 15:32:37 [GRAVE] ... 18 more

And here is my config file: connection_throttle_limit: 3 online_mode: true log_commands: false network_compression_threshold: 256 listeners:

Janmm14 commented 4 years ago

this is a configuration error and NOT a bug! Please attempt to fix the error or see https://www.spigotmc.org/ for help.

Please do not use this bug tracker for this problem.