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


Samebug tips1

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.


8 months ago
Expert tip

Solutions on the web4028

Solution icon of github
via GitHub by dschuermann
, 1 year ago
An error occured while executing doInBackground()

Solution icon of github
via GitHub by johannilsson
, 11 months ago
An error occured while executing doInBackground()

Solution icon of github
via GitHub by 2fast2fourier
, 1 year ago
An error occured while executing doInBackground()

Solution icon of github
An error occured while executing doInBackground()

Solution icon of github
via GitHub by NightWhistler
, 11 months ago
An error occured while executing doInBackground()

Solution icon of github
An error occured while executing doInBackground()

Solution icon of github
An error occured while executing doInBackground()

Solution icon of github
An error occured while executing doInBackground()

Solution icon of github
via GitHub by moxie0
, 1 year ago
An error occured while executing doInBackground()

Stack trace

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

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

Samebug visitor profile picture
Unknown user
2 times, 1 year ago
33 times, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
276 more bugmates