Mail: click on mail notif leads to IllegalStateException
- /e/ version: 1.9-beta.3-s
- Device model(s): FP4
- Device rooted: no
Summary
Click on mail notif leads to IllegalStateException
. Spotted only one time.
The problem
Steps to reproduce
Have some mail notification, click on one notification.
What is the current behavior?
The user is not redirected to the mail.
What is the expected correct behavior?
No crash and the user is redirected to the expected email in mail app.
Technical informations
Relevant logs (adb logcat
)
02-22 18:13:31.110 7051 7051 E AndroidRuntime: FATAL EXCEPTION: main
02-22 18:13:31.110 7051 7051 E AndroidRuntime: Process: foundation.e.mail, PID: 7051
02-22 18:13:31.110 7051 7051 E AndroidRuntime: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
02-22 18:13:31.110 7051 7051 E AndroidRuntime: at androidx.fragment.app.FragmentManager.checkStateLoss(FragmentManager.java:1610)
02-22 18:13:31.110 7051 7051 E AndroidRuntime: at androidx.fragment.app.FragmentManager.ensureExecReady(FragmentManager.java:1711)
02-22 18:13:31.110 7051 7051 E AndroidRuntime: at androidx.fragment.app.FragmentManager.execSingleAction(FragmentManager.java:1725)
02-22 18:13:31.110 7051 7051 E AndroidRuntime: at androidx.fragment.app.BackStackRecord.commitNow(BackStackRecord.java:317)
02-22 18:13:31.110 7051 7051 E AndroidRuntime: at com.fsck.k9.activity.MessageList.initializeFragments(MessageList.kt:320)
02-22 18:13:31.110 7051 7051 E AndroidRuntime: at com.fsck.k9.activity.MessageList.onAccountConfigurationFinish(MessageList.kt:244)
02-22 18:13:31.110 7051 7051 E AndroidRuntime: at com.fsck.k9.activity.MessageList.access$onAccountConfigurationFinish(MessageList.kt:103)
02-22 18:13:31.110 7051 7051 E AndroidRuntime: at com.fsck.k9.activity.MessageList$addNewAccountsAutomatically$1$1$1.invokeSuspend(MessageList.kt:1429)
02-22 18:13:31.110 7051 7051 E AndroidRuntime: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
02-22 18:13:31.110 7051 7051 E AndroidRuntime: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
02-22 18:13:31.110 7051 7051 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:938)
02-22 18:13:31.110 7051 7051 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
02-22 18:13:31.110 7051 7051 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:201)
02-22 18:13:31.110 7051 7051 E AndroidRuntime: at android.os.Looper.loop(Looper.java:288)
02-22 18:13:31.110 7051 7051 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7870)
02-22 18:13:31.110 7051 7051 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
02-22 18:13:31.110 7051 7051 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
02-22 18:13:31.110 7051 7051 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
02-22 18:13:31.110 7051 7051 E AndroidRuntime: Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@db4599e, Dispatchers.Main]
cc @fahim44