Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got NullPointerException when cancelled the recording #2

Closed
Redman1037 opened this issue Jan 8, 2018 · 5 comments
Closed

Got NullPointerException when cancelled the recording #2

Redman1037 opened this issue Jan 8, 2018 · 5 comments

Comments

@Redman1037
Copy link

java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference
at android.graphics.drawable.AnimatedVectorDrawable$VectorDrawableAnimatorRT.createRTAnimator(AnimatedVectorDrawable.java:1330)
at android.graphics.drawable.AnimatedVectorDrawable$VectorDrawableAnimatorRT.parseAnimatorSet(AnimatedVectorDrawable.java:1288)
at android.graphics.drawable.AnimatedVectorDrawable$VectorDrawableAnimatorRT.parseAnimatorSet(AnimatedVectorDrawable.java:1286)
at android.graphics.drawable.AnimatedVectorDrawable$VectorDrawableAnimatorRT.init(AnimatedVectorDrawable.java:1255)
at android.graphics.drawable.AnimatedVectorDrawable.ensureAnimatorSet(AnimatedVectorDrawable.java:919)
at android.graphics.drawable.AnimatedVectorDrawable.start(AnimatedVectorDrawable.java:902)
at android.support.graphics.drawable.AnimatedVectorDrawableCompat.start(AnimatedVectorDrawableCompat.java:697)
at com.devlomi.record_view.RecordView$1.onAnimationEnd(RecordView.java:144)
at android.view.animation.Animation$3.run(Animation.java:381)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6236)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)

@3llomi
Copy link
Owner

3llomi commented Jan 8, 2018

@Redman1037 what Android API you are using?

@Redman1037
Copy link
Author

API 25

@3llomi
Copy link
Owner

3llomi commented Jan 9, 2018

@Redman1037 could you try Version 1.0beta and report back ?

@Redman1037
Copy link
Author

I am getting exception only on Lenovo k4 note with custom rom installed . On other devices it is working fine

@3llomi
Copy link
Owner

3llomi commented Jun 18, 2018

A new update has been published with some bug fixes.
please try to upgrade to latest version.

feel free to re-open this issue if you still have problems

@3llomi 3llomi closed this as completed Jun 18, 2018
3llomi pushed a commit that referenced this issue Dec 2, 2022
Fix coding mistake on seting scale
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants