K-9 crashes at inbox open on Android O
See original GitHub issueK-9 crashed after clicking on the Inbox. Afterwards, it will crash on every startup.
Expected behavior
K-9 opens the inbox.
Actual behavior
K-9 crashes.
Steps to reproduce
- Choose the inbox after configuring an account
- Profit?
Environment
K-9 Mail version: 5.300-SNAPSHOT (built from current master)
Android version: 8.0 (Android O Developer Preview 2)
Account type (IMAP, POP3, WebDAV/Exchange): IMAP
05-17 22:55:03.781 E/AndroidRuntime(21282): FATAL EXCEPTION: main
05-17 22:55:03.781 E/AndroidRuntime(21282): Process: com.fsck.k9, PID: 21282
05-17 22:55:03.781 E/AndroidRuntime(21282): java.lang.LinkageError: Method android.view.LayoutInflater com.fsck.k9.fragment.MessageListFragment.getLayoutInflater() overrides final method in class Landroid/app/Fragment; (declaration of 'com.fsck.k9.fragment.MessageListFragment' appears in /data/app/com.fsck.k9-8rLXJQdRANND4GVTfWN6Mg==/base.apk)
05-17 22:55:03.781 E/AndroidRuntime(21282): at com.fsck.k9.activity.MessageList.actionDisplaySearch(MessageList.java:103)
05-17 22:55:03.781 E/AndroidRuntime(21282): at com.fsck.k9.activity.Accounts.onOpenAccount(Accounts.java:683)
05-17 22:55:03.781 E/AndroidRuntime(21282): at com.fsck.k9.activity.Accounts.onItemClick(Accounts.java:1239)
05-17 22:55:03.781 E/AndroidRuntime(21282): at android.widget.AdapterView.performItemClick(AdapterView.java:317)
05-17 22:55:03.781 E/AndroidRuntime(21282): at android.widget.AbsListView.performItemClick(AbsListView.java:1165)
05-17 22:55:03.781 E/AndroidRuntime(21282): at android.widget.AbsListView$PerformClick.run(AbsListView.java:3134)
05-17 22:55:03.781 E/AndroidRuntime(21282): at android.widget.AbsListView$3.run(AbsListView.java:4049)
05-17 22:55:03.781 E/AndroidRuntime(21282): at android.os.Handler.handleCallback(Handler.java:769)
05-17 22:55:03.781 E/AndroidRuntime(21282): at android.os.Handler.dispatchMessage(Handler.java:98)
05-17 22:55:03.781 E/AndroidRuntime(21282): at android.os.Looper.loop(Looper.java:164)
05-17 22:55:03.781 E/AndroidRuntime(21282): at android.app.ActivityThread.main(ActivityThread.java:6535)
05-17 22:55:03.781 E/AndroidRuntime(21282): at java.lang.reflect.Method.invoke(Native Method)
05-17 22:55:03.781 E/AndroidRuntime(21282): at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
05-17 22:55:03.781 E/AndroidRuntime(21282): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
K-9 crashes at inbox open on Android O · Issue #2540 - GitHub
K-9 crashed after clicking on the Inbox. Afterwards, it will crash on every startup. Expected behavior. K-9 opens the inbox. Actual behavior.
Read more >[Solved] App crashes when opening an email - K-9 Mail Forum
We use the WebView component to display emails. So the app will crash every time you try to open a message. You could...
Read more >Lollipop 5.1 crash - Google Groups
Having upgraded from Android 5.0.1 to 5.1, running K9 5.001, At the message list for an account, as soon as I try to...
Read more >Miami-Dade Police Officer, K-9 Injured in Crash on Turnpike
A Miami-Dade Police officer and K-9 were injured in a crash on the Florida's Turnpike Wednesday afternoon.
Read more >11 Best Email Apps for Android in 2022
Spike transforms your existing email into a chat-like inbox and makes ... K-9 Mail is a perfect email client for the supporters of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We do have a method
getLayoutInflater()
inMessageListFragment
. Renaming it should solve the problem.Well try just deleting it. The new method seems like it might do what we want.
If not
getOriginalLayoutInflater()
seems to match what we actually mean.