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

Stack Overflow | moji ka | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    how to can create search with volley in android?

    Stack Overflow | 9 months ago | moji ka
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1
  2. 0

    Twitter fatal exception: Unable to respond to any of these challenges: {oauth=WWW-Authenticate: OAuth realm=“http://twitter.com”}

    Stack Overflow | 3 years ago | user2943342
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1
  3. 0

    Expected BEGIN_ARRAY but was STRING at line 1 column 1: getting JSON from PHP to Java with Gson

    Stack Overflow | 3 years ago | Gizmo Ichitzo
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    technical issues - Minecraft Vanilla crash IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1? - Arqade

    stackexchange.com | 11 months ago
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1
  6. 0

    technical issues - Why can't I play Minecraft 1.7.10 Single player? I get JsonSyntaxException - Arqade

    stackexchange.com | 11 months ago
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1

  1. Hiren 1 times, last 7 days ago
  2. Nikolay Rybak 9 times, last 2 months ago
  3. justCodeit 11 times, last 3 months ago
  4. filpgame 4 times, last 3 months ago
  5. Emrah Küçük 9 times, last 5 months ago
20 more registered users
53 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_ARRAY but was STRING at line 1 column 1

    at com.google.gson.stream.JsonReader.beginArray()
  2. Gson
    Gson.fromJson
    1. com.google.gson.stream.JsonReader.beginArray(JsonReader.java:338)
    2. com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:79)
    3. com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60)
    4. com.google.gson.Gson.fromJson(Gson.java:803)
    4 frames