Jump to content
  • 0

Server Keeps Crashing


Bdrowning51

Question

Everytime I try and start the server, it doesn't work and I get a bunch of errors:

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.ChatDeserializer.a(ChatDeserializer.java:495) ~[patched_1.17.1.jar:git-Paper-239]
    at net.minecraft.util.ChatDeserializer.a(ChatDeserializer.java:545) ~[patched_1.17.1.jar:git-Paper-239]
    at net.minecraft.util.ChatDeserializer.a(ChatDeserializer.java:541) ~[patched_1.17.1.jar:git-Paper-239]
    at net.minecraft.util.ChatDeserializer.a(ChatDeserializer.java:549) ~[patched_1.17.1.jar:git-Paper-239]
    at net.minecraft.world.level.levelgen.GeneratorSettings.a(GeneratorSettings.java:247) ~[patched_1.17.1.jar:git-Paper-239]
    at net.minecraft.server.dedicated.DedicatedServerProperties.a(DedicatedServerProperties.java:142) ~[patched_1.17.1.jar:git-Paper-239]
    at net.minecraft.server.MinecraftServer.loadWorld(MinecraftServer.java:540) ~[patched_1.17.1.jar:git-Paper-239]
    at net.minecraft.server.dedicated.DedicatedServer.init(DedicatedServer.java:306) ~[patched_1.17.1.jar:git-Paper-239]
    at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1212) ~[patched_1.17.1.jar:git-Paper-239]
    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-239]
    at java.lang.Thread.run(Thread.java:831) [?:?]
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) ~[patched_1.17.1.jar:git-Paper-239]
    at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1401) ~[patched_1.17.1.jar:git-Paper-239]
    at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:593) ~[patched_1.17.1.jar:git-Paper-239]
    at com.google.gson.stream.JsonReader.peek(JsonReader.java:425) ~[patched_1.17.1.jar:git-Paper-239]
    at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:716) ~[patched_1.17.1.jar:git-Paper-239]
    at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:714) ~[patched_1.17.1.jar:git-Paper-239]
    at com.google.gson.internal.bind.TypeAdapters$35$1.read(TypeAdapters.java:910) ~[patched_1.17.1.jar:git-Paper-239]
    at net.minecraft.util.ChatDeserializer.a(ChatDeserializer.java:493) ~[patched_1.17.1.jar:git-Paper-239]
    ... 10 more
[23:27:52 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:1559) ~[patched_1.17.1.jar:git-Paper-239]
    at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1401) ~[patched_1.17.1.jar:git-Paper-239]
    at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:593) ~[patched_1.17.1.jar:git-Paper-239]
    at com.google.gson.stream.JsonReader.peek(JsonReader.java:425) ~[patched_1.17.1.jar:git-Paper-239]
    at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:716) ~[patched_1.17.1.jar:git-Paper-239]
    at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:714) ~[patched_1.17.1.jar:git-Paper-239]
    at com.google.gson.internal.bind.TypeAdapters$35$1.read(TypeAdapters.java:910) ~[patched_1.17.1.jar:git-Paper-239]
    at net.minecraft.util.ChatDeserializer.a(ChatDeserializer.java:493) ~[patched_1.17.1.jar:git-Paper-239]
    at net.minecraft.util.ChatDeserializer.a(ChatDeserializer.java:545) ~[patched_1.17.1.jar:git-Paper-239]
    at net.minecraft.util.ChatDeserializer.a(ChatDeserializer.java:541) ~[patched_1.17.1.jar:git-Paper-239]
    at net.minecraft.util.ChatDeserializer.a(ChatDeserializer.java:549) ~[patched_1.17.1.jar:git-Paper-239]
    at net.minecraft.world.level.levelgen.GeneratorSettings.a(GeneratorSettings.java:247) ~[patched_1.17.1.jar:git-Paper-239]
    at net.minecraft.server.dedicated.DedicatedServerProperties.a(DedicatedServerProperties.java:142) ~[patched_1.17.1.jar:git-Paper-239]
    at net.minecraft.server.MinecraftServer.loadWorld(MinecraftServer.java:540) ~[patched_1.17.1.jar:git-Paper-239]
    at net.minecraft.server.dedicated.DedicatedServer.init(DedicatedServer.java:306) ~[patched_1.17.1.jar:git-Paper-239]
    at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1212) ~[patched_1.17.1.jar:git-Paper-239]
    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-239]
    at java.lang.Thread.run(Thread.java:831) [?:?]
[23:27:52 ERROR]: This crash report has been saved to: /home/minecraft/server/./crash-reports/crash-2021-09-01_23.27.52-server.txt

I'm pretty sure it is because of what I put in my generator settings, because everytime I get rid of the generator settings, the server is able to load again, but the world isn't customized the way I want it to be. Please help me

Edited by Bdrowning51
got a word wrong
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
12 minutes ago, Bdrowning51 said:

I'm pretty sure it is because of what I put in my generator settings, because everytime I get rid of the generator settings, the server is able to load again, but the world isn't customized the way I want it to be. Please help me

Yes that issue is cause of what you put in generator settings. That box has never worked for me. You could just create the world in singleplayer and use its generator settings and then just upload it to your server. 

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev

---------------------------------------------------------

[VIP] - 7/27/2020

Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now

---------------------------------------------------------

image.png.70849a9b84e0347ce107b8e3eaee312c.pngimage.png.2111009afbd8bef10966ba9ede35a199.png

Link to comment
Share on other sites

  • 0
On 9/2/2021 at 11:48 AM, _Tarna_ said:

Yes that issue is cause of what you put in generator settings. That box has never worked for me. You could just create the world in singleplayer and use its generator settings and then just upload it to your server. 

I can't quite do that because I play minecraft on my nintendo switch, so I cant upload worlds from my nintendo to my phone or chromebook

Link to comment
Share on other sites

  • 0
20 minutes ago, Bdrowning51 said:

I can't quite do that because I play minecraft on my nintendo switch, so I cant upload worlds from my nintendo to my phone or chromebook

Oh so you don't have java edition to make the world from singleplayer. What kind of world are you trying to make? There are plugins that you may be able to use to make the worlds with instead.

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev

---------------------------------------------------------

[VIP] - 7/27/2020

Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now

---------------------------------------------------------

image.png.70849a9b84e0347ce107b8e3eaee312c.pngimage.png.2111009afbd8bef10966ba9ede35a199.png

Link to comment
Share on other sites

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...