java.lang.StringIndexOutOfBoundsException: String index out of range: 1

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 Oracle Community by 375a22fe-c47f-48ec-a588-db921e673f28, 1 year ago
via Stack Overflow by Rhain
, 1 year ago
via GitHub by eliac
, 2 years ago
via Stack Overflow by Austin D
, 1 year ago
via GitHub by davidtinker
, 9 months ago
java.lang.StringIndexOutOfBoundsException: String index out of range: 1
at java.lang.AbstractStringBuilder.substring(AbstractStringBuilder.java:906)
at java.lang.StringBuilder.substring(StringBuilder.java:76)
at javafx.scene.control.TextField$TextFieldContent.get(TextField.java:79)
at javafx.scene.control.TextInputControl.getText(TextInputControl.java:454)
at javafx.scene.control.TextInputControl.updateContent(TextInputControl.java:564)
at javafx.scene.control.TextInputControl.replaceText(TextInputControl.java:548)
at javafx.scene.control.TextInputControl.replaceText(TextInputControl.java:510)
at com.sun.javafx.scene.control.skin.TextInputControlSkin.handleInputMethodEvent(TextInputControlSkin.java:511)

Users with the same issue

Once, 2 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, 2 years ago

Write tip

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