-
Bug
-
Resolution: Duplicate
-
None
-
Minecraft 1.13.2
-
None
-
Environment is a headless (non-GUI) linux server. Details:
Ubuntu 18 64-bit
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-0ubuntu0.18.04.1-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)
or as in the Minecraft error log:
{code:java}
-- System Details --
Details: Minecraft Version: 1.13.2
Operating System: Linux (amd64) version 4.15.0-38-generic
Java Version: 1.8.0_181, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation{code}
Environment is a headless (non-GUI) linux server. Details: Ubuntu 18 64-bit openjdk version "1.8.0_181" OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-0ubuntu0.18.04.1-b13) OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode) or as in the Minecraft error log: {code:java} -- System Details -- Details: Minecraft Version: 1.13.2 Operating System: Linux (amd64) version 4.15.0-38-generic Java Version: 1.8.0_181, Oracle Corporation Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation{code}
-
Unconfirmed
After an upgrade a Minecraft 1.12.2 server to Minecraft 1.13.2, the server will not start.
The upgrade consisted of copying only the server.properties and world folder, and re-creating all other files (e.g. whitelist, ops, eula.txt freshly by the 1.13.2 server.jar).
The server could not start. It would begin loading, but upon "Preparing level "MyTown"" (mytown is my world name) it crashed due to a com.google.gson.JsonParseException.
A snippet:
[...] [22:50:58] [Server thread/INFO]: Default game type: SPECTATOR [22:50:58] [Server thread/INFO]: Generating keypair [22:50:58] [Server thread/INFO]: Starting Minecraft server on [removed] [22:50:58] [Server thread/INFO]: Using epoll channel type [22:50:59] [Server thread/INFO]: Preparing level "MyTown" [22:50:59] [Server thread/ERROR]: Encountered an unexpected exception com.google.gson.JsonParseException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $ at xj.a(SourceFile:499) ~[server.jar:?] [...] at so.d(SourceFile:249) ~[server.jar:?] at net.minecraft.server.MinecraftServer.run(SourceFile:566) [server.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 1 path $ [...]
Changing various things, such as removing playerdata, nbt datastructures, etc from the world folder did not change a thing. (in fact, I even removed everything except for the level.dat and chunk files as a test)
As a last test I decided to change the `generator settings` and `level-type` settings to empty and DEFAULT respectivily, and everything worked again. Except for that my World didn't generate new chunks according to the flat-customized world type anymore.
- duplicates
-
MC-135383 Minecraft Server: com.google.gson.JsonSyntaxException caused by malformed flatland string
- Resolved