App: [$250] Investigate: π₯ Crash π₯ `com.facebook.react.views.scroll.MaintainVisibleContentPositionHelper.updateScrollPosition`
Firebase has reported a new crash that we need to fix, here are all the details we found:
Fatal Exception: java.lang.NullPointerException
Attempt to invoke virtual method βvoid android.view.View.getHitRect(android.graphics.Rect)β on a null object reference
MaintainVisibleContentPositionHelper.java line 105 com.facebook.react.views.scroll.MaintainVisibleContentPositionHelper.updateScrollPosition
Number of Crashes: 3
Device Information
- Platforms: Android
- App Versions:
1.2.1-0 - Devices: OnePlus GM1917 11
Stacktraces
Android 1.2.1-0
com.facebook.react.views.scroll.MaintainVisibleContentPositionHelper.updateScrollPosition (MaintainVisibleContentPositionHelper.java:105)
com.facebook.react.views.scroll.ReactScrollView.onLayoutChange (ReactScrollView.java:1063)
android.view.View.layout (View.java:23060)
android.view.ViewGroup.layout (ViewGroup.java:6419)
com.facebook.react.uimanager.NativeViewHierarchyManager.updateLayout (NativeViewHierarchyManager.java:254)
com.facebook.react.uimanager.NativeViewHierarchyManager.updateLayout (NativeViewHierarchyManager.java:222)
com.swmansion.reanimated.layoutReanimation.ReanimatedNativeHierarchyManager.updateLayout (ReanimatedNativeHierarchyManager.java:274)
com.facebook.react.uimanager.UIViewOperationQueue$UpdateLayoutOperation.execute (UIViewOperationQueue.java:169)
com.facebook.react.uimanager.UIViewOperationQueue$1.run (UIViewOperationQueue.java:915)
com.facebook.react.uimanager.UIViewOperationQueue.flushPendingBatches (UIViewOperationQueue.java:1026)
com.facebook.react.uimanager.UIViewOperationQueue.access$2600 (UIViewOperationQueue.java:47)
com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.doFrameGuarded (UIViewOperationQueue.java:1086)
com.facebook.react.uimanager.GuardedFrameCallback.doFrame (GuardedFrameCallback.java:29)
com.facebook.react.modules.core.ReactChoreographer$ReactChoreographerDispatcher.doFrame (ReactChoreographer.java:175)
com.facebook.react.modules.core.ChoreographerCompat$FrameCallback$1.doFrame (ChoreographerCompat.java:85)
android.view.Choreographer$CallbackRecord.run (Choreographer.java:1350)
android.view.Choreographer.doCallbacks (Choreographer.java:1149)
android.view.Choreographer.doFrame (Choreographer.java:1040)
android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:1333)
android.os.Handler.handleCallback (Handler.java:938)
android.os.Handler.dispatchMessage (Handler.java:99)
android.os.Looper.loop (Looper.java:233)
android.app.ActivityThread.main (ActivityThread.java:8010)
java.lang.reflect.Method.invoke
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:631)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:978)
Internal Firebase Info
π₯ DO NOT EDIT THIS SECTION π₯
Crash IDs: d04a9af7b41d6cae7236ba230324da48
Exception: Attempt to invoke virtual method 'void android.view.View.getHitRect(android.graphics.Rect)' on a null object reference
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (11 by maintainers)
Letβs wait a little longer, it still only has one occurrence from a week ago, so Iβm not convinced itβs worth it to try to find a fix yet
It looks like this error is no longer in crashlytics/firebase so I think we can just close.