com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Mojang JIRA by Stevan Stojanovic, 1 year ago
java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1
via Mojang JIRA by Stevan Stojanovic, 1 year ago
java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1
via Arqade by Bridgette
, 1 year ago
java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1
via stackexchange.com by Unknown author, 1 year ago
java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1
via co.jp by Unknown author, 1 year ago
java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1
via stackexchange.com by Unknown author, 1 year ago
java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1
com.google.gson.JsonSyntaxException: 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)
at undefined.lu.b(SourceFile:151)
at undefined.lu.(SourceFile:43)
at undefined.bpp.(SourceFile:41)
at undefined.avf.(SourceFile:293)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 4 weeks ago
2 times, 8 months ago
50 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.