App: [$2000] 💥 Crash 💥 `com.facebook.react.views.textinput.ReactEditText.manageSpans`
Fatal Exception: java.lang.NullPointerException
Attempt to invoke interface method ‘void android.text.SpanWatcher.onSpanRemoved(android.text.Spannable, java.lang.Object, int, int)’ on a null object reference
ReactEditText.java line 597 com.facebook.react.views.textinput.ReactEditText.manageSpans
Number of Crashes: 1
Device Information
- Platforms: Android
- App Versions:
1.1.84-13 - Devices: samsung SM-M526B 12
Stacktraces
Android 1.1.84-13
android.text.SpannableStringBuilder.sendSpanRemoved (SpannableStringBuilder.java:1307)
android.text.SpannableStringBuilder.removeSpan (SpannableStringBuilder.java:512)
android.text.SpannableStringBuilder.removeSpan (SpannableStringBuilder.java:812)
android.text.SpannableStringBuilder.removeSpan (SpannableStringBuilder.java:800)
com.facebook.react.views.textinput.ReactEditText.manageSpans (ReactEditText.java:597)
com.facebook.react.views.textinput.ReactEditText.maybeSetText (ReactEditText.java:550)
com.facebook.react.views.textinput.ReactEditText.maybeSetTextFromState (ReactEditText.java:513)
com.facebook.react.views.textinput.ReactTextInputManager.updateExtraData (ReactTextInputManager.java:354)
com.facebook.react.views.textinput.ReactTextInputManager.updateExtraData (ReactTextInputManager.java:81)
com.facebook.react.uimanager.NativeViewHierarchyManager.updateViewExtraData (NativeViewHierarchyManager.java:157)
com.facebook.react.uimanager.UIViewOperationQueue$UpdateViewExtraData.execute (UIViewOperationQueue.java:248)
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:1106)
android.view.Choreographer.doCallbacks (Choreographer.java:866)
android.view.Choreographer.doFrame (Choreographer.java:792)
android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:1092)
android.os.Handler.handleCallback (Handler.java:938)
android.os.Handler.dispatchMessage (Handler.java:99)
android.os.Looper.loopOnce (Looper.java:226)
android.os.Looper.loop (Looper.java:313)
android.app.ActivityThread.main (ActivityThread.java:8663)
java.lang.reflect.Method.invoke
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:567)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1135)
Internal Firebase Info
💥 DO NOT EDIT THIS SECTION 💥
Crash IDs: 865f02c45d668a312947540d14a2cdd4
Exception: Attempt to invoke interface method 'void android.text.SpanWatcher.onSpanRemoved(android.text.Spannable, java.lang.Object, int, int)' on a null object reference
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (13 by maintainers)
I agree, thanks for the bump, we can see there is just on crash and on old version of the app. I will close this one out @deetergp @MitchExpensify
Sounds good! The bot can always reopen the bug if there’s the crash repeats.
Let’s double it once more. I’m loathe to go much further though, since it’s only had 1 crash and was on an older version of the app. It could be that it has been addressed and can’t be recreated anymore.
I think it’s probably fine the way it is @MitchExpensify.