[Xiaomi Redmi Note 7 Pro ROMs, Kernels, Recoveries,] jellybean13:
Bug: (NPE) System UI has stopped.

Logcat:

Process: com.android.systemui

PID: 1934

UID: 10088

Flags: 0x30c83e0d

Package: com.android.systemui v29 (10)

Foreground: No

Build: xiaomi/violet/violet:9/PKQ1.181203.001/V10.3.9.0.PFHINXM:user/release-keys

java.lang.NullPointerException: Attempt to invoke interface method 'com.android.systemui.statusbar.notification.TransformState com.android.systemui.statusbar.TransformableView.getCurrentState(int)' on a null object reference

at com.android.systemui.statusbar.ViewTransformationHelper.transformFrom(ViewTransformationHelper.java:174)

at com.android.systemui.statusbar.notification.row.wrapper.NotificationHeaderViewWrapper.transformFrom(NotificationHeaderViewWrapper.java:217)

at com.android.systemui.statusbar.notification.row.NotificationContentView.updateContentTransformation(NotificationContentView.java:698)

at com.android.systemui.statusbar.notification.row.NotificationContentView.selectLayout(NotificationContentView.java:852)

at com.android.systemui.statusbar.notification.row.NotificationContentView.setHeadsUpChild(NotificationContentView.java:507)

at com.android.systemui.statusbar.notification.row.NotificationContentInflater.freeNotificationView(NotificationContentInflater.java:314)

at com.android.systemui.statusbar.notification.row.ExpandableNotificationRow.lambda$freeContentViewWhenSafe$0$ExpandableNotificationRow(ExpandableNotificationRow.java:484)

at com.android.systemui.statusbar.notification.row.-$$Lambda$ExpandableNotificationRow$RmUEmS0GEHf9L7pp2cHmxPWsfmA.run(Unknown Source:4)

at com.android.systemui.statusbar.notification.row.NotificationContentView.onVisibilityChanged(NotificationContentView.java:557)

at android.view.View.dispatchVisibilityChanged(View.java:13755)

at android.view.ViewGroup.dispatchVisibilityChanged(ViewGroup.java:1565)

at android.view.ViewGroup.dispatchVisibilityChanged(ViewGroup.java:1569)

at android.view.View.setFlags(View.java:15268)

at android.view.View.setVisibility(View.java:10851)

at com.android.systemui.statusbar.notification.stack.ViewState.onYTranslationAnimationFinished(ViewState.java:606)

at com.android.systemui.statusbar.notification.row.ExpandableNotificationRow$NotificationViewState.onYTranslationAnimationFinished(ExpandableNotificationRow.java:3186)

at com.android.systemui.statusbar.notification.stack.ViewState$7.onAnimationEnd(ViewState.java:595)

at android.animation.Animator$AnimatorListener.onAnimationEnd(Animator.java:554)

at android.animation.ValueAnimator.endAnimation(ValueAnimator.java:1242)

at android.animation.ValueAnimator.doAnimationFrame(ValueAnimator.java:1484)

at android.animation.AnimationHandler.doAnimationFrame(AnimationHandler.java:146)

at android.animation.AnimationHandler.access$100(AnimationHandler.java:37)

at android.animation.AnimationHandler$1.doFrame(AnimationHandler.java:54)

at android.view.Choreographer$CallbackRecord.run(Choreographer.java:964)

at android.view.Choreographer.doCallbacks(Choreographer.java:790)

at android.view.Choreographer.doFrame(Choreographer.java:721)

at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:951)

at android.os.Handler.handleCallback(Handler.java:883)

at android.os.Handler.dispatchMessage(Handler.java:100)

at android.os.Looper.loop(Looper.java:214)

at android.app.ActivityThread.main(ActivityThread.java:7356)

at java.lang.reflect.Method.invoke(Native Method)

at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)