-
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] Identify source and fix crash: com.facebook.react.views.textinput.ReactTextInputShadowNode.createInternalEditText
#9902
Comments
Huh... This is 4 days overdue. Who can take care of this? |
Triggered auto assignment to @dylanexpensify ( |
Update coming today! |
@marcaaron could I get an updated title for this issue so I could get it on Upwork? Thanks man! |
com.facebook.react.views.textinput.ReactTextInputShadowNode.createInternalEditText
com.facebook.react.views.textinput.ReactTextInputShadowNode.createInternalEditText
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
Triggered auto assignment to @chiragsalian ( |
com.facebook.react.views.textinput.ReactTextInputShadowNode.createInternalEditText
com.facebook.react.views.textinput.ReactTextInputShadowNode.createInternalEditText
com.facebook.react.views.textinput.ReactTextInputShadowNode.createInternalEditText
com.facebook.react.views.textinput.ReactTextInputShadowNode.createInternalEditText
doubled |
Proposal Root Cause
This bug is very tricky and one cannot be reproduced simply, so for that I have created one minimal demo In order to check if this is actually resolved
1. Comment or remove this line (clean and rebuild android)
2. Add snippet as mentioned
3. Uninstall old apk and re-run android 4. Live Re-load app a couple of times to reproduce and see a crash (command+s into VS code while being on SidebarLinks) Results Fix With rn_edit_text_material file Crash Without rn_edit_text_material file |
@dhairyasenjaliya thanks for your detailed proposal!
I'm confused. What exactly do we need to change to fix this bug? |
@rushatgabhane this issue is fixed while upgrading the RN version to 0.69 here by adding the rn_edit_text_material file in androidManifest file I also have mentioned steps to reproduce which you check real-time by adding above file actually fixed the issue
|
@dhairyasenjaliya are you suggesting that this issue has been fixed already? And that we need to do nothing? Because the file |
@rushatgabhane yes as you check by just disabling |
Thanks @dhairyasenjaliya I agree with you! But that doesn't explain why there was a crash 10 days ago. RN upgrade was in production much before that Maybe it's because Melvin is scheduled to update the bug weekly?? cc: @chiragsalian |
hm @rushatgabhane I think that's because of the old app version used
|
I believe melvin checks every 15mins if there are any crash updates from firebase. Only if there are any new changes to report then it updates the GH issue. |
@chiragsalian should we double? |
@dylanexpensify we shouldn't double. I agree with @dhairyasenjaliya's investigation and this issue can be closed. |
@dylanexpensify I'm curious if they'll be compensated for their investigation. This is a "Identify source and fix crash" issue. Will it be treated any differently from regular issues where we always require a PR? |
@rushatgabhane sorry I missed this, let me check and report back |
I agree we can close this issue out as the crash did not occur in a while. Also I think we should compensate part of the full price to @dhairyasenjaliya for their investigation and confirming this should be fixed by RN update. |
@dhairyasenjaliya mind applying here? |
applied, thank you, team :) |
Offer sent! |
payment sent, contract ended, job closed! thanks y'all! |
Fatal Exception: java.lang.NullPointerException
Attempt to invoke virtual method 'android.graphics.drawable.Drawable android.graphics.drawable.Drawable$ConstantState.newDrawable(android.content.res.Resources)' on a null object reference
ReactTextInputShadowNode.java line 265
com.facebook.react.views.textinput.ReactTextInputShadowNode.createInternalEditText
Number of Crashes: 6
Device Information
1.1.84-9
Stacktraces
Android 1.1.84-9
Internal Firebase Info
💥 DO NOT EDIT THIS SECTION 💥
Crash IDs:
42000df8ef8cae0122bacbb4c7656d31
Exception:
Attempt to invoke virtual method 'android.graphics.drawable.Drawable android.graphics.drawable.Drawable$ConstantState.newDrawable(android.content.res.Resources)' on a null object reference
The text was updated successfully, but these errors were encountered: