App: [$2000] Investigate: 💥 Crash 💥 `com.facebook.react.uimanager.ViewManagersPropertyCache$FloatPropSetter.getValueOrDefault`

Firebase has reported a new crash that we need to fix, here are all the details we found:

Fatal Exception: com.facebook.react.bridge.JSApplicationIllegalArgumentException

Error while updating property ‘zIndex’ of a view managed by: RCTView

ViewManagersPropertyCache.java line 250 com.facebook.react.uimanager.ViewManagersPropertyCache$FloatPropSetter.getValueOrDefault

Number of Crashes: 4

Device Information

  • Platforms: Android
  • App Versions: 1.2.3-0
  • Devices: Google AOSP on IA Emulator 9

Stacktraces

Android 1.2.3-0
com.facebook.react.uimanager.ViewManagersPropertyCache$PropSetter.updateViewProp (ViewManagersPropertyCache.java:101)
com.facebook.react.uimanager.ViewManagerPropertyUpdater$FallbackViewManagerSetter.setProperty (ViewManagerPropertyUpdater.java:136)
com.facebook.react.uimanager.ViewManagerPropertyUpdater.updateProps (ViewManagerPropertyUpdater.java:56)
com.facebook.react.uimanager.ViewManager.updateProperties (ViewManager.java:48)
com.facebook.react.uimanager.ViewManager.createViewInstance (ViewManager.java:144)
com.facebook.react.uimanager.ViewManager.createView (ViewManager.java:77)
com.facebook.react.uimanager.NativeViewHierarchyManager.createView (NativeViewHierarchyManager.java:281)
com.facebook.react.uimanager.UIViewOperationQueue$CreateViewOperation.execute (UIViewOperationQueue.java:194)
com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.dispatchPendingNonBatchedOperations (UIViewOperationQueue.java:1110)
com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.doFrameGuarded (UIViewOperationQueue.java:1081)
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:947)
android.view.Choreographer.doCallbacks (Choreographer.java:761)
android.view.Choreographer.doFrame (Choreographer.java:693)
android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:935)
android.os.Handler.handleCallback (Handler.java:873)
android.os.Handler.dispatchMessage (Handler.java:99)
android.os.Looper.loop (Looper.java:193)
android.app.ActivityThread.main (ActivityThread.java:6669)
java.lang.reflect.Method.invoke
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:858)

Internal Firebase Info

💥 DO NOT EDIT THIS SECTION 💥

Crash IDs: b4b64ee516fd3cc09bb472809f4686ce Exception: Error while updating property 'zIndex' of a view managed by: RCTView

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 41 (27 by maintainers)

Most upvoted comments

@mananjadhav Same here with the issues, but I’ve managed to run it. Ill try send the screenshot as soon as I can

Agree with @mananjadhav - We are not open to switching components at this time.

@Uros787 I might not be able to help you reproduce this soon. Can you check the PR you linked in the thread? and check for the reproduction?

How would you guys feel about implementing spotify flashlist?

I’ll let @AndrewGable give his feedback on this one. But my opinion is we’ve invested heavily on FlatList and worked on different items related to scroll, inverted list, performance. I don’t see a strong argument of replacing all of that with a new component just for the sake of a crash?

Agree, I think we are still waiting on proposals.

It would be difficult for me and the QA to test this if we can’t reproduce this. Waiting for reproduction steps and corresponding proposals.

Thanks for the interest @AwaisKhan128, please refer our contributing guidelines, how to write a proposal and how we work on the jobs here.

We would need the technical proposal crisp and solid enough to solve the issue.