Heads up crash
If someone sends two messages quickly (particularly with whatsapp) with better heads up enabled, then com.android. SystemUI crashes and the phone goes to lockscreen HTC one M8 sense 6, lollipop 5.0
Comments (6)
-
-
Process: com.android.systemui, PID: 7179 java.lang.NullPointerException: Attempt to invoke virtual method 'void com.htc.widget.HtcRimButton.setOnClickListener(android.view.View$OnClickListener)' on a null object reference at com.sensetoolbox.six.mods.SysUIMods$HeadsUpView$8.run(SysUIMods.java:3404) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:155) at android.app.ActivityThread.main(ActivityThread.java:5696) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1029) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:824) at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
-
Those 2 messages create different notifications or second message causes an update of the first notification? I tested an update with delay from 0 to 1000 ms between notifications and cannot cause a crash... Can you also send a detailed report from Toolbox 1.5.4.1 right after the SystemUI crash? I need to check all the settings. Are you using "Hide Dismiss button" option?
-
#! 05-11 14:07:42.438 11726-11726/? I/RemoteViews﹕ apply : com.whatsapp 0 21 2 39 05-11 14:07:42.478 11726-11726/? I/RemoteViews﹕ apply : com.whatsapp 0 10 2 39 05-11 14:07:42.488 1063-1631/? W/ActivityManager﹕ getTasks: caller 10238 does not hold GET_TASKS; limiting output 05-11 14:07:42.518 1063-1633/? D/RingtoneManager﹕ getActualDefaultRingtoneUri(context, 2) 05-11 14:07:42.528 8493-8508/? D/MediaProvider﹕ [isExternalPath] not external path 05-11 14:07:42.528 5301-12528/? D/MediaPlayer﹕ ANDROID_HTC_INVOKE_GET_CALLING_PROCESS packageName: com.whatsapp 05-11 14:07:42.528 5301-12528/? W/Parcel﹕ **** enforceInterface() expected '' but read 'android.media.IMediaPlayer' 05-11 14:07:42.528 1063-1063/? I/ValidateNoPeople﹕ Validating: 0|com.whatsapp|1|null|10238 05-11 14:07:42.528 1063-1063/? I/ValidateNoPeople﹕ final affinity: 0.5 05-11 14:07:42.538 1063-1063/? D/PMS﹕ acquireWL(735f898): PARTIAL_WAKE_LOCK *vibrator* 0x1 1063 1000 WorkSource{10238} 05-11 14:07:42.548 5301-5317/? W/MediaPlayer﹕ info/warning (1, 902) 05-11 14:07:42.548 5301-5301/? E/MediaPlayer﹕ Should have subtitle controller already set 05-11 14:07:42.548 5301-12528/? E/MediaPlayer﹕ Should have subtitle controller already set 05-11 14:07:42.558 5301-5301/? D/MediaPlayer﹕ Is using offload now: false 05-11 14:07:42.568 4004-12539/? W/AudFlgTh﹕ Using by PID 4004, ProcessName:/system/bin/mediaserver 05-11 14:07:42.568 5301-5301/? D/MediaPlayer﹕ Is using offload now: false 05-11 14:07:42.568 1063-1391/? D/PMS﹕ acquireWL(214958f1): PARTIAL_WAKE_LOCK AudioMix 0x1 0 1013 null 05-11 14:07:42.568 4004-4108/? E/msm8974_platform﹕ platform_get_output_snd_device: enter: output devices(0x2), mode=0, adev->usehwaec=0 05-11 14:07:42.608 11726-11726/? I/ThreadedRenderer﹕ Defer allocateBuffers to drawing time 05-11 14:07:42.618 11726-11726/? I/RemoteViews﹕ apply : com.whatsapp 0 7 1 39 05-11 14:07:42.628 1063-1063/? I/ValidateNoPeople﹕ Validating: 0|com.whatsapp|1|null|10238 05-11 14:07:42.628 1063-1063/? I/ValidateNoPeople﹕ final affinity: 0.5 05-11 14:07:42.648 11726-11726/? I/RemoteViews﹕ apply : com.whatsapp 0 6 2 39 05-11 14:07:42.678 11726-11726/? I/RemoteViews﹕ apply : com.whatsapp 0 11 2 74 05-11 14:07:42.698 11726-11726/? I/RemoteViews﹕ apply : com.whatsapp 0 7 2 39 05-11 14:07:42.718 11726-11726/? I/RemoteViews﹕ apply : com.whatsapp 0 11 3 74 05-11 14:07:42.748 11726-11726/? I/RemoteViews﹕ apply : com.whatsapp 0 7 2 39 05-11 14:07:42.778 11726-11726/? E/AndroidRuntime﹕ FATAL EXCEPTION: main Process: com.android.systemui, PID: 11726 java.lang.NullPointerException: Attempt to invoke virtual method 'void com.htc.widget.HtcRimButton.setOnClickListener(android.view.View$OnClickListener)' on a null object reference at com.sensetoolbox.six.mods.SysUIMods$HeadsUpView$8.run(SysUIMods.java:3404) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:155) at android.app.ActivityThread.main(ActivityThread.java:5696) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1029) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:824) at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117) 05-11 14:07:42.778 1063-1634/? E/ActivityManager﹕ App crashed! Process: com.android.systemui
Here's the complete logcat (I sent a detailed report too). Yes I'm using "Hide Dismiss button".
You can reproduce this by (I assume you got whatsapp): Write 2 messages on phone2 while offline, turn wifi on, receving the two messages crash SystemUI on phone1. I don't know how whatsapp handles notifications but I think they would only need to update the first notification.
-
Just tested with "Hide Dismiss button" turned off and no crashes :)
-
- changed status to resolved
Turn off that option for now, will be fixed in next version :)
- Log in to comment
Logcat of that crash is required