mojira.dev
MC-152489

1.14.1 server crashes on startup

I try to start my minecraft server through the normal server.jar and it opens for less than a second and then closes, giving me the provided crash report. I recently installed Chrome Remote Desktop, so that could be the problem. I just don't know how to fix it. The server isn't modded but uses multiple data packs. It worked up until I recently tried to start it up.
Edit: I've uninstalled Chrome Remote Desktop and that hasn't fixed the problem.
2nd Edit: It seems to work when an IP isn't set in server.properties. Anytime I set the server IP to anything like an IP, it crashes on startup, giving me the exact same crash report each time.

1.14.1\: [^crash-2019-05-20_16.18.10-server.txt]

escription: Exception in server tick loop

com.google.gson.JsonParseException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $
	at zm.a(SourceFile:507)
	at zm.a(SourceFile:523)
	at xu.g(SourceFile:146)
	at uf.z(SourceFile:98)
	at uf.<init>(SourceFile:25)
	at ug.d(SourceFile:185)
	at net.minecraft.server.MinecraftServer.run(SourceFile:605)
	at java.lang.Thread.run(Unknown Source)
Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 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:593)
	at com.google.gson.stream.JsonReader.peek(JsonReader.java:425)
	at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:74)
	at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61)
	at zm.a(SourceFile:505)
	... 7 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
	Minecraft Version: 1.14.1
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_211, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 1445101792 bytes (1378 MB) / 1585971200 bytes (1512 MB) up to 7621050368 bytes (7268 MB)
	JVM Flags: 0 total; 
	Data Packs: 
	Is Modded: Unknown (can't tell)
	Type: Dedicated Server (map_server.txt)

Attachments

Comments 4

not a bug. One of your json files is malformed - did you edit a file manually?

maybe whitelist.json or banned.json .. either remove all json files or fix the syntax and restart server

accept malformed JSON at line 1 column 1 path $

I tried deleting whitelist, usercache, bannedips and player, and ops.json. It didn't fix the problem. It seems to work when an IP isn't set in server.properties. Anytime I set the server IP to anything like an IP, it crashes on startup, giving me the exact same crash report each time.

Aiden: you are likely editing the file in the wrong mode (non-UTF-8 or using the wrong line endings). Edit it with Notepad++ or another editor which automatically detects the correct file type and line endings.

This should be closed as this is not a bug.

Malformed server.properties file. Please get in touch with the community support if you cannot fix it yourself.

Aiden B

(Unassigned)

Unconfirmed

Crash

crash, server

Minecraft 1.14.1

Retrieved