com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path $

Stack Overflow | AND4011002849 | 4 months ago
  1. 0

    custom message error using retrofit ResponseBody

    Stack Overflow | 4 months ago | AND4011002849
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path $
  2. 0

    GSON deserialization going wrong: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path $

    Stack Overflow | 1 year ago | Charlotte1993
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path $
  3. 0

    Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path

    Stack Overflow | 2 months ago | Theo
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path $
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cant get the corect gson response kitkat devices

    Stack Overflow | 9 months ago | swaroop
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
  6. 0

    PingHandler IllegalStateException when pinging 1.7.10 mod server

    GitHub | 8 months ago | Brian-Graham
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 2 path $

  1. iridic 59 times, last 2 months ago
  2. th3teacher 1 times, last 5 months ago
  3. ank_07 27 times, last 5 months ago
  4. Stefan Braune 2 times, last 6 months ago
  5. Diogo Jaym 4 times, last 7 months ago
5 more registered users
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path $

    at com.google.gson.stream.JsonReader.beginObject()
  2. Gson
    ReflectiveTypeAdapterFactory$Adapter.read
    1. com.google.gson.stream.JsonReader.beginObject(JsonReader.java:385)
    2. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:213)
    2 frames