java.lang.RuntimeException: An error occured while executing doInBackground()

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Sort is not supported on binary data, object references and RealmList

    Stack Overflow | 4 months ago | Fernando Yandun
    java.lang.RuntimeException: An error occured while executing doInBackground()

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Illegal Argument: Sort is not supported on binary data, object references and RealmList.

      at io.realm.internal.TableView.nativeSortMulti()
    2. io.realm.internal
      TableView.sort
      1. io.realm.internal.TableView.nativeSortMulti(Native Method)
      2. io.realm.internal.TableView.sort(TableView.java:665)
      2 frames
    3. io.realm
      RealmQuery.findAllSorted
      1. io.realm.RealmQuery.findAllSorted(RealmQuery.java:1913)
      1 frame
    4. ec.com.se
      FetchRowsTask.doInBackground
      1. ec.com.se.demo.android.priceList.util.Queries.filterScrollData(Queries.java:68)
      2. ec.com.se.demo.android.priceList.tasks.FetchRowsTask.doInBackground(FetchRowsTask.java:51)
      3. ec.com.se.demo.android.priceList.tasks.FetchRowsTask.doInBackground(FetchRowsTask.java:21)
      3 frames
    5. Android Platform
      AsyncTask$2.call
      1. android.os.AsyncTask$2.call(AsyncTask.java:288)
      1 frame
    6. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
      1 frame
    7. Android Platform
      AsyncTask$SerialExecutor$1.run
      1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
      1 frame
    8. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
      3. java.lang.Thread.run(Thread.java:841)
      3 frames