-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
Awaiting PaymentAuto-added when associated PR is deployed to productionAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.Something is broken. Auto assigns a BugZero manager.DailyKSv2KSv2ExternalAdded to denote the issue can be worked on by a contributorAdded to denote the issue can be worked on by a contributor
Description
Problem
We have the following crash on Firebase
Fatal Exception: java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.String java.lang.CharSequence.toString()' on a null object reference
at com.facebook.react.views.textinput.ReactEditText.onTextContextMenuItem(ReactEditText.java:371)
at android.widget.Editor$TextActionModeCallback.onActionItemClicked(Editor.java:4512)
at com.android.internal.policy.DecorView$ActionModeCallback2Wrapper.onActionItemClicked(DecorView.java:3076)
at miuix.toolbar.FloatingActionModeHelper$ActionModeCallback2Wrapper.onActionItemClicked(FloatingActionModeHelper.java:51)
at miuix.toolbar.FloatingActionMode$3.onMenuItemSelected(FloatingActionMode.java:115)
at miuix.toolbar.internal.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:796)
at miuix.toolbar.internal.menu.MenuItemImpl.invoke(MenuItemImpl.java:147)
at miuix.toolbar.internal.menu.MenuBuilder.performItemAction(MenuBuilder.java:938)
at miuix.toolbar.FloatingActionMode$4.onMenuItemClick(FloatingActionMode.java:123)
at miuix.toolbar.internal.FloatingToolbar$3.onClick(FloatingToolbar.java:197)
at android.view.View.performClick(View.java:7560)
at android.view.View.performClickInternal(View.java:7533)
at android.view.View.-$$Nest$mperformClickInternal()
at android.view.View$PerformClick.run(View.java:29756)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:211)
at android.os.Looper.loop(Looper.java:300)
at android.app.ActivityThread.main(ActivityThread.java:8232)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1028)
Why is this important?
Fixes crashes
Solution
The crash seems to come from these two lines:
| + data = itemUri.toString(); |
| + data = item.getText().toString(); |
Let's fix it
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~021946323008620095185
- Upwork Job ID: 1946323008620095185
- Last Price Increase: 2025-07-18
- Automatic offers:
- daledah | Contributor | 108142162
Issue Owner
Current Issue Owner: @Issue Owner
Current Issue Owner: @garrettmknightIssue Owner
Current Issue Owner: @garrettmknightReactions are currently unavailable
Metadata
Metadata
Labels
Awaiting PaymentAuto-added when associated PR is deployed to productionAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.Something is broken. Auto assigns a BugZero manager.DailyKSv2KSv2ExternalAdded to denote the issue can be worked on by a contributorAdded to denote the issue can be worked on by a contributor