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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by Oupsla
, 11 months ago
An error occurred while executing doInBackground()
via GitHub by inakianduaga
, 6 months ago
An error occurred while executing doInBackground()
via GitHub by philipwhiuk
, 1 year ago
An error occurred while executing doInBackground()
via GitHub by toyotabedzrock
, 2 years ago
An error occurred while executing doInBackground()
via GitHub by ltGuillaume
, 2 years ago
An error occurred while executing > doInBackground()
via GitHub by lognaturel
, 9 months ago
An error occurred while executing doInBackground()
java.lang.RuntimeException: An error occurred while executing doInBackground()
at com.fsck.k9.mailstore.LocalStore.getRawAttachmentInputStream(LocalStore.java:725)
at com.fsck.k9.mailstore.LocalStore.access$100(LocalStore.java:66)
at com.fsck.k9.mailstore.LocalStore$15.doDbWork(LocalStore.java:700)
at com.fsck.k9.mailstore.LocalStore$15.doDbWork(LocalStore.java:684)
at com.fsck.k9.mailstore.LockableDatabase.execute(LockableDatabase.java:275)
at com.fsck.k9.mailstore.LocalStore.getAttachmentInputStream(LocalStore.java:684)
at com.fsck.k9.provider.AttachmentProvider.getAttachmentInputStream(AttachmentProvider.java:186)
at com.fsck.k9.provider.AttachmentProvider.openAttachment(AttachmentProvider.java:167)
at com.fsck.k9.provider.AttachmentProvider.openFile(AttachmentProvider.java:78)
at android.content.ContentProvider.openAssetFile(ContentProvider.java:1377)
at android.content.ContentProvider.openTypedAssetFile(ContentProvider.java:1557)
at android.content.ContentProvider.openTypedAssetFile(ContentProvider.java:1623)
at android.content.ContentProvider$Transport.openTypedAssetFile(ContentProvider.java:422)
at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1145)
at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:982)
at com.fsck.k9.ui.messageview.AttachmentController.writeAttachmentToStorage(AttachmentController.java:147)
at com.fsck.k9.ui.messageview.AttachmentController.saveAttachmentWithUniqueFileName(AttachmentController.java:139)
at com.fsck.k9.ui.messageview.AttachmentController.access$900(AttachmentController.java:40)
at com.fsck.k9.ui.messageview.AttachmentController$SaveAttachmentAsyncTask.doInBackground(AttachmentController.java:346)
at com.fsck.k9.ui.messageview.AttachmentController$SaveAttachmentAsyncTask.doInBackground(AttachmentController.java:335)
at android.os.AsyncTask$2.call(AsyncTask.java:304)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.