brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.52k stars 2.27k forks source link

GPS crash on android 8 related to news #30336

Open deeppandya opened 1 year ago

deeppandya commented 1 year ago

The crash happens when user opens the app and based on logs below it could be related to news.

below is the stack trace for the issue, Exception java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.unFocus(android.view.View)' on a null object reference at android.view.ViewGroup.removeViewInternal (ViewGroup.java:5211) at android.view.ViewGroup.removeViewAt (ViewGroup.java:5174) at androidx.recyclerview.widget.RecyclerView$5.removeViewAt (RecyclerView.java:976) at androidx.recyclerview.widget.ChildHelper.removeViewIfHidden (ChildHelper.java:386) at androidx.recyclerview.widget.RecyclerView.removeAnimatingView (RecyclerView.java:1582) at androidx.recyclerview.widget.RecyclerView$ItemAnimatorRestoreListener.onAnimationFinished (RecyclerView.java:13612) at androidx.recyclerview.widget.RecyclerView$ItemAnimator.dispatchAnimationFinished (RecyclerView.java:14114) at androidx.recyclerview.widget.SimpleItemAnimator.dispatchRemoveFinished (SimpleItemAnimator.java:286) at androidx.recyclerview.widget.DefaultItemAnimator$4.onAnimationEnd (DefaultItemAnimator.java:216) at android.view.ViewPropertyAnimator$AnimatorEventListener.onAnimationEnd (ViewPropertyAnimator.java:1122) at android.animation.Animator$AnimatorListener.onAnimationEnd (Animator.java:552) at android.animation.ValueAnimator.endAnimation (ValueAnimator.java:1209) at android.animation.ValueAnimator.doAnimationFrame (ValueAnimator.java:1449) at android.animation.AnimationHandler.doAnimationFrame (AnimationHandler.java:146) at android.animation.AnimationHandler.-wrap2 at android.animation.AnimationHandler$1.doFrame (AnimationHandler.java:54) at android.view.Choreographer$CallbackRecord.run (Choreographer.java:964) at android.view.Choreographer.doCallbacks (Choreographer.java:778) at android.view.Choreographer.doFrame (Choreographer.java:710) at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:952) at android.os.Handler.handleCallback (Handler.java:789) at android.os.Handler.dispatchMessage (Handler.java:98) at android.os.Looper.loop (Looper.java:169) at android.app.ActivityThread.main (ActivityThread.java:6595) at java.lang.reflect.Method.invoke at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:240) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:767)

iefremov commented 3 months ago

@deeppandya is it still relevant?