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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

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 java.io.ByteArrayOutputStream.expand(ByteArrayOutputStream.java:91)
at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:216)
at java.io.FilterOutputStream.write(FilterOutputStream.java:129)
at com.fsck.k9.mail.filter.EOLConvertingOutputStream.write(EOLConvertingOutputStream.java:29)
at java.io.FilterOutputStream.write(FilterOutputStream.java:114)
at com.fsck.k9.mail.filter.Base64OutputStream.flush(Base64OutputStream.java:149)
at com.fsck.k9.mail.filter.Base64OutputStream.write(Base64OutputStream.java:130)
at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1793)
at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1769)
at org.apache.commons.io.IOUtils.copy(IOUtils.java:1744)
at com.zegoggles.smssync.mail.Attachment$Base64Body.writeTo(Attachment.java:62)
at com.fsck.k9.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:133)
at com.fsck.k9.mail.internet.MimeMultipart.writeTo(MimeMultipart.java:94)
at com.fsck.k9.mail.internet.MimeMessage.writeTo(MimeMessage.java:445)
at com.fsck.k9.mail.store.imap.ImapStore$ImapFolder.appendMessages(ImapStore.java:1871)
at com.zegoggles.smssync.mail.BackupImapStore$BackupFolder.appendMessages(BackupImapStore.java:230)
at com.zegoggles.smssync.service.BackupTask.backupCursors(BackupTask.java:266)
at com.zegoggles.smssync.service.BackupTask.fetchAndBackupItems(BackupTask.java:147)
at com.zegoggles.smssync.service.BackupTask.acquireLocksAndBackup(BackupTask.java:127)
at com.zegoggles.smssync.service.BackupTask.doInBackground(BackupTask.java:120)
at com.zegoggles.smssync.service.BackupTask.doInBackground(BackupTask.java:47)
at android.os.AsyncTask$2.call(AsyncTask.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)

Users with the same issue

Once, 1 year ago
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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