java.lang.IndexOutOfBoundsException: replace (31 ... 28) has end before start

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via mozilla.com by Unknown author, 11 months ago
replace (31 ... 28) has end before start
via mozilla.com by Unknown author, 11 months ago
replace (8 ... 6) has end before start
via mozilla.com by Unknown author, 1 year ago
replace (936 ... 935) has end before start
via Stack Overflow by eyecreate
, 2 years ago
getChars (4255 ... 4211) has end before start
via GitHub by tylerjroach
, 8 months ago
replace (-1 ... -1) starts before 0
via GitHub by tonyr59h
, 1 year ago
replace (330 ... 330) ends beyond length 322
java.lang.IndexOutOfBoundsException: replace (31 ... 28) has end before start
at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java)

Users with the same issue

Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.