Jump to content

could someone tell me what i've done wrong with my server


hogfly893

Recommended Posts

HERE'S MY CRASH REPORT

---- Minecraft Crash Report ----
// Hey, that tickles! Hehehe!

Time: 18/06/17 13:17
Description: Exception in server tick loop

com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1
    at com.google.gson.Gson.fromJson(Gson.java:815)
    at com.google.gson.Gson.fromJson(Gson.java:768)
    at net.minecraft.server.management.UserList.func_152679_g(SourceFile:137)
    at net.minecraft.server.dedicated.DedicatedPlayerList.func_187246_z(SourceFile:99)
    at net.minecraft.server.dedicated.DedicatedPlayerList.<init>(SourceFile:25)
    at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:215)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:431)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1
    at com.google.gson.stream.JsonReader.beginArray(JsonReader.java:338)
    at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:79)
    at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60)
    at com.google.gson.Gson.fromJson(Gson.java:803)
    ... 7 more


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

-- System Details --
Details:
    Minecraft Version: 1.10
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_77, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 371707888 bytes (354 MB) / 503316480 bytes (480 MB) up to 855113728 bytes (815 MB)
    JVM Flags: 1 total; -Xmn512M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP 9.32 Powered by Forge 12.18.0.2000 3 mods loaded, 3 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UCHIJA    mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
    UCHIJA    FML{8.0.99.99} [Forge Mod Loader] (forge-1.10-12.18.0.2000-1.10.0-universal.jar) 
    UCHIJA    Forge{12.18.0.2000} [Minecraft Forge] (forge-1.10-12.18.0.2000-1.10.0-universal.jar) 
    Loaded coremods (and transformers): 
    Profiler Position: N/A (disabled)
    Is Modded: Definitely; Server brand changed to 'fml,forge'
    Type: Dedicated Server (map_server.txt)

Link to comment
Share on other sites

15 minutes ago, hogfly893 said:

com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1
    at com.google.gson.Gson.fromJson(Gson.java:815)
    at com.google.gson.Gson.fromJson(Gson.java:768)
    at net.minecraft.server.management.UserList.func_152679_g(SourceFile:137)
    at net.minecraft.server.dedicated.DedicatedPlayerList.func_187246_z(SourceFile:99)
    at net.minecraft.server.dedicated.DedicatedPlayerList.<init>(SourceFile:25)
    at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:215)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:431)

 

func_187246_z is loadPlayerBanList, which is the method responsible for loading the list of banned players from banned-players.json. This error was thrown because that file has a syntax error in it.

 

Either fix the syntax error or delete the file and re-ban any banned players.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.