eSMS crashes at first boot on oreo
- /e/ version:0.9-o-2020062159502-test
- Device model: starlte
- When it started to occur:
- Reproducible with the last /e/ version: yes
- Reproducible with LineageOS: -
Summary
eSMS crashes at first boot on oreo device.
-
The device is unusable -
The bug is the source of a data loss or a big waste of time -
The bug concerns a third party app -
The bug concerns security -
The bug concerns privacy
The problem
Steps to reproduce
Install an oreo last test builds
What is the current behavior?
The eSMS Sync app crashes at first boot.
In addition (and maybe it's a different problem), when we open Message app, it asks to become the default SMS/MMS app. What is strange is that the permissions are granted to the app.
What is the expected correct behavior?
Message is the default SMS/MMS app, and eSMS Sync doesn't crash at first boot.
Technical informations
Relevant logs (adb logcat
)
06-22 18:15:51.298 6749 6749 E AndroidRuntime: FATAL EXCEPTION: main
06-22 18:15:51.298 6749 6749 E AndroidRuntime: Process: foundation.e.esmssync, PID: 6749
06-22 18:15:51.298 6749 6749 E AndroidRuntime: java.lang.RuntimeException: Unable to create application fr.unix_experience.owncloud_sms.CustomApplication: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
06-22 18:15:51.298 6749 6749 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5743)
06-22 18:15:51.298 6749 6749 E AndroidRuntime: at android.app.ActivityThread.-wrap1(Unknown Source:0)
06-22 18:15:51.298 6749 6749 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1656)
06-22 18:15:51.298 6749 6749 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
06-22 18:15:51.298 6749 6749 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
06-22 18:15:51.298 6749 6749 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6494)
06-22 18:15:51.298 6749 6749 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
06-22 18:15:51.298 6749 6749 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
06-22 18:15:51.298 6749 6749 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
06-22 18:15:51.298 6749 6749 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
06-22 18:15:51.298 6749 6749 E AndroidRuntime: at fr.unix_experience.owncloud_sms.CustomApplication.onCreate(CustomApplication.java:17)
06-22 18:15:51.298 6749 6749 E AndroidRuntime: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1119)
06-22 18:15:51.298 6749 6749 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5740)
06-22 18:15:51.298 6749 6749 E AndroidRuntime: ... 8 more
Relevant screenshots
Solutions
Workaround
Possible fixes