Repository navigation
Crash on Android 6 - Fragment LegacyMessageListFragment not attached to a context. #10790
Copy link
Copy link
Closed
Closed
Copy link
Description
Checklist
- I have used the search function to see if someone else has already submitted the same bug report.
- I will describe the problem with as much detail as possible.
App
Thunderbird for Android
App version
18.0b3
Where did you get the app from?
F-Droid
Android version
Stock Android 6
Device model
No response
Steps to reproduce
Start app.
Expected behavior
Start app
Actual behavior
Crash:
Crash:
java.lang.RuntimeException: Unable to start activity ComponentInfo{net.thunderbird.android.beta/com.fsck.k9.activity.MessageHomeActivity}: java.lang.IllegalStateException: Fragment LegacyMessageListFragment{44c8bc7} (699d8f41-5e5b-4454-83cb-7a4ac81ba5dd id=0x7f0902a6) not attached to a context.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3319)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3415)
at android.app.ActivityThread.access$1100(ActivityThread.java:229)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1821)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:7331)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Caused by: java.lang.IllegalStateException: Fragment LegacyMessageListFragment{44c8bc7} (699d8f41-5e5b-4454-83cb-7a4ac81ba5dd id=0x7f0902a6) not attached to a context.
at okhttp3.internal._UtilJvmKt$$ExternalSyntheticLambda0.m(r8-map-id-5f779f94b322c9e372e40f6d40e01ac02b219deec703be9c5411426845ca6758:36)
at androidx.fragment.app.Fragment.requireContext(r8-map-id-5f779f94b322c9e372e40f6d40e01ac02b219deec703be9c5411426845ca6758:16)
at androidx.fragment.app.Fragment.getDefaultViewModelCreationExtras(r8-map-id-5f779f94b322c9e372e40f6d40e01ac02b219deec703be9c5411426845ca6758:1)
at okhttp3.internal.http2.Http2Connection$ReaderRunnable.invoke(r8-map-id-5f779f94b322c9e372e40f6d40e01ac02b219deec703be9c5411426845ca6758:416)
at kotlin.UnsafeLazyImpl.getValue(r8-map-id-5f779f94b322c9e372e40f6d40e01ac02b219deec703be9c5411426845ca6758:12)
at com.fsck.k9.ui.messagelist.LegacyMessageListFragment.getLegacyViewModel(r8-map-id-5f779f94b322c9e372e40f6d40e01ac02b219deec703be9c5411426845ca6758:3)
at com.fsck.k9.ui.messagelist.LegacyMessageListFragment.setActiveMessage(r8-map-id-5f779f94b322c9e372e40f6d40e01ac02b219deec703be9c5411426845ca6758:3)
at com.fsck.k9.activity.MessageHomeActivity.showMessageList(r8-map-id-5f779f94b322c9e372e40f6d40e01ac02b219deec703be9c5411426845ca6758:39)
at com.fsck.k9.activity.MessageHomeActivity.displayViews(r8-map-id-5f779f94b322c9e372e40f6d40e01ac02b219deec703be9c5411426845ca6758:112)
at com.fsck.k9.activity.MessageHomeActivity.onCreate(r8-map-id-5f779f94b322c9e372e40f6d40e01ac02b219deec703be9c5411426845ca6758:247)
at android.app.Activity.performCreate(Activity.java:6904)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1136)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3266)
... 9 more
Logs
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Estimate
None yet
Priority
None yet
Projects
- StatusShow more project fieldsDone
Activity
tebicap commentedon Apr 19, 2026
I’m not sure it’s the same issue, but I can’t start the app either in version 18.0 (F‑Droid, Android 6.0, Huawei). I have this adb logcat:
adb logcat | grep -E -i thunderb
04-19 17:53:30.143 1500 1966 I HwResources: load icon id : 7f0f0000, pkgName : net.thunderbird.android
04-19 17:53:30.192 1500 1966 I HwResources: icon : net.thunderbird.android found in app
04-19 17:53:32.371 475 723 I logserver: extract_appname, forward search, appname=net.thunderbird.android
04-19 17:53:32.371 475 723 I logserver: get_fault_appname, appname=net.thunderbird.android
04-19 17:53:32.376 475 722 I logserver: handle_notify_event, send msg [submit:trigger=0,bugtype=2,modulename=net.thunderbird.android,level=1,testtype=NORMAL,path=/data/log/unzip/VNS-L23_VNS-L23C605B120_0000000000_20260419175332_crash,mode=1;]
I you need me to enhance the log in any way please tell me how. Thnks.
YSEHaMATY commentedon May 2, 2026
This is still happening, both for Thunderbird and K-9. Whatever update recently happened, it needs to be reverse. There's no way to get this running now, so I've ceased to use these apps altogether.
wmontwe commentedon Oct 15, 2026
We're not going to fix this as we have to drop support for Android 6 as Google started to phase out Android 6 support in their libraries: #11545