java.lang.IndexOutOfBoundsException: getChars (0 ... 255) ends beyond length 0

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 GitHub by door43app
, 1 year ago
getChars (0 ... 255) ends beyond length 0
via GitHub by door43app
, 3 months ago
getChars (0 ... 2) ends beyond length 0
via GitHub by door43app
, 8 months ago
getChars (0 ... 154) ends beyond length 0
via GitHub by door43app
, 3 months ago
getChars (0 ... 1) ends beyond length 0
via GitHub by door43app
, 3 months ago
getChars (0 ... 2) ends beyond length 0
via GitHub by door43app
, 11 months ago
getChars (0 ... 2) ends beyond length 0
java.lang.IndexOutOfBoundsException: getChars (0 ... 255) ends beyond length 0
at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1016)
at android.text.SpannableStringBuilder.getChars(SpannableStringBuilder.java:913)
at android.text.TextUtils.getChars(TextUtils.java:82)
at android.text.SpannableStringBuilder.(SpannableStringBuilder.java:61)
at android.text.SpannableStringBuilder.subSequence(SpannableStringBuilder.java:905)
at com.door43.translationstudio.newui.translate.ReviewModeAdapter$23$1.onDrag(ReviewModeAdapter.java:1420)
at android.view.View.dispatchDragEvent(View.java:17624)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1333)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1175)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1333)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1175)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1333)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1175)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1333)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1175)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1333)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1175)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1333)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1175)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1333)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1175)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1333)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1175)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1333)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1175)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1333)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1175)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1333)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1175)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1333)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1175)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1333)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1175)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1333)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1175)
at android.view.ViewRootImpl.handleDragEvent(ViewRootImpl.java:5244)
at android.view.ViewRootImpl.access$900(ViewRootImpl.java:115)
at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3456)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5590)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)

Users with the same issue

Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 2 weeks 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.