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

GitHub | wenmingvs | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    【CrashLog】 WeiSwift 2016-08-04 09:49:03:494

    GitHub | 9 months ago | wenmingvs
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path $
  2. 0

    【CrashLog】 WeiSwift 2016-09-06 11:26:01:06

    GitHub | 8 months ago | wenmingvs
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path $
  3. 0

    private server usage

    GitHub | 7 months ago | Trustmania
    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

    Error while running gradle task jgivenReport

    GitHub | 5 months ago | RoRoche
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path $
  6. 0

    Pairing Google Home to ha-bridge v4.0.2

    GitHub | 3 months ago | adit262
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path $
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
    Gson.fromJson
    1. com.google.gson.stream.JsonReader.beginObject(JsonReader.java:387)
    2. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:189)
    3. com.google.gson.Gson.fromJson(Gson.java:810)
    4. com.google.gson.Gson.fromJson(Gson.java:775)
    5. com.google.gson.Gson.fromJson(Gson.java:724)
    6. com.google.gson.Gson.fromJson(Gson.java:696)
    6 frames
  3. com.wenming.weiswift
    StatusDetailModelImp$4.onComplete
    1. com.wenming.weiswift.entity.list.RetweetList.parse(RetweetList.java:49)
    2. com.wenming.weiswift.mvp.model.imp.StatusDetailModelImp$4.onComplete(StatusDetailModelImp.java:137)
    2 frames
  4. com.sina.weibo
    AsyncWeiboRunner$RequestRunner.onPostExecute
    1. com.sina.weibo.sdk.net.AsyncWeiboRunner$RequestRunner.onPostExecute(AsyncWeiboRunner.java:152)
    2. com.sina.weibo.sdk.net.AsyncWeiboRunner$RequestRunner.onPostExecute(AsyncWeiboRunner.java:1)
    2 frames
  5. Android Platform
    ActivityThread.main
    1. android.os.AsyncTask.finish(AsyncTask.java:632)
    2. android.os.AsyncTask.access$600(AsyncTask.java:177)
    3. android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:645)
    4. android.os.Handler.dispatchMessage(Handler.java:110)
    5. android.os.Looper.loop(Looper.java:193)
    6. android.app.ActivityThread.main(ActivityThread.java:5367)
    6 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:663)
    2 frames
  8. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame