Server Errors Help Me


#1

---- Minecraft Crash Report ----

WARNING: coremods are present:
SpongeCoremod (spongeforge-1.12.2-2768-7.1.5.jar)
Contact their authors BEFORE contacting forge

// Oh - I know what I did wrong!

Time: 2019/4/12 上午 2:14
Description: Exception in server tick loop

com.google.gson.JsonParseException: java.io.EOFException: End of input at line 1 column 1 path $
at net.minecraft.util.JsonUtils.func_193838_a(SourceFile:506)
at net.minecraft.util.JsonUtils.func_193841_a(SourceFile:522)
at net.minecraft.server.management.UserList.func_152679_g(SourceFile:141)
at net.minecraft.server.dedicated.DedicatedPlayerList.func_187246_z(SourceFile:99)
at net.minecraft.server.dedicated.DedicatedPlayerList.(SourceFile:25)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:220)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.EOFException: End of input at line 1 column 1 path $
at com.google.gson.stream.JsonReader.nextNonWhitespace(JsonReader.java:1393)
at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:549)
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 net.minecraft.util.JsonUtils.func_193838_a(SourceFile:504)
… 7 more

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

– Head –
Thread: Server thread
Stacktrace:
at net.minecraft.util.JsonUtils.func_193838_a(SourceFile:506)
at net.minecraft.util.JsonUtils.func_193841_a(SourceFile:522)
at net.minecraft.server.management.UserList.func_152679_g(SourceFile:141)

– Sponge PhaseTracker –
Details:
Phase Stack: [Empty stack]
Stacktrace:
at net.minecraft.server.MinecraftServer.handler$onCrashReport$zjm000(MinecraftServer.java:3973)
at net.minecraft.server.MinecraftServer.func_71230_b(MinecraftServer.java:889)
at net.minecraft.server.dedicated.DedicatedServer.func_71230_b(DedicatedServer.java:371)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:558)
at java.lang.Thread.run(Unknown Source)

– System Details –
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_201, Oracle Corporation
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 762168208 bytes (726 MB) / 2314731520 bytes (2207 MB) up to 5726797824 bytes (5461 MB)
JVM Flags: 1 total; -Xmx6144M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.42 Powered by Forge 14.23.5.2768 32 mods loaded, 32 mods active
States: ‘U’ = Unloaded ‘L’ = Loaded ‘C’ = Constructed ‘H’ = Pre-initialized ‘I’ = Initialized ‘J’ = Post-initialized ‘A’ = Available ‘D’ = Disabled ‘E’ = Errored

