Great I don’t know what all the manufacturers do. Seems everything except good testing
Settings App crashes on Nexus 5
-
To repdroduce this bug, you simply start the Settings App, then tap on the DAVdroid Account and the Settings App closes. This happens at every attempt to reach the DAVdroid settings via the Android Settings App.
-
Don’t have a Nexus 5. Are there any log entries or hints for the reason?
-
My 0.3.8-alpha build also crashes the settings app on Nexus 5:
I/ActivityManager( 777): START u0 {act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras)} from pid 11428 D/SubSettings(11428): Launching fragment com.android.settings.accounts.ManageAccountsSettings D/AndroidRuntime(11428): Shutting down VM W/dalvikvm(11428): threadid=1: thread exiting with uncaught exception (group=0x41523b90) E/AndroidRuntime(11428): FATAL EXCEPTION: main E/AndroidRuntime(11428): Process: com.android.settings, PID: 11428 E/AndroidRuntime(11428): java.lang.NullPointerException E/AndroidRuntime(11428): at com.android.settings.accounts.ManageAccountsSettings.updatePreferenceIntents(ManageAccountsSettings.java:399) E/AndroidRuntime(11428): at com.android.settings.accounts.ManageAccountsSettings.addAuthenticatorSettings(ManageAccountsSettings.java:346) E/AndroidRuntime(11428): at com.android.settings.accounts.ManageAccountsSettings.onAccountsUpdated(ManageAccountsSettings.java:333) E/AndroidRuntime(11428): at android.accounts.AccountManager$12.run(AccountManager.java:1442) E/AndroidRuntime(11428): at android.os.Handler.handleCallback(Handler.java:733) E/AndroidRuntime(11428): at android.os.Handler.dispatchMessage(Handler.java:95) E/AndroidRuntime(11428): at android.os.Looper.loop(Looper.java:137) E/AndroidRuntime(11428): at android.app.ActivityThread.main(ActivityThread.java:4998) E/AndroidRuntime(11428): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime(11428): at java.lang.reflect.Method.invoke(Method.java:515) E/AndroidRuntime(11428): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:777) E/AndroidRuntime(11428): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593) E/AndroidRuntime(11428): at dalvik.system.NativeStart.main(Native Method) W/ActivityManager( 777): Force finishing activity com.android.settings/.SubSettings W/ActivityManager( 777): Force finishing activity com.android.settings/.Settings W/ActivityManager( 777): Activity pause timeout for ActivityRecord{42e2fb10 u0 com.android.settings/.SubSettings t70 f}
-
Seems like a KitKat bug where every intent in the preferences screen must have an action to avoid crashes and this intent doesn’t have one.
-
Ich kann den Bug leider immer noch reproduzieren: Einstellungen–>Konten–>DAVdroid führt zum Absturz der Einstellungen-Applikation.
Sadly I’m still able to reproduce the bug on my Nexus 5 now running DAVdroid 0.4.1-alpha. Even though I rebooted the phone before.
What about you, mikma?
-
Workaround is present since 0.4.2 not 0.4.1
-
I’m so sorry. Thanks a lot. You’re great!