-
Notifications
You must be signed in to change notification settings - Fork 701
Description
(Last updated March 15, 2025)
-
This issue request is for Xiaomi users, where it causes Mihon to crash with the following crash line:
NullPointerException: Attempt to invoke virtual method 'float android.window.BackMotionEvent.getTouchX()'
. -
The reason & workaround below is still relevant, and is not an app-related issue as others have reported such crashes in other apps outside of Mihon.
-
This crash happens when you use your device's navigation buttons and/or gestures after updating the device's HyperOS Launcher to a certain version.
-
The current workaround to this issue is to downgrade your HyperOS Launcher to a certain version and/or to the Global version. See the comments below this issue description for more details.
This section is for documentation purposes, see comments below instead.
Steps to reproduce
- Open Mihon
- Go into Reader or Mihon Settings page
- Hit back using system gestures/device back button, crashes the app with crash line
NullPointerException: Attempt to invoke virtual method 'float android.window.BackMotionEvent.getTouchX()'
crash
Expected behavior
Shouldn't crash
Actual behavior
Crashes the app
Crash logs
dovahkiinakano_mihon_crash_logs.txt
benstone101_mihon_crash_logs.txt (see closed #1270 for screen-recording behavior)
Mihon version
0.17.1
Android version
Android 14
Device
Xiaomi devices (like Redmi Note 13 Pro, Mi 12T Pro)
Other details
Superceded #1270 to have all the info in one spot.
Currently diagnosed as a device/OS-related issue, waiting for future device/OS update to see if it fixes this issue (which might be affecting other apps such as Chrome).
Acknowledgements
- I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
- I have written a short but informative title.
- I have gone through the FAQ and troubleshooting guide.
- I have updated the app to version 0.16.5.
- I have updated all installed extensions.
- I will fill out all of the requested information in this form.