passsy / android-HoloCircularProgressBar

Holo Circular ProgressBar
958 stars 327 forks source link

I'm getting an error when I run the sample project. #1

Closed gauthamns closed 11 years ago

gauthamns commented 11 years ago

When I run the sample project, I'm getting a Nullpointerexception for this function. progressBarAnimator.setupEndValues();

03-28 18:04:21.718: E/AndroidRuntime(32572): Caused by: java.lang.NullPointerException 03-28 18:04:21.718: E/AndroidRuntime(32572): at android.animation.PropertyValuesHolder.setupSetterAndGetter(PropertyValuesHolder.java:513) 03-28 18:04:21.718: E/AndroidRuntime(32572): at android.animation.ObjectAnimator.initAnimation(ObjectAnimator.java:392) 03-28 18:04:21.718: E/AndroidRuntime(32572): at android.animation.ObjectAnimator.setupEndValues(ObjectAnimator.java:452) 03-28 18:04:21.718: E/AndroidRuntime(32572): at de.passsy.circularprogressbarsample.CircularProgressBarSample.animate(CircularProgressBarSample.java:76) 03-28 18:04:21.718: E/AndroidRuntime(32572): at de.passsy.circularprogressbarsample.CircularProgressBarSample.onCreate(CircularProgressBarSample.java:60)

passsy commented 11 years ago

just tested it for 4.2 only.

~fixed