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


Solutions on the web1

Solution icon of github
via GitHub by d1sc0nn3ct3d
, 8 months ago
Attempt to invoke virtual method 'android.view.ViewPropertyAnimator android.view.View.animate()' on a null object reference

Stack trace

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 de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:314)
	at com.android.systemui.statusbar.phone.NavigationBarTransitions.applyLightsOut(<Xposed>)
	at com.android.systemui.statusbar.phone.NavigationBarTransitions.applyMode(NavigationBarTransitions.java:91)
	at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
	at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:334)
	at com.android.systemui.statusbar.phone.NavigationBarTransitions.applyMode(<Xposed>)
	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 de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:334)
	at com.android.systemui.statusbar.phone.PhoneStatusBar.prepareNavigationBarView(<Xposed>)
	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 de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:334)
	at com.android.systemui.statusbar.phone.PhoneStatusBar.start(<Xposed>)
	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 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102)

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

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.