FlowCrypt / flowcrypt-android

FlowCrypt Android App
https://flowcrypt.com
Other
91 stars 11 forks source link

java.lang.IllegalStateException message: Data cannot occupy more than 10240 bytes in MessagesViewModel #2774

Closed DenBond7 closed 1 week ago

DenBond7 commented 1 week ago
name: java.lang.IllegalStateException
version: 157
message: Data cannot occupy more than 10240 bytes when serialized
product: android
environment: release
buildType: consumer
url: androidx.work.Data.toByteArrayInternal(Data.java:404)
line: 404
col: 1
occurrence(at least): 1

--- TRACE ---
java.lang.IllegalStateException: Data cannot occupy more than 10240 bytes when serialized
        at androidx.work.Data.toByteArrayInternal(Data.java:404)
        at androidx.work.Data$Builder.build(Data.java:941)
        at com.flowcrypt.email.jetpack.workmanager.EmailAndNameWorker$Companion.enqueue(EmailAndNameWorker.kt:103)
        at com.flowcrypt.email.jetpack.viewmodel.MessagesViewModel$updateLocalContactsIfNeeded$2.invokeSuspend(MessagesViewModel.kt:626)
        at com.flowcrypt.email.jetpack.viewmodel.MessagesViewModel$updateLocalContactsIfNeeded$2.invoke(Unknown Source:8)
        at com.flowcrypt.email.jetpack.viewmodel.MessagesViewModel$updateLocalContactsIfNeeded$2.invoke(Unknown Source:4)
        at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:61)
        at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:163)
        at kotlinx.coroutines.BuildersKt.withContext(Unknown Source:1)
        at com.flowcrypt.email.jetpack.viewmodel.MessagesViewModel.updateLocalContactsIfNeeded(MessagesViewModel.kt:616)
        at com.flowcrypt.email.jetpack.viewmodel.MessagesViewModel.updateLocalContactsIfNeeded$default(MessagesViewModel.kt:613)
        at com.flowcrypt.email.jetpack.viewmodel.MessagesViewModel$handleSearchResults$4.invokeSuspend(MessagesViewModel.kt:827)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:266)
        at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:99)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
        at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:111)
        at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
        at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702)