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

GitHub | dalb8 | 4 years ago
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

    ClassCastException in AsyncTask

    GitHub | 4 years ago | dalb8
    java.lang.RuntimeException: An error occured while executing doInBackground()

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Object[] cannot be cast to java.lang.Void[]

      at org.ebookdroid.common.cache.ThumbnailFile$LoadingTask.doInBackground()
    2. org.ebookdroid.common
      ThumbnailFile$LoadingTask.doInBackground
      1. org.ebookdroid.common.cache.ThumbnailFile$LoadingTask.doInBackground(ThumbnailFile.java:163)
      1 frame
    3. org.emdev.ui
      AsyncTask$1.call
      1. org.emdev.ui.tasks.AsyncTask$1.call(AsyncTask.java:215)
      1 frame
    4. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:137)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
      5. java.lang.Thread.run(Thread.java:856)
      5 frames