Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Crash in Mail

Since the update to 1.15, there are occasional crashes in Mail, usually while it's not open as the current app. I don't know what triggers it so I can't reproduce it. I suspect it might have to do with tapping notifications, but I have no conclusive evidence either way.

UPDATE: This seems to indeed be triggered by opening the Mail app from a notification.

Device: Redmi Note 8T (ginkgo), not rooted.

Stack trace as follows:

FATAL EXCEPTION: main
Process: foundation.e.mail, PID: 27671
java.lang.RuntimeException: Unable to resume activity {foundation.e.mail/com.fsck.k9.activity.MessageList}: java.lang.NullPointerException
	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4438)
	at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4470)
	at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:52)
	at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loop(Looper.java:223)
	at android.app.ActivityThread.main(ActivityThread.java:7664)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Caused by: java.lang.NullPointerException
	at com.fsck.k9.activity.MessageList.removeMessageListFragment(MessageList.kt:1177)
	at com.fsck.k9.activity.MessageList.onNewIntent(MessageList.kt:290)
	at android.app.Activity.performNewIntent(Activity.java:8009)
	at android.app.Instrumentation.callActivityOnNewIntent(Instrumentation.java:1413)
	at android.app.Instrumentation.callActivityOnNewIntent(Instrumentation.java:1426)
	at android.app.ActivityThread.deliverNewIntents(ActivityThread.java:3658)
	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4421)
	... 11 more

/e/OS Mail typeBug ginkgo

Edited by Nicolas Gelot