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

GitHub | wenmingvs | 3 months ago
  1. 0

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

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

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

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

    How to parse a nested JSON in Java?

    Stack Overflow | 7 months ago | Johji
    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

    Terminated input leaves inaccessible metrics behind

    GitHub | 2 years ago | kroepke
    java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 5
  6. 0

    sencha android packaging packager.json (on windows)

    Stack Overflow | 3 years ago | Mitch
    java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 9 column 26

  1. nasimk 1 times, last 2 weeks ago
  2. serious2monkeys 1 times, last 3 weeks ago
  3. Stefan Braune 1 times, last 4 months ago
4 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
    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$3.onComplete
    1. com.wenming.weiswift.entity.list.RetweetList.parse(RetweetList.java:49)
    2. com.wenming.weiswift.mvp.model.imp.StatusDetailModelImp$3.onComplete(StatusDetailModelImp.java:103)
    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:651)
    2. android.os.AsyncTask.access$500(AsyncTask.java:180)
    3. android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:668)
    4. android.os.Handler.dispatchMessage(Handler.java:102)
    5. android.os.Looper.loop(Looper.java:148)
    6. android.app.ActivityThread.main(ActivityThread.java:5438)
    6 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
    2 frames