Jump to content
  • 0

I cant open my server and I keep getting this error message


Question

Posted
[00:14:04 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 net.minecraft.util.GsonHelper.fromJson(GsonHelper.java:495) ~[app:?]
	at net.minecraft.util.GsonHelper.parse(GsonHelper.java:545) ~[app:?]
	at net.minecraft.util.GsonHelper.parse(GsonHelper.java:541) ~[app:?]
	at net.minecraft.util.GsonHelper.parse(GsonHelper.java:549) ~[app:?]
	at net.minecraft.world.level.levelgen.WorldGenSettings.create(WorldGenSettings.java:247) ~[app:?]
	at net.minecraft.server.dedicated.DedicatedServerProperties.getWorldGenSettings(DedicatedServerProperties.java:142) ~[patched_1.17.1.jar:git-Paper-411]
	at net.minecraft.server.MinecraftServer.loadWorld(MinecraftServer.java:540) ~[patched_1.17.1.jar:git-Paper-411]
	at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:317) ~[patched_1.17.1.jar:git-Paper-411]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1220) ~[patched_1.17.1.jar:git-Paper-411]
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-411]
	at java.lang.Thread.run(Thread.java:833) ~[?:?]
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:1562) ~[patched_1.17.1.jar:git-Paper-411]
	at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1403) ~[patched_1.17.1.jar:git-Paper-411]
	at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:592) ~[patched_1.17.1.jar:git-Paper-411]
	at com.google.gson.stream.JsonReader.peek(JsonReader.java:424) ~[patched_1.17.1.jar:git-Paper-411]
	at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:703) ~[patched_1.17.1.jar:git-Paper-411]
	at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:701) ~[patched_1.17.1.jar:git-Paper-411]
	at com.google.gson.internal.bind.TypeAdapters$35$1.read(TypeAdapters.java:908) ~[patched_1.17.1.jar:git-Paper-411]
	at net.minecraft.util.GsonHelper.fromJson(GsonHelper.java:493) ~[app:?]
	... 10 more
[00:14:04 ERROR]: 	Cause of unexpected exception was
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:1562) ~[patched_1.17.1.jar:git-Paper-411]
	at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1403) ~[patched_1.17.1.jar:git-Paper-411]
	at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:592) ~[patched_1.17.1.jar:git-Paper-411]
	at com.google.gson.stream.JsonReader.peek(JsonReader.java:424) ~[patched_1.17.1.jar:git-Paper-411]
	at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:703) ~[patched_1.17.1.jar:git-Paper-411]
	at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:701) ~[patched_1.17.1.jar:git-Paper-411]
	at com.google.gson.internal.bind.TypeAdapters$35$1.read(TypeAdapters.java:908) ~[patched_1.17.1.jar:git-Paper-411]
	at net.minecraft.util.GsonHelper.fromJson(GsonHelper.java:493) ~[app:?]
	at net.minecraft.util.GsonHelper.parse(GsonHelper.java:545) ~[app:?]
	at net.minecraft.util.GsonHelper.parse(GsonHelper.java:541) ~[app:?]
	at net.minecraft.util.GsonHelper.parse(GsonHelper.java:549) ~[app:?]
	at net.minecraft.world.level.levelgen.WorldGenSettings.create(WorldGenSettings.java:247) ~[app:?]
	at net.minecraft.server.dedicated.DedicatedServerProperties.getWorldGenSettings(DedicatedServerProperties.java:142) ~[patched_1.17.1.jar:git-Paper-411]
	at net.minecraft.server.MinecraftServer.loadWorld(MinecraftServer.java:540) ~[patched_1.17.1.jar:git-Paper-411]
	at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:317) ~[patched_1.17.1.jar:git-Paper-411]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1220) ~[patched_1.17.1.jar:git-Paper-411]
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-411]
	at java.lang.Thread.run(Thread.java:833) ~[?:?]
[00:14:04 ERROR]: This crash report has been saved to: /home/minecraft/server/./crash-reports/crash-2022-05-27_00.14.04-server.txt

1 answer to this question

Recommended Posts

  • 0
  • Administrator
Posted

Please follow these steps as they have helped other users with this error:

  • Activate/Start your server
  • Click on Manager Server
  • Go to Server Properties in Settings, make sure you have the correct Server Properties, then click Save Change. 
  • Restart your server when done

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...