java.lang.NullPointerException: Attempt to invoke virtual method 'void com.android.systemui.qs.QSPage.addView(android.view.View)' on a null object reference

JIRA | Lorenzo Alfonsi | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    As the title says, if a 3rd page is created while rearranging QS tiles, SystemUI FC with this error: 12-14 12:50:28.476 1083 1083 E AndroidRuntime: FATAL EXCEPTION: main 12-14 12:50:28.476 1083 1083 E AndroidRuntime: Process: com.android.systemui, PID: 1083 12-14 12:50:28.476 1083 1083 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.android.systemui.qs.QSPage.addView(android.view.View)' on a null object reference 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at com.android.systemui.qs.QSDragPanel$10.onAnimationEnd(QSDragPanel.java:1079) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at android.view.ViewPropertyAnimator$AnimatorEventListener.onAnimationEnd(ViewPropertyAnimator.java:1114) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at android.animation.ValueAnimator.endAnimation(ValueAnimator.java:1239) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at android.animation.ValueAnimator$AnimationHandler.doAnimationFrame(ValueAnimator.java:766) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at android.animation.ValueAnimator$AnimationHandler$1.run(ValueAnimator.java:801) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at android.view.Choreographer.doCallbacks(Choreographer.java:670) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at android.view.Choreographer.doFrame(Choreographer.java:603) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:739) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5466) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) I didn't upload a logcat as the error i pasted should be enough to debug it (Attempt to invoke virtual method 'void com.android.systemui.qs.QSPage.addView(android.view.View)' on a null object reference). Last known good is 11 dec because we didn't receive 12 dec nightly.

    JIRA | 1 year ago | Lorenzo Alfonsi
    java.lang.NullPointerException: Attempt to invoke virtual method 'void com.android.systemui.qs.QSPage.addView(android.view.View)' on a null object reference
  2. 0

    As the title says, if a 3rd page is created while rearranging QS tiles, SystemUI FC with this error: 12-14 12:50:28.476 1083 1083 E AndroidRuntime: FATAL EXCEPTION: main 12-14 12:50:28.476 1083 1083 E AndroidRuntime: Process: com.android.systemui, PID: 1083 12-14 12:50:28.476 1083 1083 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.android.systemui.qs.QSPage.addView(android.view.View)' on a null object reference 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at com.android.systemui.qs.QSDragPanel$10.onAnimationEnd(QSDragPanel.java:1079) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at android.view.ViewPropertyAnimator$AnimatorEventListener.onAnimationEnd(ViewPropertyAnimator.java:1114) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at android.animation.ValueAnimator.endAnimation(ValueAnimator.java:1239) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at android.animation.ValueAnimator$AnimationHandler.doAnimationFrame(ValueAnimator.java:766) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at android.animation.ValueAnimator$AnimationHandler$1.run(ValueAnimator.java:801) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at android.view.Choreographer.doCallbacks(Choreographer.java:670) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at android.view.Choreographer.doFrame(Choreographer.java:603) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:739) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5466) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 12-14 12:50:28.476 1083 1083 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) I didn't upload a logcat as the error i pasted should be enough to debug it (Attempt to invoke virtual method 'void com.android.systemui.qs.QSPage.addView(android.view.View)' on a null object reference). Last known good is 11 dec because we didn't receive 12 dec nightly.

    JIRA | 1 year ago | Lorenzo Alfonsi
    java.lang.NullPointerException: Attempt to invoke virtual method 'void com.android.systemui.qs.QSPage.addView(android.view.View)' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'void com.android.systemui.qs.QSPage.addView(android.view.View)' on a null object reference

      at com.android.systemui.qs.QSDragPanel$10.onAnimationEnd()
    2. com.android.systemui
      QSDragPanel$10.onAnimationEnd
      1. com.android.systemui.qs.QSDragPanel$10.onAnimationEnd(QSDragPanel.java:1079)
      1 frame
    3. Android Platform
      ActivityThread.main
      1. android.view.ViewPropertyAnimator$AnimatorEventListener.onAnimationEnd(ViewPropertyAnimator.java:1114)
      2. android.animation.ValueAnimator.endAnimation(ValueAnimator.java:1239)
      3. android.animation.ValueAnimator$AnimationHandler.doAnimationFrame(ValueAnimator.java:766)
      4. android.animation.ValueAnimator$AnimationHandler$1.run(ValueAnimator.java:801)
      5. android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
      6. android.view.Choreographer.doCallbacks(Choreographer.java:670)
      7. android.view.Choreographer.doFrame(Choreographer.java:603)
      8. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
      9. android.os.Handler.handleCallback(Handler.java:739)
      10. android.os.Handler.dispatchMessage(Handler.java:95)
      11. android.os.Looper.loop(Looper.java:148)
      12. android.app.ActivityThread.main(ActivityThread.java:5466)
      12 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
      2 frames