Closed callmemagnus closed 4 years ago
Works for me. The crash happens inside the TextView
UI widget that is part of the system. Chances are this is a LineageOS specific issue.
I was afraid of that. And as my phone is not part anymore of their supported devices... I'm left here crying...
I also get an ArrayIndexOutOfBoundsException
at android.text.TextLine.measure(TextLine.java:343)
on a bq Aquaris X2 Pro (Android 9, patch level 2019-12-05, official version, not rooted) when trying to open K9-Mail 5.600 from Google Play Store. Currently I cannot open K9-Mail at all. I will have to use another system to delete the causing mail.
I'm happy to look at pull requests working around this bug. But short of some external contribution I don't see this crash being fixed.
Sorry for the blurry summary, as I'm not sure about the core reason for the crash, I didn't really know what to put. Feel free to update it to something more specific.
Expected behavior
The Message List should show the message (see below)
Actual behavior
If the message is in the "should be visible" message -> the app crashes. If the message is lower in the list, I scroll to that message -> the app crashes
Steps to reproduce
Environment
K-9 Mail version: 5.600 from google play store
Android version: 9 (LineageOS)
Account type (IMAP, POP3, WebDAV/Exchange): IMAP account
Logs
When the crash occurs the following appears in the log:
After making some tests, I was able to find out that one message seems to be the source of the problem. If I remove the message from the folder, clear message in k9 and sync again, the problem disappears.
Some notes about the message:
(I know I might not need to be worried about a SPAM but this one is not, another topic for my to fix on my side)
Source of the message in my box