| State  | ID                    | Version              | Source                                           | Signature                                |
|:------ |:--------------------- |:-------------------- |:------------------------------------------------ |:---------------------------------------- |
| UCHIJA | minecraft             | 1.12.2               | minecraft.jar                                    | None                                     |
| UCHIJA | mcp                   | 9.42                 | minecraft.jar                                    | None                                     |
| UCHIJA | FML                   | 8.0.99.99            | forge.jar                                        | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| UCHIJA | forge                 | 14.23.5.2768         | forge.jar                                        | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| UCHIJA | spongeapi             | 7.1.0-366290f8       | spongeforge-1.12.2-2768-7.1.5.jar                | None                                     |
| UCHIJA | sponge                | 1.12.2-7.1.5         | spongeforge-1.12.2-2768-7.1.5.jar                | None                                     |
| UCHIJA | spongeforge           | 1.12.2-2768-7.1.5    | spongeforge-1.12.2-2768-7.1.5.jar                | None                                     |
| UCHIJA | ic2                   | 2.8.109-ex112        | industrialcraft-2-2.8.109-ex112-tw.jar           | None                                     |
| UCHIJA | advanced_solar_panels | 4.2.0                | Advanced+Solar+Panels-4.2.0.jar                  | None                                     |
| UCHIJA | buildcraftlib         | 7.99.23              | buildcraft-all-7.99.23.jar                       | None                                     |
| UCHIJA | buildcraftcore        | 7.99.23              | buildcraft-all-7.99.23.jar                       | None                                     |
| UCHIJA | buildcraftbuilders    | 7.99.23              | buildcraft-all-7.99.23.jar                       | None                                     |
| UCHIJA | buildcrafttransport   | 7.99.23              | buildcraft-all-7.99.23.jar                       | None                                     |
| UCHIJA | buildcraftsilicon     | 7.99.23              | buildcraft-all-7.99.23.jar                       | None                                     |
| UCHIJA | buildcraftenergy      | 7.99.23              | buildcraft-all-7.99.23.jar                       | None                                     |
| UCHIJA | forestry              | 5.8.2.380            | forestry_1.12.2-5.8.2.380.jar                    | None                                     |
| UCHIJA | buildcraftcompat      | 7.99.23              | buildcraft-all-7.99.23.jar                       | None                                     |
| UCHIJA | buildcraftfactory     | 7.99.23              | buildcraft-all-7.99.23.jar                       | None                                     |
| UCHIJA | buildcraftrobotics    | 7.99.23              | buildcraft-all-7.99.23.jar                       | None                                     |
| UCHIJA | compactsolars         | 1.12.2-5.0.17.340    | CompactSolars-1.12.2-5.0.17.340-universal-tw.jar | None                                     |
| UCHIJA | griefprevention       | 4.3.0                | griefprevention-1.12.2-4.3.0.662.jar             | None                                     |
| UCHIJA | flexiblelogin         | 0.18-SNAPSHOT        | flexiblelogin-0.18-SNAPSHOT.jar                  | None                                     |
| UCHIJA | gravisuite            | 3.1.0                | Gravitation+Suite-3.1.0.jar                      | None                                     |
| UCHIJA | holograms             | 3.1.5                | holograms-3.1.5.jar                              | None                                     |
| UCHIJA | ironchest             | 1.12.2-7.0.59.842    | ironchest-1.12.2-7.0.59.842-tw.jar               | None                                     |
| UCHIJA | latch                 | 0.5.0-汉化:CDCP Menzor | latch-0.5.0-lock-fix-S7.1.0[汉化].jar              | None                                     |
| UCHIJA | luckperms             | 4.3.109              | LuckPerms-Sponge-4.3.109.jar                     | None                                     |
| UCHIJA | mmcreboot             | 2.3.0                | MMCReboot-2.3.0-API-7.jar                        | None                                     |
| UCHIJA | nucleus               | 1.8.2-S7.1           | Nucleus-1.8.2-S7.1-MC1.12.2-plugin.jar           | None                                     |
| UCHIJA | prism                 | 3.0.0                | prism-3.0.0-beta2-75-g9b005fd-7-g95cd240-all.jar | None                                     |
| UCHIJA | scavenger             | 1.0.0                | scavenger-1.0-SNAPSHOT-shaded.jar                | None                                     |
| UCHIJA | twilightforest        | 3.8.689              | twilightforest-1.12.2-3.8.689-universal.jar      | None                                     |

Loaded coremods (and transformers): 

SpongeCoremod (spongeforge-1.12.2-2768-7.1.5.jar)
org.spongepowered.common.launch.transformer.SpongeSuperclassTransformer
Profiler Position: N/A (disabled)
Is Modded: Definitely; Server brand changed to ‘fml,forge,sponge’
Type: Dedicated Server (map_server.txt)


#2

Your banned-players.json file is corrupt. If you have entries in that file you’ll need to manually repair the JSON structure, otherwise delete the file and let the server generate an empty ban list.


#3

How to repair the JSON structure


#4

It would be beneficial to get a basic understanding of JSON syntax, https://en.wikipedia.org/wiki/JSON and https://json.org/ might help.

Paste the content into a JSON linter and it will point to where the error is, for example: https://jsonlint.com/
Find what the problem is and when the linter says it’s valid then put it back in banned-players.json