Hi - My son is having trouble launching minecraft. He gets the following message:
Exception in thread "Client thread" 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 lu.b(SourceFile:151)
at lu.<init>(SourceFile:43)
at net.minecraft.server.MinecraftServer.<init>(SourceFile:155)
at bpp.<init>(SourceFile:41)
at avf.<init>(SourceFile:293)
at net.minecraft.client.main.Main.main(SourceFile:124)
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
Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
Does anybody know what we need to do to resolve this issue?
java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1 signals that a method has been invoked at an illegal or inappropriate time. In other words, the Java environment or Java application is not in an appropriate state for the requested operation. What version of Java do you have? and is it up to date?
You have a corrupted JSON file on disk. Try deleting %appdata%/.minecraft/usercache.json (this file only stores your logged in state and can be regenerated by logging in again)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi - My son is having trouble launching minecraft. He gets the following message:
Exception in thread "Client thread" 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 lu.b(SourceFile:151)
at lu.<init>(SourceFile:43)
at net.minecraft.server.MinecraftServer.<init>(SourceFile:155)
at bpp.<init>(SourceFile:41)
at avf.<init>(SourceFile:293)
at net.minecraft.client.main.Main.main(SourceFile:124)
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
Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
Does anybody know what we need to do to resolve this issue?
Thanks
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumjava.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1 signals that a method has been invoked at an illegal or inappropriate time. In other words, the Java environment or Java application is not in an appropriate state for the requested operation. What version of Java do you have? and is it up to date?
You have a corrupted JSON file on disk. Try deleting %appdata%/.minecraft/usercache.json (this file only stores your logged in state and can be regenerated by logging in again)