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

Samebug tips

  1. ,
    Expert tip

    Thrown by String methods to indicate that an index is either negative or greater than the size of the string. For some methods such as the charAt method, this exception also is thrown when the index is equal to the size of the string.

  2. ,
    via oracle.com by Unknown author

    Thrown by String methods to indicate that an index is either negative or greater than the size of the string. For some methods such as the charAt method, this exception also is thrown when the index is equal to the size of the string.

Solutions on the web

via GitHub by lemonboston
, 1 year ago
via openvpn-als by marknyquist
, 2 years ago
via Oracle Community by 807603, 6 months ago
via JIRA by Vitaliy Filippov, 2 years ago
via Stack Overflow by binit
, 2 years ago
via Stack Overflow by BigKidPlayground
, 3 weeks ago
String index out of range: 9
java.lang.StringIndexOutOfBoundsException: length=5; index=5	at java.lang.String.charAt(Native Method)	at org.dmfs.tasks.model.adapters.DescriptionStringFieldAdapter.extractDescription(DescriptionStringFieldAdapter.java:114)	at org.dmfs.tasks.model.adapters.DescriptionStringFieldAdapter.get(DescriptionStringFieldAdapter.java:62)	at org.dmfs.tasks.widget.TextFieldEditor.onContentChanged(TextFieldEditor.java:134)	at org.dmfs.tasks.model.ContentSet.notifyUpdateListeners(ContentSet.java:601)	at org.dmfs.tasks.model.ContentSet.put(ContentSet.java:438)	at org.dmfs.tasks.model.adapters.StringFieldAdapter.set(StringFieldAdapter.java:112)	at org.dmfs.tasks.model.adapters.DescriptionStringFieldAdapter.set(DescriptionStringFieldAdapter.java:88)	at org.dmfs.tasks.widget.TextFieldEditor.updateValues(TextFieldEditor.java:123)	at org.dmfs.tasks.widget.BaseTaskView.updateValues(BaseTaskView.java:113)	at org.dmfs.tasks.widget.BaseTaskView.updateValues(BaseTaskView.java:104)	at org.dmfs.tasks.EditTaskFragment.saveAndExit(EditTaskFragment.java:726)	at org.dmfs.tasks.EditTaskFragment.onOptionsItemSelected(EditTaskFragment.java:520)	at android.support.v4.app.Fragment.performOptionsItemSelected(Fragment.java:2070)	at android.support.v4.app.FragmentManagerImpl.dispatchOptionsItemSelected(FragmentManager.java:2159)	at android.support.v4.app.FragmentController.dispatchOptionsItemSelected(FragmentController.java:295)	at android.support.v4.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:367)	at android.support.v7.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:147)	at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:100)	at android.support.v7.app.AppCompatDelegateImplV7.onMenuItemSelected(AppCompatDelegateImplV7.java:620)