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 dhruvalpatel18
, 1 year ago
Attempt to invoke virtual method 'void android.view.View.setAlpha(float)' on a null object reference
via GitHub by DannyBoy32
, 2 years ago
Attempt to invoke virtual method 'void android.view.View.setAlpha(float)' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.setAlpha(float)' on a null object reference	at com.nineoldandroids.view.ViewHelper$Honeycomb.setAlpha(ViewHelper.java:185)	at com.nineoldandroids.view.ViewHelper.setAlpha(ViewHelper.java:19)	at com.daimajia.androidanimations.library.BaseViewAnimator.reset(BaseViewAnimator.java:60)	at com.daimajia.androidanimations.library.BaseViewAnimator.animate(BaseViewAnimator.java:49)	at com.daimajia.androidanimations.library.YoYo.play(YoYo.java:152)	at com.daimajia.androidanimations.library.YoYo.access$900(YoYo.java:36)	at com.daimajia.androidanimations.library.YoYo$AnimationComposer.playOn(YoYo.java:106)	at com.handm.dhruval.earthquakenews.ui.MainActivity$2.onDrawerOpened(MainActivity.java:109)	at android.support.v4.widget.DrawerLayout.dispatchOnDrawerOpened(DrawerLayout.java:875)	at android.support.v4.widget.DrawerLayout.updateDrawerState(DrawerLayout.java:820)	at android.support.v4.widget.DrawerLayout$ViewDragCallback.onViewDragStateChanged(DrawerLayout.java:2085)	at android.support.v4.widget.ViewDragHelper.setDragState(ViewDragHelper.java:881)	at android.support.v4.widget.ViewDragHelper$2.run(ViewDragHelper.java:338)	at android.os.Handler.handleCallback(Handler.java:739)	at android.os.Handler.dispatchMessage(Handler.java:95)	at android.os.Looper.loop(Looper.java:148)	at android.app.ActivityThread.main(ActivityThread.java:5417)	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)