thunderbird-android
thunderbird-android copied to clipboard
Crash when draft is opened from the message list widget
Checklist
- [X] I have used the search function to see if someone else has already submitted the same bug report.
- [X] I will describe the problem with as much detail as possible.
App version
6.309
Where did you get the app from?
Google Play
Android version
various
Device model
No response
Steps to reproduce
- Add the message list widget to the home screen
- Save a message as a draft
- Include the contents of the drafts folder in the Unified Inbox
- Force close the app (to make sure a new instance of
MessageList
will be created later) - Tap the draft message in the message list widget
Expected behavior
Don't crash
Actual behavior
Crash
Logs
Stack trace (via Google Play Developer Console):
Exception java.lang.RuntimeException:
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3676)
at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3813)
at android.app.ActivityThread.handleRelaunchActivityInner (ActivityThread.java:5791)
at android.app.ActivityThread.handleRelaunchActivity (ActivityThread.java:5682)
at android.app.servertransaction.ActivityRelaunchItem.execute (ActivityRelaunchItem.java:71)
at android.app.servertransaction.ActivityTransactionItem.execute (ActivityTransactionItem.java:45)
at android.app.servertransaction.TransactionExecutor.executeCallbacks (TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2308)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loopOnce (Looper.java:201)
at android.os.Looper.loop (Looper.java:288)
at android.app.ActivityThread.main (ActivityThread.java:7898)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:936)
Caused by java.lang.IllegalStateException: Required value was null.
at com.fsck.k9.activity.MessageList.showMessageView (MessageList.kt:1251)
at com.fsck.k9.activity.MessageList.displayViews (MessageList.kt:345)
at com.fsck.k9.activity.MessageList.onCreate (MessageList.kt:212)
at android.app.Activity.performCreate (Activity.java:8290)
at android.app.Activity.performCreate (Activity.java:8269)
at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1384)
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3657)
Hello @cketti Can you guide me about step 3 to reproduce the bug. I should copy or Move the message that is in the draft to Unified Inbox?
See https://docs.k9mail.app/en/6.400/settings/folder/#unify
hello @cketti I also did this scenario (samsung A32, android 13) In version 6.309, the crash happened, but in the new version(6.702), this issue has been resolved.
hello @cketti I also did this scenario (samsung A32, android 13) In version 6.309, the crash happened, but in the new version(6.702), this issue has been resolved.
Hello. I tested this scenario on the latest version. And the bug is not repeated. And as a result, this bug can be closed. @cketti
Thank you for checking, much appreciated!