Skip to content
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

JSApplicationIllegalArgumentException: Error while updating property 'text' of a view managed by: RCTAztecView #10385

Closed
sentry-io bot opened this issue Aug 13, 2019 · 9 comments

Comments

@sentry-io
Copy link

sentry-io bot commented Aug 13, 2019

Sentry Issue: https://sentry.io/share/issue/76c5639d989f4afaaf79698db1dc60ef/

IndexOutOfBoundsException: setSpan (8 ... 8) ends beyond length 7
    at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1309)
    at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:680)
    at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:672)
    at android.text.Selection.setSelection(Selection.java:76)
    at android.widget.EditText.setSelection(EditText.java:143)
...
(28 additional frame(s) were not displayed)

InvocationTargetException: None
    at java.lang.reflect.Method.invoke(Method.java)
    at com.facebook.react.uimanager.ViewManagersPropertyCache$PropSetter.updateViewProp(ViewManagersPropertyCache.java:83)
    at com.facebook.react.uimanager.ViewManagerPropertyUpdater$FallbackViewManagerSetter.setProperty(ViewManagerPropertyUpdater.java:131)
    at com.facebook.react.uimanager.ViewManagerPropertyUpdater.updateProps(ViewManagerPropertyUpdater.java:51)
    at com.facebook.react.uimanager.ViewManager.updateProperties(ViewManager.java:46)
...
(20 additional frame(s) were not displayed)

JSApplicationIllegalArgumentException: Error while updating property 'text' of a view managed by: RCTAztecView
    at com.facebook.react.uimanager.ViewManagersPropertyCache$PropSetter.updateViewProp(ViewManagersPropertyCache.java:98)
    at com.facebook.react.uimanager.ViewManagerPropertyUpdater$FallbackViewManagerSetter.setProperty(ViewManagerPropertyUpdater.java:131)
    at com.facebook.react.uimanager.ViewManagerPropertyUpdater.updateProps(ViewManagerPropertyUpdater.java:51)
    at com.facebook.react.uimanager.ViewManager.updateProperties(ViewManager.java:46)
    at com.facebook.react.uimanager.NativeViewHierarchyManager.updateProperties(NativeViewHierarchyManager.java:139)
...
(19 additional frame(s) were not displayed)

Error while updating property 'text' of a view managed by: RCTAztecView
@sentry-io
Copy link
Author

sentry-io bot commented Sep 18, 2019

Sentry issue: WORDPRESS-ANDROID-35

@designsimply
Copy link
Contributor

designsimply commented Oct 10, 2019

90-day impact: ~14 per day
Users affected in the last 90 days: 724
https://sentry.io/share/issue/3b8e88ac974d447aaa8cba95691851cb/

@designsimply
Copy link
Contributor

This crash was reported in mobile support:

I do paste in quotes and so forth and when I try to Paste in text, almost every time, WordPress crashes. That is annoying, because I then have to flip back and forth, manually typing them in, which means it becomes too much work.

Note: copy/paste text are small snippets from news websites or from news apps such as SmartNews or Palabre.

  • App version: 13.5
  • OS: Android 7.0
  • Device: LG V20 (H910)
  • Type of site: WordPress.com Free

(internal references: 2502217-zen, p4a5px-2sL-p2, https://sentry.io/share/issue/3bb5e070852a41dd82ee62ee0c938308/)

@designsimply
Copy link
Contributor

Users affected in the last 90 days: 427
https://sentry.io/share/issue/3b8e88ac974d447aaa8cba95691851cb/

@designsimply
Copy link
Contributor

Users affected in the last 90 days: 335
https://sentry.io/share/issue/136cee38cb79491db456071ee0c686a0/

@designsimply
Copy link
Contributor

Users affected in the last 90 days: 782
https://sentry.io/share/issue/136cee38cb79491db456071ee0c686a0/

@designsimply
Copy link
Contributor

11 events have been tracked for this crash in 14.6.1 since it was released 9d ago on Apr 22.

Users affected in the last 90 days: 1,400
https://sentry.io/share/issue/136cee38cb79491db456071ee0c686a0/

@designsimply
Copy link
Contributor

My apologies, but this one got a bit mixed up after the bot added a link for WORDPRESS-ANDROID-35 and now I'm noticing that error doesn't match with the original one.

Let's try this again!

A search for "Error while updating property 'text' of a view managed by: RCTAztecView" in Sentry returns WORDPRESS-ANDROID-1N as the top result and that crash is already being tracked in #9832.

Furthermore, WORDPRESS-ANDROID-Z was reported at #10227 and fixed in WordPress/gutenberg#20860. Props @cameronvoell. 🎉

@designsimply
Copy link
Contributor

Closing in favor of #9832.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants