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

Samebug tips

  1. ,

    Your json input might be invalid. Try checking it in a validator like https://jsonlint.com

  2. ,

    Your custom gson deserializer might have a bug. Try to write a unit test that checks proper deserialization of only that class by forging a json that contains a single field of that type.

Solutions on the web

via Stack Overflow by Urma Tilekov
, 2 years ago
java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1 path $
via Stack Overflow by Sunny
, 2 years ago
java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 74 at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:176)
via GitHub by cama
, 1 year ago
java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING
via ne.jp by Unknown author, 2 years ago
java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1
Empty query.