java.lang.IllegalStateException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web9655

  • Expected an int but was BOOLEAN at line 1 column 201 path $[0].createTime
  • via Atlassian JIRA by Pavel Baranchikov, 11 months ago
    Expected an int but was BEGIN_OBJECT at line 1 column 26 path $.testResult.fCount
  • Expected BEGIN_OBJECT but was STRING at line 1 column 72 path $[0].parent
  • Stack trace

    • java.lang.IllegalStateException: Expected an int but was BOOLEAN at line 1 column 201 path $[0].createTime at com.google.gson.stream.JsonReader.nextInt(JsonReader.java:1200) at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:239) at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:231) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:103) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:196) at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40) at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:81) at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60) at com.google.gson.Gson.fromJson(Gson.java:810) at com.google.gson.Gson.fromJson(Gson.java:775) at com.google.gson.Gson.fromJson(Gson.java:724) at com.tencent.qcloud.suixinbo.presenters.OKhttpHelper.getLiveList(OKhttpHelper.java:183) at com.tencent.qcloud.suixinbo.presenters.LiveListViewHelper$GetLiveListTask.doInBackground(LiveListViewHelper.java:43) at com.tencent.qcloud.suixinbo.presenters.LiveListViewHelper$GetLiveListTask.doInBackground(LiveListViewHelper.java:39) at android.os.AsyncTask$2.call(AsyncTask.java:295) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 8 months ago
    Once, 8 months ago
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    4 more bugmates