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 stackexchange.com by Unknown author, 1 year ago
java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1
via Arqade by user84101
, 1 year ago
java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1
via hardforum.com by Unknown author, 1 year ago
java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1
via reddit.com by Unknown author, 1 year ago
java.lang.IllegalStateException: Expected B EGIN_ARRAY but was STRING at line 1 column 1
via javatalks.ru by Unknown author, 1 year ago
com.google.gson.stream.MalformedJsonException: Unterminated array at line 2 column 5
via Stack Overflow by Neuronix
, 2 years ago
com.google.gson.stream.MalformedJsonException: Unterminated array at line 2 column 5
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.ns.b(SourceFile:156)
at undefined.ns.(SourceFile:42)
at undefined.bsx.(SourceFile:38)
at undefined.bao.a(SourceFile:1610)
at undefined.bdx.e(SourceFile:162)
at undefined.bdx.a(SourceFile:127)
at undefined.bdw.a(SourceFile:172)
at undefined.bdw.k(SourceFile:232)
at undefined.bdw.p(SourceFile:211)
at undefined.bao.p(SourceFile:1328)
at undefined.bao.ak(SourceFile:774)
at undefined.bao.f(SourceFile:728)

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.