mojira.dev
MC-135649

Minecraft Server 1.13 Fails to Start Due To JSON /GSON Errors

Minecraft server 1.12 runs fine but when I update the server jar file to 1.13, I get these errors. I've looked everywhere but can't seem to find this exact error online.

[22:37:17] [main/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]                                  
[22:37:17] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]                                                                     
[22:37:17] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]              
[22:37:17] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]                                      
[22:37:17] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]                                                   
[22:37:17] [main/INFO]: Loaded 0 recipes                                                                                                                                                                   
[22:37:17] [main/INFO]: Loaded 0 advancements                                                                                                                                                              
[22:37:17] [Server thread/INFO]: Starting minecraft server version 1.13                                                                                                                                    
[22:37:17] [Server thread/INFO]: Loading properties                                                                                                                                                        
[22:37:17] [Server thread/INFO]: Default game type: CREATIVE                                                                                                                                               
[22:37:17] [Server thread/INFO]: Generating keypair                                                                                                                                                        
[22:37:18] [Server thread/INFO]: Starting Minecraft server on *:25565                                                                                                                                      
[22:37:19] [Server thread/INFO]: Using epoll channel type                                                                                                                                                  
[22:37:20] [Server thread/INFO]: Preparing level "Waterworld"                                                                                                                                                        
[22:37:20] [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.jar:?]                                                                                                                  
        at com.google.gson.JsonParser.parse(JsonParser.java:45) ~[minecraft_server.jar:?]                                                                                                                  
        at sn.d(SourceFile:246) ~[minecraft_server.jar:?]                                                                                                                                                  
        at net.minecraft.server.MinecraftServer.run(SourceFile:541) [minecraft_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 3 path $                                                               
        at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559) ~[minecraft_server.jar:?]                                                                                                   
        at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1401) ~[minecraft_server.jar:?]                                                                                                  
        at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:542) ~[minecraft_server.jar:?]                                                                                                         
        at com.google.gson.stream.JsonReader.peek(JsonReader.java:425) ~[minecraft_server.jar:?]                                                                                                           
        at com.google.gson.JsonParser.parse(JsonParser.java:60) ~[minecraft_server.jar:?]                                                                                                                  
        ... 4 more                                                                                                                                                                                         
[22:37:20] [Server thread/ERROR]: This crash report has been saved to: /usr/local/minecraft/./crash-reports/crash-2018-08-05_22.37.20-server.txt                                                           
[22:37:20] [Server thread/INFO]: Stopping server                                                                                                                                                           
[22:37:20] [Server thread/INFO]: Saving players
---- Minecraft Crash Report ----                                                                                                                                                                           
// Surprise! Haha. Well, this is awkward.                                                                                                                                                                  
                                                                                                                                                                                                           
Time: 8/5/18 10:37 PM                                                                                                                                                                                      
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 4.2.8                                                                                                                                                      
        Java Version: 1.8.0_181, Oracle Corporation                                                                                                                                                        
        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation                                                                                                                
        Memory: 868606400 bytes (828 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 / 5; []                                                                                                                                                                            
        Data Packs:                                                                                                                                                                                        
        Is Modded: Unknown (can't tell)

Linked issues

Comments 1

Deleting the server.properties and restarting the server fixed the issue. Apparently something in the older version of that file was incompatible with the latest version of minecraft_server.1.13.jar. It is now working perfectly and I was able to add back in the settings from the old server.properties file.

Duane

(Unassigned)

Unconfirmed

Minecraft 1.13

Retrieved