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

Crash: IndexOutOfBoundsException on SuggestionPopUpWindow #833

Open
mzorz opened this issue Jul 26, 2019 · 0 comments
Open

Crash: IndexOutOfBoundsException on SuggestionPopUpWindow #833

mzorz opened this issue Jul 26, 2019 · 0 comments

Comments

@mzorz
Copy link
Contributor

mzorz commented Jul 26, 2019

This was found running the demo app with UI/Application Exerciser Monkey

// Short Msg: java.lang.IndexOutOfBoundsException
// Long Msg: java.lang.IndexOutOfBoundsException: setSpan (88 ... 271) ends beyond length 88
// Build Label: google/sdk_gphone_x86/generic_x86:8.0.0/OSR1.170901.056/4497355:userdebug/dev-keys
// Build Changelist: 4497355
// Build Time: 1513035881000
// java.lang.IndexOutOfBoundsException: setSpan (88 ... 271) ends beyond length 88
// 	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.widget.Editor$SuggestionsPopupWindow.updateSuggestions(Editor.java:3711)
// 	at android.widget.Editor$SuggestionsPopupWindow.show(Editor.java:3583)
// 	at android.widget.Editor.replace(Editor.java:381)
// 	at android.widget.Editor$3.run(Editor.java:2223)
// 	at android.os.Handler.handleCallback(Handler.java:789)
// 	at android.os.Handler.dispatchMessage(Handler.java:98)
// 	at android.os.Looper.loop(Looper.java:164)
// 	at android.app.ActivityThread.main(ActivityThread.java:6541)
// 	at java.lang.reflect.Method.invoke(Native Method)
// 	at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
// 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

on en emulator with Android 8.0, started from scratch with no clipboard data, and full app permissions.

@mzorz mzorz mentioned this issue Aug 2, 2019
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant