1

My mc sdrver runing on my own pc is not letting me riun the java program so i cant run /start

hello_friendsTTV's Avatar hello_friendsTTV12/8/19 9:23 pm
1 emeralds 185 1
12/12/2019 10:36 am
ZonkedCompanion's Avatar ZonkedCompanion
the crash report reads ---- Minecraft Crash Report ----
// Why did you do that?
Time: 12/8/19 8:19 PM
Description: 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 2 path $[0]
at zs.a(SourceFile:507)
at zs.a(SourceFile:523)
at xz.g(SourceFile:146)
at uj.z(SourceFile:98)
at uj.<init>(SourceFile:25)
at uk.d(SourceFile:185)
at net.minecraft.server.MinecraftServer.run(SourceFile:615)
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 2 path $[0]
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.hasNext(JsonReader.java:414)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:81)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61)
at zs.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.4
Minecraft Version ID: 1.14.4
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_231, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 912618200 bytes (870 MB) / 1067974656 bytes (1018 MB) up to 1067974656 bytes (1018 MB)
CPUs: 8
JVM Flags: 2 total; -Xmx1024M -Xms1024M
Data Packs:
Is Modded: Unknown (can't tell)
Type: Dedicated Server (map_server.txt)
Posted by hello_friendsTTV's Avatar
hello_friendsTTV
Level 1 : New Miner
0

Create an account or sign in to comment.

1

1
12/12/2019 10:36 am
Level 32 : Artisan Pirate
ZonkedCompanion
ZonkedCompanion's Avatar
Looks like some JSON is messed up... What does it say in the server console?

Perhaps banned-players.json, banned-ips.json, ops.json or whitelist.json is corrupt?

First I would remove all plugins at re try, if it starts successfully then add the plugins back in one by one until it breaks. You will then know which plugin is causing the issue.

Or failing that, delete all server config files and let fresh defaults be created.

If that fails, reinstall java.

Also the following JVM flags are usually recommended when running on a windows OS...

-XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=100 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:G1MixedGCLiveThresholdPercent=35 -XX:+AlwaysPreTouch -XX:+ParallelRefProcEnabled -Dusing.aikars.flags=mcflags.emc.gs

(Add them to your start up script after -Xmx1024M -Xms1024M)
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome