Minecraft Server: com.google.gson.JsonSyntaxException caused by malformed flatland string
The bug
I was upgrading an existing server from 1.12.2 to 1.13 and it wouldn't start and would just crash at startup. I was able to replicate the issue down to a single line in server.properties that worked fine before but is now an issue.
The line is:
generator-settings=3;minecraft\:stone;-1;
I tested this on a fresh vanilla install that I verified ran fine. Once I added the offending line:
---- Minecraft Crash Report ---- // On the bright side, I bought you a teddy bear! Time: 8/1/18 10:22 AM Description: Exception in server tick loop com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $ at com.google.gson.JsonParser.parse(JsonParser.java:65) at com.google.gson.JsonParser.parse(JsonParser.java:45) at sn.d(SourceFile:246) at net.minecraft.server.MinecraftServer.run(SourceFile:541) at java.lang.Thread.run(Thread.java:748) Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $ at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559) at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1401) at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:542) at com.google.gson.stream.JsonReader.peek(JsonReader.java:425) at com.google.gson.JsonParser.parse(JsonParser.java:60) ... 4 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.13 Operating System: Linux (amd64) version 2.6.32-696.23.1.el6.x86_64 Java Version: 1.8.0_181, Oracle Corporation Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 912840056 bytes (870 MB) / 1029177344 bytes (981 MB) up to 1029177344 bytes (981 MB) JVM Flags: 2 total; -Xmx1024M -Xms1024M Profiler Position: N/A (disabled) Player Count: 0 / 20; [] Data Packs: Is Modded: Unknown (can't tell) Type: Dedicated Server (map_server.txt)
Linked Issues
is duplicated by3
Created Issue:
com.google.gson.JsonSyntaxException
I was upgrading an existing server from minecraft_server.1.12.2 to 1.13 and it wouldn't start and would just crash at startup. I was able to replicate the issue down to a single line in server.properties that worked fine before but is now an issue.
The line is:
generator-settings=3;minecraft\:stone;-1;I tested this on a fresh vanilla install that I verified ran fine. Once I added the offending line:
- java -Xmx1024M -Xms1024M -jar minecraft_server.1.13.jar nogui
[10:22:56] [main/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[10:22:56] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[10:22:56] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[10:22:56] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[10:22:56] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[10:22:56] [main/INFO]: Loaded 0 recipes
[10:22:56] [main/INFO]: Loaded 0 advancements
[10:22:56] [Server thread/INFO]: Starting minecraft server version 1.13
[10:22:56] [Server thread/INFO]: Loading properties
[10:22:56] [Server thread/INFO]: Default game type: SURVIVAL
[10:22:56] [Server thread/INFO]: Generating keypair
[10:22:56] [Server thread/INFO]: Starting Minecraft server on *:25565
[10:22:57] [Server thread/INFO]: Using epoll channel type
[10:22:57] [Server thread/INFO]: Preparing level "world"
[10:22:57] [Server thread/ERROR]: Encountered an unexpected exception
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $
at com.google.gson.JsonParser.parse(JsonParser.java:65) ~[minecraft_server.1.13.jar:?]
at com.google.gson.JsonParser.parse(JsonParser.java:45) ~[minecraft_server.1.13.jar:?]
at sn.d(SourceFile:246) ~[minecraft_server.1.13.jar:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:541) [minecraft_server.1.13.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $
at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559) ~[minecraft_server.1.13.jar:?]
at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1401) ~[minecraft_server.1.13.jar:?]
at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:542) ~[minecraft_server.1.13.jar:?]
at com.google.gson.stream.JsonReader.peek(JsonReader.java:425) ~[minecraft_server.1.13.jar:?]
at com.google.gson.JsonParser.parse(JsonParser.java:60) ~[minecraft_server.1.13.jar:?]
... 4 more
[10:22:57] [Server thread/ERROR]: This crash report has been saved to: /root/vanilla/./crash-reports/crash-2018-08-01_10.22.57-server.txt
[10:22:57] [Server thread/INFO]: Stopping server
[10:22:57] [Server thread/INFO]: Saving players
[10:22:57] [Server Shutdown Thread/INFO]: Stopping server
[10:22:57] [Server Shutdown Thread/INFO]: Saving players
---- Minecraft Crash Report ----
// On the bright side, I bought you a teddy bear!Time: 8/1/18 10:22 AM
Description: Exception in server tick loopcom.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $
at com.google.gson.JsonParser.parse(JsonParser.java:65)
at com.google.gson.JsonParser.parse(JsonParser.java:45)
at sn.d(SourceFile:246)
at net.minecraft.server.MinecraftServer.run(SourceFile:541)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $
at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559)
at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1401)
at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:542)
at com.google.gson.stream.JsonReader.peek(JsonReader.java:425)
at com.google.gson.JsonParser.parse(JsonParser.java:60)
... 4 moreA detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------– System Details –
Details:
Minecraft Version: 1.13
Operating System: Linux (amd64) version 2.6.32-696.23.1.el6.x86_64
Java Version: 1.8.0_181, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 912840056 bytes (870 MB) / 1029177344 bytes (981 MB) up to 1029177344 bytes (981 MB)
JVM Flags: 2 total; -Xmx1024M -Xms1024M
Profiler Position: N/A (disabled)
Player Count: 0 / 20; []
Data Packs:
Is Modded: Unknown (can't tell)
Type: Dedicated Server (map_server.txt)
Environment
Centos 6
openjdk version "1.8.0_181"
I was upgrading an existing server from minecraft_server.1.12.2 to 1.13 and it wouldn't start and would just crash at startup. I was able to replicate the issue down to a single line in server.properties that worked fine before but is now an issue.
The line is:
generator-settings=3;minecraft\:stone;-1;I tested this on a fresh vanilla install that I verified ran fine. Once I added the offending line:
- java -Xmx1024M -Xms1024M -jar minecraft_server.1.13.jar nogui
[10:22:56] [main/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[10:22:56] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[10:22:56] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[10:22:56] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[10:22:56] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[10:22:56] [main/INFO]: Loaded 0 recipes
[10:22:56] [main/INFO]: Loaded 0 advancements
[10:22:56] [Server thread/INFO]: Starting minecraft server version 1.13
[10:22:56] [Server thread/INFO]: Loading properties
[10:22:56] [Server thread/INFO]: Default game type: SURVIVAL
[10:22:56] [Server thread/INFO]: Generating keypair
[10:22:56] [Server thread/INFO]: Starting Minecraft server on *:25565
[10:22:57] [Server thread/INFO]: Using epoll channel type
[10:22:57] [Server thread/INFO]: Preparing level "world"
[10:22:57] [Server thread/ERROR]: Encountered an unexpected exception
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $
at com.google.gson.JsonParser.parse(JsonParser.java:65) ~[minecraft_server.1.13.jar:?]
at com.google.gson.JsonParser.parse(JsonParser.java:45) ~[minecraft_server.1.13.jar:?]
at sn.d(SourceFile:246) ~[minecraft_server.1.13.jar:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:541) [minecraft_server.1.13.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $
at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559) ~[minecraft_server.1.13.jar:?]
at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1401) ~[minecraft_server.1.13.jar:?]
at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:542) ~[minecraft_server.1.13.jar:?]
at com.google.gson.stream.JsonReader.peek(JsonReader.java:425) ~[minecraft_server.1.13.jar:?]
at com.google.gson.JsonParser.parse(JsonParser.java:60) ~[minecraft_server.1.13.jar:?]
... 4 more
[10:22:57] [Server thread/ERROR]: This crash report has been saved to: /root/vanilla/./crash-reports/crash-2018-08-01_10.22.57-server.txt
[10:22:57] [Server thread/INFO]: Stopping server
[10:22:57] [Server thread/INFO]: Saving players
[10:22:57] [Server Shutdown Thread/INFO]: Stopping server
[10:22:57] [Server Shutdown Thread/INFO]: Saving players
---- Minecraft Crash Report ----
// On the bright side, I bought you a teddy bear!Time: 8/1/18 10:22 AM
Description: Exception in server tick loopcom.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $
at com.google.gson.JsonParser.parse(JsonParser.java:65)
at com.google.gson.JsonParser.parse(JsonParser.java:45)
at sn.d(SourceFile:246)
at net.minecraft.server.MinecraftServer.run(SourceFile:541)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $
at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559)
at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1401)
at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:542)
at com.google.gson.stream.JsonReader.peek(JsonReader.java:425)
at com.google.gson.JsonParser.parse(JsonParser.java:60)
... 4 moreA detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------– System Details –
Details:
Minecraft Version: 1.13
Operating System: Linux (amd64) version 2.6.32-696.23.1.el6.x86_64
Java Version: 1.8.0_181, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 912840056 bytes (870 MB) / 1029177344 bytes (981 MB) up to 1029177344 bytes (981 MB)
JVM Flags: 2 total; -Xmx1024M -Xms1024M
Profiler Position: N/A (disabled)
Player Count: 0 / 20; []
Data Packs:
Is Modded: Unknown (can't tell)
Type: Dedicated Server (map_server.txt)
I was upgrading an existing server from minecraft_server.1.12.2 to 1.13 and it wouldn't start and would just crash at startup. I was able to replicate the issue down to a single line in server.properties that worked fine before but is now an issue.
The line is:
generator-settings=3;minecraft\:stone;-1;I tested this on a fresh vanilla install that I verified ran fine. Once I added the offending line:
java -Xmx1024M -Xms1024M -jar minecraft_server.1.13.jar nogui[10:22:56] [main/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498] [10:22:56] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0] [10:22:56] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0] [10:22:56] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498] [10:22:56] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0] [10:22:56] [main/INFO]: Loaded 0 recipes [10:22:56] [main/INFO]: Loaded 0 advancements [10:22:56] [Server thread/INFO]: Starting minecraft server version 1.13 [10:22:56] [Server thread/INFO]: Loading properties [10:22:56] [Server thread/INFO]: Default game type: SURVIVAL [10:22:56] [Server thread/INFO]: Generating keypair [10:22:56] [Server thread/INFO]: Starting Minecraft server on *:25565 [10:22:57] [Server thread/INFO]: Using epoll channel type [10:22:57] [Server thread/INFO]: Preparing level "world" [10:22:57] [Server thread/ERROR]: Encountered an unexpected exception com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $ at com.google.gson.JsonParser.parse(JsonParser.java:65) ~[minecraft_server.1.13.jar:?] at com.google.gson.JsonParser.parse(JsonParser.java:45) ~[minecraft_server.1.13.jar:?] at sn.d(SourceFile:246) ~[minecraft_server.1.13.jar:?] at net.minecraft.server.MinecraftServer.run(SourceFile:541) [minecraft_server.1.13.jar:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181] Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $ at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559) ~[minecraft_server.1.13.jar:?] at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1401) ~[minecraft_server.1.13.jar:?] at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:542) ~[minecraft_server.1.13.jar:?] at com.google.gson.stream.JsonReader.peek(JsonReader.java:425) ~[minecraft_server.1.13.jar:?] at com.google.gson.JsonParser.parse(JsonParser.java:60) ~[minecraft_server.1.13.jar:?] ... 4 more [10:22:57] [Server thread/ERROR]: This crash report has been saved to: /root/vanilla/./crash-reports/crash-2018-08-01_10.22.57-server.txt [10:22:57] [Server thread/INFO]: Stopping server [10:22:57] [Server thread/INFO]: Saving players [10:22:57] [Server Shutdown Thread/INFO]: Stopping server [10:22:57] [Server Shutdown Thread/INFO]: Saving players ---- Minecraft Crash Report ---- // On the bright side, I bought you a teddy bear! Time: 8/1/18 10:22 AM Description: Exception in server tick loop com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $ at com.google.gson.JsonParser.parse(JsonParser.java:65) at com.google.gson.JsonParser.parse(JsonParser.java:45) at sn.d(SourceFile:246) at net.minecraft.server.MinecraftServer.run(SourceFile:541) at java.lang.Thread.run(Thread.java:748) Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $ at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559) at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1401) at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:542) at com.google.gson.stream.JsonReader.peek(JsonReader.java:425) at com.google.gson.JsonParser.parse(JsonParser.java:60) ... 4 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.13 Operating System: Linux (amd64) version 2.6.32-696.23.1.el6.x86_64 Java Version: 1.8.0_181, Oracle Corporation Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 912840056 bytes (870 MB) / 1029177344 bytes (981 MB) up to 1029177344 bytes (981 MB) JVM Flags: 2 total; -Xmx1024M -Xms1024M Profiler Position: N/A (disabled) Player Count: 0 / 20; [] Data Packs: Is Modded: Unknown (can't tell) Type: Dedicated Server (map_server.txt)
I was upgrading an existing server from minecraft_server.1.12.2 to 1.13 and it wouldn't start and would just crash at startup. I was able to replicate the issue down to a single line in server.properties that worked fine before but is now an issue.
The line is:
generator-settings=3;minecraft\:stone;-1;I tested this on a fresh vanilla install that I verified ran fine. Once I added the offending line:
java -Xmx1024M -Xms1024M -jar minecraft_server.1.13.jar nogui[10:22:56] [main/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498] [10:22:56] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0] [10:22:56] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0] [10:22:56] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498] [10:22:56] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0] [10:22:56] [main/INFO]: Loaded 0 recipes [10:22:56] [main/INFO]: Loaded 0 advancements [10:22:56] [Server thread/INFO]: Starting minecraft server version 1.13 [10:22:56] [Server thread/INFO]: Loading properties [10:22:56] [Server thread/INFO]: Default game type: SURVIVAL [10:22:56] [Server thread/INFO]: Generating keypair [10:22:56] [Server thread/INFO]: Starting Minecraft server on *:25565 [10:22:57] [Server thread/INFO]: Using epoll channel type [10:22:57] [Server thread/INFO]: Preparing level "world" [10:22:57] [Server thread/ERROR]: Encountered an unexpected exception com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $ at com.google.gson.JsonParser.parse(JsonParser.java:65) ~[minecraft_server.1.13.jar:?] at com.google.gson.JsonParser.parse(JsonParser.java:45) ~[minecraft_server.1.13.jar:?] at sn.d(SourceFile:246) ~[minecraft_server.1.13.jar:?] at net.minecraft.server.MinecraftServer.run(SourceFile:541) [minecraft_server.1.13.jar:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181] Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $ at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559) ~[minecraft_server.1.13.jar:?] at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1401) ~[minecraft_server.1.13.jar:?] at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:542) ~[minecraft_server.1.13.jar:?] at com.google.gson.stream.JsonReader.peek(JsonReader.java:425) ~[minecraft_server.1.13.jar:?] at com.google.gson.JsonParser.parse(JsonParser.java:60) ~[minecraft_server.1.13.jar:?] ... 4 more [10:22:57] [Server thread/ERROR]: This crash report has been saved to: /root/vanilla/./crash-reports/crash-2018-08-01_10.22.57-server.txt [10:22:57] [Server thread/INFO]: Stopping server [10:22:57] [Server thread/INFO]: Saving players [10:22:57] [Server Shutdown Thread/INFO]: Stopping server [10:22:57] [Server Shutdown Thread/INFO]: Saving players---- Minecraft Crash Report ---- // On the bright side, I bought you a teddy bear! Time: 8/1/18 10:22 AM Description: Exception in server tick loop com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $ at com.google.gson.JsonParser.parse(JsonParser.java:65) at com.google.gson.JsonParser.parse(JsonParser.java:45) at sn.d(SourceFile:246) at net.minecraft.server.MinecraftServer.run(SourceFile:541) at java.lang.Thread.run(Thread.java:748) Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $ at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559) at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1401) at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:542) at com.google.gson.stream.JsonReader.peek(JsonReader.java:425) at com.google.gson.JsonParser.parse(JsonParser.java:60) ... 4 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.13 Operating System: Linux (amd64) version 2.6.32-696.23.1.el6.x86_64 Java Version: 1.8.0_181, Oracle Corporation Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 912840056 bytes (870 MB) / 1029177344 bytes (981 MB) up to 1029177344 bytes (981 MB) JVM Flags: 2 total; -Xmx1024M -Xms1024M Profiler Position: N/A (disabled) Player Count: 0 / 20; [] Data Packs: Is Modded: Unknown (can't tell) Type: Dedicated Server (map_server.txt)
Centos 6
openjdk version "1.8.0_181"
Centos 6
openjdk version "1.8.0_181"
I was upgrading an existing server from minecraft_server.1.12.2 to 1.13 and it wouldn't start and would just crash at startup. I was able to replicate the issue down to a single line in server.properties that worked fine before but is now an issue.
The line is:
generator-settings=3;minecraft\:stone;-1;I tested this on a fresh vanilla install that I verified ran fine. Once I added the offending line:
---- Minecraft Crash Report ---- // On the bright side, I bought you a teddy bear! Time: 8/1/18 10:22 AM Description: Exception in server tick loop com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $ at com.google.gson.JsonParser.parse(JsonParser.java:65) at com.google.gson.JsonParser.parse(JsonParser.java:45) at sn.d(SourceFile:246) at net.minecraft.server.MinecraftServer.run(SourceFile:541) at java.lang.Thread.run(Thread.java:748) Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $ at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559) at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1401) at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:542) at com.google.gson.stream.JsonReader.peek(JsonReader.java:425) at com.google.gson.JsonParser.parse(JsonParser.java:60) ... 4 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.13 Operating System: Linux (amd64) version 2.6.32-696.23.1.el6.x86_64 Java Version: 1.8.0_181, Oracle Corporation Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 912840056 bytes (870 MB) / 1029177344 bytes (981 MB) up to 1029177344 bytes (981 MB) JVM Flags: 2 total; -Xmx1024M -Xms1024M Profiler Position: N/A (disabled) Player Count: 0 / 20; [] Data Packs: Is Modded: Unknown (can't tell) Type: Dedicated Server (map_server.txt)I was upgrading an existing server from minecraft_server.1.12.2 to 1.13 and it wouldn't start and would just crash at startup. I was able to replicate the issue down to a single line in server.properties that worked fine before but is now an issue.
The line is:
generator-settings=3;minecraft\:stone;-1;I tested this on a fresh vanilla install that I verified ran fine. Once I added the offending line:
---- Minecraft Crash Report ---- // On the bright side, I bought you a teddy bear! Time: 8/1/18 10:22 AM Description: Exception in server tick loop com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $ at com.google.gson.JsonParser.parse(JsonParser.java:65) at com.google.gson.JsonParser.parse(JsonParser.java:45) at sn.d(SourceFile:246) at net.minecraft.server.MinecraftServer.run(SourceFile:541) at java.lang.Thread.run(Thread.java:748) Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $ at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559) at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1401) at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:542) at com.google.gson.stream.JsonReader.peek(JsonReader.java:425) at com.google.gson.JsonParser.parse(JsonParser.java:60) ... 4 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.13 Operating System: Linux (amd64) version 2.6.32-696.23.1.el6.x86_64 Java Version: 1.8.0_181, Oracle Corporation Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 912840056 bytes (870 MB) / 1029177344 bytes (981 MB) up to 1029177344 bytes (981 MB) JVM Flags: 2 total; -Xmx1024M -Xms1024M Profiler Position: N/A (disabled) Player Count: 0 / 20; [] Data Packs: Is Modded: Unknown (can't tell) Type: Dedicated Server (map_server.txt)
Minecraft Server: com.google.gson.JsonSyntaxException caused by malformed flatland string
is duplicated by
I was upgrading an existing server from minecraft_server.1.12.2 to 1.13 and it wouldn't start and would just crash at startup. I was able to replicate the issue down to a single line in server.properties that worked fine before but is now an issue.
The line is:
generator-settings=3;minecraft\:stone;-1;I tested this on a fresh vanilla install that I verified ran fine. Once I added the offending line:
---- Minecraft Crash Report ---- // On the bright side, I bought you a teddy bear! Time: 8/1/18 10:22 AM Description: Exception in server tick loop com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $ at com.google.gson.JsonParser.parse(JsonParser.java:65) at com.google.gson.JsonParser.parse(JsonParser.java:45) at sn.d(SourceFile:246) at net.minecraft.server.MinecraftServer.run(SourceFile:541) at java.lang.Thread.run(Thread.java:748) Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $ at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559) at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1401) at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:542) at com.google.gson.stream.JsonReader.peek(JsonReader.java:425) at com.google.gson.JsonParser.parse(JsonParser.java:60) ... 4 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.13 Operating System: Linux (amd64) version 2.6.32-696.23.1.el6.x86_64 Java Version: 1.8.0_181, Oracle Corporation Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 912840056 bytes (870 MB) / 1029177344 bytes (981 MB) up to 1029177344 bytes (981 MB) JVM Flags: 2 total; -Xmx1024M -Xms1024M Profiler Position: N/A (disabled) Player Count: 0 / 20; [] Data Packs: Is Modded: Unknown (can't tell) Type: Dedicated Server (map_server.txt)The bug
I was upgrading an existing server from 1.12.2 to 1.13 and it wouldn't start and would just crash at startup. I was able to replicate the issue down to a single line in server.properties that worked fine before but is now an issue.
The line is:
generator-settings=3;minecraft\:stone;-1;I tested this on a fresh vanilla install that I verified ran fine. Once I added the offending line:
---- Minecraft Crash Report ---- // On the bright side, I bought you a teddy bear! Time: 8/1/18 10:22 AM Description: Exception in server tick loop com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $ at com.google.gson.JsonParser.parse(JsonParser.java:65) at com.google.gson.JsonParser.parse(JsonParser.java:45) at sn.d(SourceFile:246) at net.minecraft.server.MinecraftServer.run(SourceFile:541) at java.lang.Thread.run(Thread.java:748) Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $ at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559) at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1401) at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:542) at com.google.gson.stream.JsonReader.peek(JsonReader.java:425) at com.google.gson.JsonParser.parse(JsonParser.java:60) ... 4 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.13 Operating System: Linux (amd64) version 2.6.32-696.23.1.el6.x86_64 Java Version: 1.8.0_181, Oracle Corporation Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 912840056 bytes (870 MB) / 1029177344 bytes (981 MB) up to 1029177344 bytes (981 MB) JVM Flags: 2 total; -Xmx1024M -Xms1024M Profiler Position: N/A (disabled) Player Count: 0 / 20; [] Data Packs: Is Modded: Unknown (can't tell) Type: Dedicated Server (map_server.txt)
Centos 6
openjdk version "1.8.0_181"
is duplicated by
is duplicated by
As you already figured out, your issue is the generator-settings= string.
This is because level-type=CUSTOMIZED is no longer a thing in 1.13 as support for customized worlds has been dropped in this version. It's currently only the BUFFET level-type which expects a json formatted generator-settings= string.
Other related tickets for those who are interested: MC-134900, MC-135383.
Thank you for your report!
However, this issue is a Duplicate of MC-135383.
If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
Please recreate the superflat world in single player and copy the resulting string to the generator-settings in server.properties
I already have an existing world that was generated with the "offending" line.
Since the world is already generated, I just removed the line and was able to start the server, so I don't need to actually generate anything.
As such, an existing line shouldn't cause a crash on startup. Or at least give a proper error on what to fix.
> Please recreate the superflat world in single player and copy the resulting string to the generator-settings in server.properties
I am having the same issue and did exactly this, it resolved nothing.
Noteable:
After every start of the server when I copied the exact string from "Re-create world" and pasting it in server.properties, some `:` characters in for example `generator-settings=3;minecraft:stone;-1;` are replaced by `\:`, as seen `generator-settings=3;minecraft\:stone;-1;` here.
Perhaps this is amongst the core of this issue?
Use proper json format to get this to work. For example
generator-settings={"layers"\:[{"block"\:"minecraft\:stone","height"\:1}],"biome"\:"minecraft\:plains"}