Skip to content

fix(message-list): crash when restoring message view without fragment - #11870

Merged
wmontwe merged 1 commit into
mainfrom
fix-message-list-crash-when-restoring
Nov 4, 2026
Merged

wmontwe merged 1 commit into
mainfrom
fix-message-list-crash-when-restoring

Conversation

@wmontwe

@wmontwe wmontwe commented Nov 4, 2026

Copy link
Copy Markdown
Member

Contribution Summary

Linked Issue/Ticket: Resolves #11869

Description

After a configuration change (rotation, fold/unfold), MessageHomeActivity could restore into MESSAGE_VIEW while no MessageViewContainerFragment existed, crashing in showMessageView() with "Required value was null".

This should avoid a crash and instead default to the message list view in this case.

AI Disclosure

Select one of the following (mandatory)

  • This contribution does not include any changes created or assisted by AI.
  • This contribution includes changes assisted by AI.
    • code review
  • This contribution includes changes created by AI.

@wmontwe
wmontwe requested a review from a team as a code owner November 4, 2026 15:00
@wmontwe
wmontwe requested a review from dougsparling November 4, 2026 15:00
@github-actions github-actions Bot added the tb-team Tasks and features handled by project maintainers label Nov 4, 2026
@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

✅ Validation Passed: All report and feature-flag labels are correctly set.

@thunderbird-botmobile thunderbird-botmobile Bot added the pr-sentinel: ready for review Passed all automated PR Sentinel checks. Ready for maintainer review. label Nov 4, 2026
@wmontwe wmontwe added the report: exclude Exclude changes from user-facing reports (internal, minor, or not relevant to users). label Nov 4, 2026

@dani-zilla dani-zilla left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm.

@wmontwe
wmontwe merged commit 1d8a4ca into main Nov 4, 2026
23 of 25 checks passed
@wmontwe
wmontwe deleted the fix-message-list-crash-when-restoring branch November 4, 2026 16:44
@thunderbird-botmobile thunderbird-botmobile Bot added this to the Thunderbird 27 milestone Nov 4, 2026
@dougsparling dougsparling mentioned this pull request Nov 19, 2026
2 tasks done
10ne1 pushed a commit to 10ne1/thunderbird-android that referenced this pull request Dec 3, 2026

This branch was previously deployed

2 inactive deployments
botmobile — 6b04f537 Deployed Nov 4, 2026 by wmontwe via pr-merged #668
review — 6b04f537 Deployed Nov 4, 2026 by wmontwe via label-tb-team #670
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-sentinel: ready for review Passed all automated PR Sentinel checks. Ready for maintainer review. report: exclude Exclude changes from user-facing reports (internal, minor, or not relevant to users). tb-team Tasks and features handled by project maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RuntimeException in MessageHomeActivity

3 participants