-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$2000] Investigate: 💥 Crash 💥 com.facebook.react.uimanager.ViewManagersPropertyCache$FloatPropSetter.getValueOrDefault
#11394
Comments
Triggered auto assignment to @arielgreen ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
Triggered auto assignment to @AndrewGable ( |
com.facebook.react.uimanager.ViewManagersPropertyCache$FloatPropSetter.getValueOrDefault
com.facebook.react.uimanager.ViewManagersPropertyCache$FloatPropSetter.getValueOrDefault
Hi there, I researched several issues that were caused in time back reflecting that there are mostly three possibilities that might ensure its existence.
Over 4 years of React Native development mobile application development. I can ensure its resolution soon. I will be waiting for your response. Regards, |
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. |
com.facebook.react.uimanager.ViewManagersPropertyCache$FloatPropSetter.getValueOrDefault
com.facebook.react.uimanager.ViewManagersPropertyCache$FloatPropSetter.getValueOrDefault
ProposalThe only place where we are setting/updating zIndex is on ReportActionsList.js App/src/pages/home/report/ReportActionsList.js Lines 159 to 166 in 2ffd0e2
Possible problems:
Proposed solution:
|
Thanks for the proposal @Uros787. Were you able to reproduce this at your end? If yes then can you share them. Without proper reproduction, it will be difficult for us to figure out if the solution works. |
Hi @mananjadhav . No, I haven't succeeded in reproducing this crash on my machine. Let's create a pr for this, merge it and follow it next week if there are no crashes. I am okay with not taking payment for the week we are testing this. This fix can only improve performance, so even if it doesn't solve the crash, we bumped the performance a bit. |
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. |
com.facebook.react.uimanager.ViewManagersPropertyCache$FloatPropSetter.getValueOrDefault
com.facebook.react.uimanager.ViewManagersPropertyCache$FloatPropSetter.getValueOrDefault
Price upped. |
Should we double again? @arielgreen why is this daily? |
Discussion ongoing |
@mananjadhav what's the status here? |
@arielgreen Let me check the thread and update here |
@mananjadhav update please |
I checked the thread and there were some reservations on removing @Uros787 do you have any other way to fix this? or ensure that |
Agree, I think we are still waiting on proposals. |
@mananjadhav How would you guys feel about implementing spotify flashlist? |
@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?
I'll let @AndrewGable give his feedback on this one. But my opinion is we've invested heavily on |
Agree with @mananjadhav - We are not open to switching components at this time. |
@mananjadhav i tried following the steps from that pr. There was nothing specific |
Hmm. @Uros787 Honestly I have had some issues with Android not working fine for me last few days. Can you share a screencast of the long chat where avatars are not missing? |
@mananjadhav Same here with the issues, but I've managed to run it. |
@Uros787 were you able to grab a screenshot? |
Yup, sorry busy week Here is the video. As you can see this is a pretty long chat, and scrolling up and down fast or slow made no issue. Avatars were there Screen.Recording.2022-11-09.at.22.28.05.mov |
As per this issue, we're going to close this out as it has only happened |
can we get the latest updates from firebase on the number of crashes? @trjExpensify |
cool thanks |
This is happening a lot more now: Possibly related to this change – but apparently setting |
Actually, we were just holding it wrong. |
well, I guess in that case, my proposal still stands. I said that we should set it to false on android. And as I can see it is only happening on android |
also, i would recommend we revert this change from the pr you sent @roryabraham . I remember I was testing this particular thing, where I would use index instead of the sequence number and I remember there was some weird behavior. Not sure exactly what but I think some indexes were missing, or being duplicated, or skipped. Not sure exactly sorry |
We ended up going with a different solution altogether:
Slack thread: https://expensify.slack.com/archives/C01GTK53T8Q/p1668199114530519 |
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
1.2.3-0
Stacktraces
Android 1.2.3-0
Internal Firebase Info
💥 DO NOT EDIT THIS SECTION 💥
Crash IDs:
b4b64ee516fd3cc09bb472809f4686ce
Exception:
Error while updating property 'zIndex' of a view managed by: RCTView
The text was updated successfully, but these errors were encountered: