TapTargetView icon indicating copy to clipboard operation
TapTargetView copied to clipboard

NPE Crash while dismissing

Open casolorz opened this issue 6 years ago • 0 comments

  • [ ] I have verified the issue exists on the latest version
  • [ ] I am able to reproduce it

Version used: 1.9.1 (haven't verified yet if latest has this issue) Stack trace: Caused by java.lang.NullPointerException: Attempt to read from null array at com.getkeepsafe.taptargetview.TapTargetView.calculateDrawingBounds(TapTargetView.java:884) at com.getkeepsafe.taptargetview.TapTargetView$1.onUpdate(TapTargetView.java:233) at com.getkeepsafe.taptargetview.TapTargetView$6.onUpdate(TapTargetView.java:307) at com.getkeepsafe.taptargetview.FloatValueAnimatorBuilder$1.onAnimationUpdate(FloatValueAnimatorBuilder.java:75) at android.animation.ValueAnimator.animateValue(ValueAnimator.java:1547) at android.animation.ValueAnimator.setCurrentFraction(ValueAnimator.java:674) at android.animation.ValueAnimator.setCurrentPlayTime(ValueAnimator.java:637) at android.animation.ValueAnimator.start(ValueAnimator.java:1069) at android.animation.ValueAnimator.start(ValueAnimator.java:1088) at com.getkeepsafe.taptargetview.TapTargetView.dismiss(TapTargetView.java:742) at MyActivity.onPause(MyActivity.java:205) Android version: Multiple

Don't know how to reproduce, doesn't happen every time, just sometimes.

casolorz avatar Feb 20 '19 15:02 casolorz