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 xda-developers.com by Unknown author, 1 year ago
Unable to resume activity {com.android.deskclock/com.android.deskclock.alarms.AlarmActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.drawable.Drawable.setBounds(android.graphics.Rect)' on a null object reference
via github.com by Unknown author, 1 year ago
Unable to resume activity {com.android.deskclock/com.android.deskclock.alarms.AlarmActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.drawable.Drawable.setBounds(android.graphics.Rect)' on a null object reference
via JIRA by Michal M, 1 year ago
Unable to resume activity {com.android.deskclock/com.android.deskclock.alarms.AlarmActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.drawable.Drawable.setBounds(android.graphics.Rect)' on a null object reference
via JIRA by Michal M, 1 year ago
Unable to resume activity {com.android.deskclock/com.android.deskclock.alarms.AlarmActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.drawable.Drawable.setBounds(android.graphics.Rect)' on a null object reference
via GitHub by jraczak
, 1 year ago
Unable to resume activity {com.justinraczak.android.squadgoals/com.justinraczak.android.squadgoals.LogWorkoutActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ListView.setAdapter(android.widget.ListAdapter)' on a null object reference
via Stack Overflow by vm345
, 9 months ago
Unable to resume activity {com.beco.ibeco/com.beco.ibeco.app.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.drawable.Drawable.setColorFilter(int, android.graphics.PorterDuff$Mode)' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.drawable.Drawable.setBounds(android.graphics.Rect)' on a null object reference	at android.support.v4.graphics.drawable.DrawableWrapperDonut.onBoundsChange(DrawableWrapperDonut.java:57)	at android.graphics.drawable.Drawable.setBounds(Drawable.java:168)	at android.graphics.drawable.Drawable.setBounds(Drawable.java:177)	at android.support.v4.graphics.drawable.DrawableWrapperDonut.setWrappedDrawable(DrawableWrapperDonut.java:252)	at android.support.v4.graphics.drawable.DrawableWrapperDonut.(DrawableWrapperDonut.java:47)	at android.support.v4.graphics.drawable.DrawableWrapperHoneycomb.(DrawableWrapperHoneycomb.java:24)	at android.support.v4.graphics.drawable.DrawableWrapperKitKat.(DrawableWrapperKitKat.java:24)	at android.support.v4.graphics.drawable.DrawableWrapperLollipop.(DrawableWrapperLollipop.java:35)	at android.support.v4.graphics.drawable.DrawableWrapperLollipop.(DrawableWrapperLollipop.java:31)	at android.support.v4.graphics.drawable.DrawableCompatApi22.wrapForTinting(DrawableCompatApi22.java:28)	at android.support.v4.graphics.drawable.DrawableCompat$LollipopMr1DrawableImpl.wrap(DrawableCompat.java:191)	at android.support.v4.graphics.drawable.DrawableCompat.wrap(DrawableCompat.java:344)	at com.android.deskclock.AnimatorUtils$4.set(AnimatorUtils.java:81)	at com.android.deskclock.AnimatorUtils$4.set(AnimatorUtils.java:78)	at android.animation.PropertyValuesHolder.setAnimatedValue(PropertyValuesHolder.java:937)	at android.animation.ObjectAnimator.animateValue(ObjectAnimator.java:981)	at android.animation.ValueAnimator.setCurrentFraction(ValueAnimator.java:642)	at com.android.deskclock.AnimatorUtils.setAnimatedFraction(AnimatorUtils.java:97)	at com.android.deskclock.alarms.AlarmActivity.setAnimatedFractions(AlarmActivity.java:627)	at com.android.deskclock.alarms.AlarmActivity.resetAnimations(AlarmActivity.java:552)	at com.android.deskclock.alarms.AlarmActivity.onResume(AlarmActivity.java:359)	at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1259)	at android.app.Activity.performResume(Activity.java:6327)	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3126)	at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3168)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1407)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:148)	at android.app.ActivityThread.main(ActivityThread.java:5465)	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)