java.lang.IndexOutOfBoundsException

setSpan (39 ... 41) ends beyond length 40


Solutions on the web563

Solution icon of web
via mozilla.com by Unknown author, 7 months ago
setSpan (39 ... 41) ends beyond length 40

Solution icon of github
via GitHub by theck13
, 9 months ago
setSpan (36 ... 44) ends beyond length 40

Solution icon of web
via 4pda.ru by Unknown author, 1 year ago
setSpan (39 ... 98) ends beyond length 59

Solution icon of github
via GitHub by theck13
, 4 months ago
setSpan (36 ... 44) ends beyond length 40

Solution icon of github
via GitHub by Alexendoo
, 1 year ago
setSpan (0 ... 1) ends beyond length 0

Solution icon of github
setSpan (4 ... 6) ends beyond length 5

Solution icon of github
setSpan (3 ... 3) ends beyond length 0

Solution icon of github
setSpan (4 ... 16) ends beyond length 15

Solution icon of github
setSpan (4 ... 6) ends beyond length 5

Solution icon of github
setSpan (3 ... 3) ends beyond length 2

Stack trace

  • java.lang.IndexOutOfBoundsException: setSpan (39 ... 41) ends beyond length 40 at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
9 more bugmates