java.lang.NullPointerException

Attempt to invoke virtual method 'void android.view.ViewRootImpl.setDragFocus(android.view.View)' on a null object reference

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web21090

  • Attempt to invoke virtual method 'void android.view.ViewRootImpl.setDragFocus(android.view.View)' on a null object reference
  • via JIRA by Lorenzo Alfonsi, 1 year ago
    Attempt to invoke virtual method 'void com.android.systemui.qs.QSPage.addView(android.view.View)' on a null object reference
  • Attempt to invoke virtual method 'void android.widget.LinearLayout.setOnClickListener(android.view.View$OnClickListener)' on a null object reference
  • Stack trace

    • java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.ViewRootImpl.setDragFocus(android.view.View)' on a null object reference at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1454) at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1482) at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1482) at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1482) at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1482) at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1482) at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1482) at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1482) at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1482) at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1482) at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1482) at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1482) at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1482) at android.view.ViewRootImpl.handleDragEvent(ViewRootImpl.java:5337) at android.view.ViewRootImpl.access$600(ViewRootImpl.java:108) at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3464) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:152) at android.app.ActivityThread.main(ActivityThread.java:5497) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    2 times, 1 month ago
    Unknown user
    Once, 4 months ago
    Unknown user
    Once, 5 months ago
    31 times, 6 months ago
    Unknown user
    Once, 7 months ago
    80 more bugmates