FlowCrypt / flowcrypt-android

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

java.lang.NullPointerException (getLabelIds(...) must not be null) #2775

Closed DenBond7 closed 1 week ago

DenBond7 commented 1 week ago
name: java.lang.NullPointerException
version: 157
message: getLabelIds(...) must not be null
product: android
environment: release
buildType: consumer
url: com.flowcrypt.email.api.email.gmail.GmailApiHelper$Companion$processHistory$2.invokeSuspend(GmailApiHelper.kt:583)
line: 583
col: 1
occurrence(at least): 1

--- TRACE ---
java.lang.NullPointerException: getLabelIds(...) must not be null
        at com.flowcrypt.email.api.email.gmail.GmailApiHelper$Companion$processHistory$2.invokeSuspend(GmailApiHelper.kt:583)
        at com.flowcrypt.email.api.email.gmail.GmailApiHelper$Companion$processHistory$2.invoke(Unknown Source:8)
        at com.flowcrypt.email.api.email.gmail.GmailApiHelper$Companion$processHistory$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.api.email.gmail.GmailApiHelper$Companion.processHistory(GmailApiHelper.kt:551)
        at com.flowcrypt.email.jetpack.viewmodel.MessagesViewModel$handleMsgsFromHistory$2.invokeSuspend(MessagesViewModel.kt:999)
        at com.flowcrypt.email.jetpack.viewmodel.MessagesViewModel$handleMsgsFromHistory$2.invoke(Unknown Source:8)
        at com.flowcrypt.email.jetpack.viewmodel.MessagesViewModel$handleMsgsFromHistory$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.handleMsgsFromHistory(MessagesViewModel.kt:997)
        at com.flowcrypt.email.jetpack.viewmodel.MessagesViewModel.access$handleMsgsFromHistory(MessagesViewModel.kt:72)
        at com.flowcrypt.email.jetpack.viewmodel.MessagesViewModel$refreshMsgsInternal$2.invokeSuspend(MessagesViewModel.kt:852)
        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)