java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.ViewPropertyAnimator android.view.View.animate()' on a null object reference

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by d1sc0nn3ct3d
, 10 months ago
Attempt to invoke virtual method 'android.view.ViewPropertyAnimator android.view.View.animate()' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.ViewPropertyAnimator android.view.View.animate()' on a null object reference
at tk.wasdennnoch.androidn_ify.systemui.statusbar.StatusBarHooks$1.replaceHookedMethod(StatusBarHooks.java:91)
at de.robv.android.xposed.XC_MethodReplacement.beforeHookedMethod(XC_MethodReplacement.java:29)
at com.android.systemui.statusbar.phone.NavigationBarTransitions.applyLightsOut()
at com.android.systemui.statusbar.phone.NavigationBarTransitions.applyMode(NavigationBarTransitions.java:91)
at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
at com.android.systemui.statusbar.phone.NavigationBarTransitions.applyMode()
at com.android.systemui.statusbar.phone.NavigationBarTransitions.init(NavigationBarTransitions.java:52)
at com.android.systemui.statusbar.phone.NavigationBarView.reorient(NavigationBarView.java:673)
at com.android.systemui.statusbar.phone.PhoneStatusBar.prepareNavigationBarView(PhoneStatusBar.java:1519)
at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
at com.android.systemui.statusbar.phone.PhoneStatusBar.prepareNavigationBarView()
at com.android.systemui.statusbar.phone.PhoneStatusBar.addNavigationBar(PhoneStatusBar.java:1556)
at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:673)
at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
at com.android.systemui.statusbar.phone.PhoneStatusBar.start()
at com.android.systemui.statusbar.SystemBars.createStatusBarFromConfig(SystemBars.java:106)
at com.android.systemui.statusbar.SystemBars.onNoService(SystemBars.java:58)
at com.android.systemui.statusbar.ServiceMonitor.startService(ServiceMonitor.java:228)
at com.android.systemui.statusbar.ServiceMonitor.access$000(ServiceMonitor.java:49)
at com.android.systemui.statusbar.ServiceMonitor$1.handleMessage(ServiceMonitor.java:73)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5637)
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:960)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.