abbasfreestyle / react-native-af-video-player

MIT License
381 stars 288 forks source link

Android Crash On Slider #144

Open fahmi-f7 opened 4 years ago

fahmi-f7 commented 4 years ago

Hello, I would like to report an issue on Android. Please find below for the details:

Thanks.

BAE86AEC1946B6AB60CCD7452DC811F0 commented 4 years ago

The same problem only happened on Android 6.0.1, Other phones do not have this error

react-native: 0.61

Android

java.lang.NullPointerException: Attempt to write to field 'java.util.ArrayList android.animation.AnimatorSet$Node.nodeDependents' on a null object reference
    at android.animation.AnimatorSet.clone(AnimatorSet.java:700)
    at android.animation.AnimatorSet.clone(AnimatorSet.java:51)
    at android.animation.Animator$AnimatorConstantState.newInstance(Animator.java:562)
    at android.animation.Animator$AnimatorConstantState.newInstance(Animator.java:543)
    at android.content.res.ConstantState.newInstance(ConstantState.java:51)
    at android.content.res.ConstantState.newInstance(ConstantState.java:59)
    at android.animation.AnimatorInflater.loadAnimator(AnimatorInflater.java:133)
    at android.graphics.drawable.AnimatedVectorDrawable$AnimatedVectorDrawableState$PendingAnimator.newInstance(AnimatedVectorDrawable.java:567)
    at android.graphics.drawable.AnimatedVectorDrawable$AnimatedVectorDrawableState.inflatePendingAnimators(AnimatedVectorDrawable.java:545)
    at android.graphics.drawable.AnimatedVectorDrawable.applyTheme(AnimatedVectorDrawable.java:377)
    at android.graphics.drawable.DrawableContainer$DrawableContainerState.applyTheme(DrawableContainer.java:865)
    at android.graphics.drawable.DrawableContainer.applyTheme(DrawableContainer.java:577)
    at android.graphics.drawable.StateListDrawable.applyTheme(StateListDrawable.java:370)
    at android.graphics.drawable.AnimatedStateListDrawable.applyTheme(AnimatedStateListDrawable.java:391)
    at android.content.res.Resources.loadDrawable(Resources.java:2615)
    at android.content.res.VivoResources.loadDrawable(VivoResources.java:220)
    at android.content.res.TypedArray.getDrawable(TypedArray.java:870)
    at android.widget.AbsSeekBar.<init>(AbsSeekBar.java:95)
    at android.widget.SeekBar.<init>(SeekBar.java:85)
    at android.widget.SeekBar.<init>(SeekBar.java:81)
    at androidx.appcompat.widget.AppCompatSeekBar.<init>(AppCompatSeekBar.java:47)
    at com.reactnativecommunity.slider.ReactSlider.<init>(ReactSlider.java:68)
    at com.reactnativecommunity.slider.ReactSliderManager.createViewInstance(ReactSliderManager.java:129)
    at com.reactnativecommunity.slider.ReactSliderManager.createViewInstance(ReactSliderManager.java:40)
    at com.facebook.react.uimanager.ViewManager.createViewInstance(ViewManager.java:139)
    at com.facebook.react.uimanager.ViewManager.createView(ViewManager.java:82)
    at com.facebook.react.uimanager.NativeViewHierarchyManager.createView(NativeViewHierarchyManager.java:269)
    at com.facebook.react.uimanager.UIViewOperationQueue$CreateViewOperation.execute(UIViewOperationQueue.java:179)
    at com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.dispatchPendingNonBatchedOperations(UIViewOperationQueue.java:972)
    at com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.doFrameGuarded(UIViewOperationQueue.java:943)
    at com.facebook.react.uimanager.GuardedFrameCallback.doFrame(GuardedFrameCallback.java:28)
    at com.facebook.react.modules.core.ReactChoreographer$ReactChoreographerDispatcher.doFrame(ReactChoreographer.java:174)
    at com.facebook.react.modules.core.ChoreographerCompat$FrameCallback$1.doFrame(ChoreographerCompat.java:84)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:890)
    at android.view.Choreographer.doCallbacks(Choreographer.java:704)
    at android.view.Choreographer.doFrame(Choreographer.java:637)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:878)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:148)
    at android.app.ActivityThread.main(ActivityThread.java:5619)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:853)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:737)