FlowCrypt / flowcrypt-android

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

java.lang.NullPointerException (getMessages(...) must not be null) #2776

Closed DenBond7 closed 1 week ago

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

--- TRACE ---
java.lang.NullPointerException: getMessages(...) must not be null
        at com.flowcrypt.email.api.email.gmail.GmailApiHelper$Companion$getGmailMsgThreadID$2.invokeSuspend(GmailApiHelper.kt:703)
        at com.flowcrypt.email.api.email.gmail.GmailApiHelper$Companion$getGmailMsgThreadID$2.invoke(Unknown Source:8)
        at com.flowcrypt.email.api.email.gmail.GmailApiHelper$Companion$getGmailMsgThreadID$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.getGmailMsgThreadID(GmailApiHelper.kt:695)
        at com.flowcrypt.email.jetpack.workmanager.MessagesSenderWorker$sendMsg$2$threadId$1$1.invokeSuspend(MessagesSenderWorker.kt:467)
        at com.flowcrypt.email.jetpack.workmanager.MessagesSenderWorker$sendMsg$2$threadId$1$1.invoke(Unknown Source:8)
        at com.flowcrypt.email.jetpack.workmanager.MessagesSenderWorker$sendMsg$2$threadId$1$1.invoke(Unknown Source:2)
        at com.flowcrypt.email.api.email.gmail.GmailApiHelper$Companion$executeWithResult$2.invokeSuspend(GmailApiHelper.kt:139)
        at com.flowcrypt.email.api.email.gmail.GmailApiHelper$Companion$executeWithResult$2.invoke(Unknown Source:8)
        at com.flowcrypt.email.api.email.gmail.GmailApiHelper$Companion$executeWithResult$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.executeWithResult(GmailApiHelper.kt:137)
        at com.flowcrypt.email.jetpack.workmanager.MessagesSenderWorker$sendMsg$2.invokeSuspend(MessagesSenderWorker.kt:465)
        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)