com.google.gson.JsonSyntaxException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 7#270351834
    via GitHub by s10wen
    ,
  • Crash with Even 7.1.0.92
    via GitHub by 10xephos01
    ,
  • Return 4 list from AsyncTask
    via Stack Overflow by hesham
    ,
  • Fatal exception #asynk task
    via Stack Overflow by davinci.2405
    ,
  • This is not a JSON Array
    via GitHub by LuciDuki
    ,
    • com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: This is not a JSON Array. at com.google.gson.Gson.fromJson(Gson.java:899) at com.google.gson.Gson.fromJson(Gson.java:952) at com.google.gson.internal.bind.TreeTypeAdapter$GsonContextImpl.deserialize(TreeTypeAdapter.java:162) at JsonDataDeserialisation.deserialize(JsonDataDeserialisation.java:20) at JsonDataDeserialisation.deserialize(JsonDataDeserialisation.java:1) at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:69) at com.google.gson.Gson.fromJson(Gson.java:887) at JsonMainClass.main(JsonMainClass.java:15) Caused by: java.lang.IllegalStateException: This is not a JSON Array. at com.google.gson.JsonElement.getAsJsonArray(JsonElement.java:106) at FieldaDeserialisation.deserialize(FieldaDeserialisation.java:18) at FieldaDeserialisation.deserialize(FieldaDeserialisation.java:1) at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:69) at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:41) at com.google.gson.internal.bind.ArrayTypeAdapter.read(ArrayTypeAdapter.java:72) at com.google.gson.Gson.fromJson(Gson.java:887) ... 7 more
    No Bugmate found.