java.lang.IllegalStateException: Expected an int but was BOOLEAN at line 1 column 201 path $[0].createTime

qcloud.com | 3 months ago
  1. 0

    后台换了后,安卓客户端总是出现以下错误,请帮忙看下!-腾讯云官方论坛

    qcloud.com | 3 months ago
    java.lang.IllegalStateException: Expected an int but was BOOLEAN at line 1 column 201 path $[0].createTime
  2. 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
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Gson deserialize list of self nested elements. Error: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING

    Stack Overflow | 2 years ago | masterdany88
    java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 72 path $[0].parent
  6. 0

    Passing Json data to Spring code. Parse Error

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

  1. nasimk 1 times, last 3 weeks ago
  2. serious2monkeys 1 times, last 1 month ago
  3. Stefan Braune 1 times, last 5 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 an int but was BOOLEAN at line 1 column 201 path $[0].createTime

    at com.google.gson.stream.JsonReader.nextInt()
  2. Gson
    Gson.fromJson
    1. com.google.gson.stream.JsonReader.nextInt(JsonReader.java:1200)
    2. com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:239)
    3. com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:231)
    4. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:103)
    5. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:196)
    6. com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40)
    7. com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:81)
    8. com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60)
    9. com.google.gson.Gson.fromJson(Gson.java:810)
    10. com.google.gson.Gson.fromJson(Gson.java:775)
    11. com.google.gson.Gson.fromJson(Gson.java:724)
    11 frames
  3. com.tencent.qcloud
    LiveListViewHelper$GetLiveListTask.doInBackground
    1. com.tencent.qcloud.suixinbo.presenters.OKhttpHelper.getLiveList(OKhttpHelper.java:183)
    2. com.tencent.qcloud.suixinbo.presenters.LiveListViewHelper$GetLiveListTask.doInBackground(LiveListViewHelper.java:43)
    3. com.tencent.qcloud.suixinbo.presenters.LiveListViewHelper$GetLiveListTask.doInBackground(LiveListViewHelper.java:39)
    3 frames
  4. Android Platform
    AsyncTask$2.call
    1. android.os.AsyncTask$2.call(AsyncTask.java:295)
    1 frame
  5. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    1 frame
  6. Android Platform
    AsyncTask$SerialExecutor$1.run
    1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
    1 frame
  7. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    3. java.lang.Thread.run(Thread.java:818)
    3 frames