java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • DeskClock FC each time alarm is triggered: java.lang.RuntimeException: 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 at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3137) 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:5461) 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) Caused by: 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.<init>(DrawableWrapperDonut.java:47) at android.support.v4.graphics.drawable.DrawableWrapperHoneycomb.<init>(DrawableWrapperHoneycomb.java:24) at android.support.v4.graphics.drawable.DrawableWrapperKitKat.<init>(DrawableWrapperKitKat.java:24) at android.support.v4.graphics.drawable.DrawableWrapperLollipop.<init>(DrawableWrapperLollipop.java:35) at android.support.v4.graphics.drawable.DrawableWrapperLollipop.<init>(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:626) at com.android.deskclock.alarms.AlarmActivity.resetAnimations(AlarmActivity.java:551) at com.android.deskclock.alarms.AlarmActivity.onResume(AlarmActivity.java:358) at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1259) at android.app.Activity.performResume(Activity.java:6327) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3126) ... 8 more
    via by Michal M,
  • DeskClock FC each time alarm is triggered: java.lang.RuntimeException: 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 at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3137) 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:5461) 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) Caused by: 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.<init>(DrawableWrapperDonut.java:47) at android.support.v4.graphics.drawable.DrawableWrapperHoneycomb.<init>(DrawableWrapperHoneycomb.java:24) at android.support.v4.graphics.drawable.DrawableWrapperKitKat.<init>(DrawableWrapperKitKat.java:24) at android.support.v4.graphics.drawable.DrawableWrapperLollipop.<init>(DrawableWrapperLollipop.java:35) at android.support.v4.graphics.drawable.DrawableWrapperLollipop.<init>(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:626) at com.android.deskclock.alarms.AlarmActivity.resetAnimations(AlarmActivity.java:551) at com.android.deskclock.alarms.AlarmActivity.onResume(AlarmActivity.java:358) at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1259) at android.app.Activity.performResume(Activity.java:6327) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3126) ... 8 more
    via by Michal M,
  • When the alarm starts to ring it doesnt show the snooze and dismiss interface and shows a message that the clock stoppedjava.lang.RuntimeException: 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 at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3137) 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:5461) 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) Caused by: 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.<init>(DrawableWrapperDonut.java:47) at android.support.v4.graphics.drawable.DrawableWrapperHoneycomb.<init>(DrawableWrapperHoneycomb.java:24) at android.support.v4.graphics.drawable.DrawableWrapperKitKat.<init>(DrawableWrapperKitKat.java:24) at android.support.v4.graphics.drawable.DrawableWrapperLollipop.<init>(DrawableWrapperLollipop.java:35) at android.support.v4.graphics.drawable.DrawableWrapperLollipop.<init>(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:626) at com.android.deskclock.alarms.AlarmActivity.resetAnimations(AlarmActivity.java:551) at com.android.deskclock.alarms.AlarmActivity.onResume(AlarmActivity.java:358) at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1259) at android.app.Activity.performResume(Activity.java:6327) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3126) ... 8 more
    via by Sorin,
  • When the alarm starts to ring it doesnt show the snooze and dismiss interface and shows a message that the clock stoppedjava.lang.RuntimeException: 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 at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3137) 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:5461) 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) Caused by: 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.<init>(DrawableWrapperDonut.java:47) at android.support.v4.graphics.drawable.DrawableWrapperHoneycomb.<init>(DrawableWrapperHoneycomb.java:24) at android.support.v4.graphics.drawable.DrawableWrapperKitKat.<init>(DrawableWrapperKitKat.java:24) at android.support.v4.graphics.drawable.DrawableWrapperLollipop.<init>(DrawableWrapperLollipop.java:35) at android.support.v4.graphics.drawable.DrawableWrapperLollipop.<init>(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:626) at com.android.deskclock.alarms.AlarmActivity.resetAnimations(AlarmActivity.java:551) at com.android.deskclock.alarms.AlarmActivity.onResume(AlarmActivity.java:358) at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1259) at android.app.Activity.performResume(Activity.java:6327) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3126) ... 8 more
    via by Sorin,
    • java.lang.RuntimeException: 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 at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3137) 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) Caused by: 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.<init>(DrawableWrapperDonut.java:47) at android.support.v4.graphics.drawable.DrawableWrapperHoneycomb.<init>(DrawableWrapperHoneycomb.java:24) at android.support.v4.graphics.drawable.DrawableWrapperKitKat.<init>(DrawableWrapperKitKat.java:24) at android.support.v4.graphics.drawable.DrawableWrapperLollipop.<init>(DrawableWrapperLollipop.java:35) at android.support.v4.graphics.drawable.DrawableWrapperLollipop.<init>(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) ... 8 more
    No Bugmate found.