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

tip

This happens sometimes when Android fails to load the necessary libraries when you install an app. Try reinstalling it or telling your client to reinstall it, as it seems to correctly install the libraries and fixes the problem.


rafael

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

  • Crash when reporting issue by email
    via GitHub by agilob
    ,
  • ExceptionInitializerError
    via GitHub by roundhill
    ,
  • BUILD FAILED.
    via GitHub by aidsadulta
    ,
  • Error in TouchToRecord
    via GitHub by tsrlinkan
    ,
    • java.lang.RuntimeException: An error occured while executing doInBackground() at android.os.AsyncTask$3.done(AsyncTask.java:299) at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273) at java.util.concurrent.FutureTask.setException(FutureTask.java:124) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307) at java.util.concurrent.FutureTask.run(FutureTask.java:137) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569) at java.lang.Thread.run(Thread.java:856) Caused by: java.lang.ExceptionInInitializerError at de.cketti.safecontentresolver.SafeContentResolverApi14.getFileUidOrThrow(SafeContentResolverApi14.java:36) at de.cketti.safecontentresolver.SafeContentResolver.openInputStream(SafeContentResolver.java:114) at com.fsck.k9.activity.loader.AttachmentContentLoader.loadInBackground(AttachmentContentLoader.java:58) at com.fsck.k9.activity.loader.AttachmentContentLoader.loadInBackground(AttachmentContentLoader.java:24) at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:301) at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:68) at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:56) at android.os.AsyncTask$2.call(AsyncTask.java:287) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305) ... 4 more Caused by: java.lang.UnsatisfiedLinkError: Couldn't load os-compat: findLibrary returned null at java.lang.Runtime.loadLibrary(Runtime.java:365) at java.lang.System.loadLibrary(System.java:535) at de.cketti.safecontentresolver.Os.<clinit>(Os.java:21) ... 13 more

    Users with the same issue

    Unknown visitor2 times, last one,
    Macapon
    Macapon33 times, last one,
    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    271 more bugmates