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 rhshah
, 2 years ago
String index out of range: -1
via GitHub by mortunco
, 1 year ago
String index out of range: -1
via GitHub by ltfang-bina
, 1 year ago
String index out of range: 101
java.lang.StringIndexOutOfBoundsException: String index out of range: 1	at java.lang.String.charAt(String.java:658)	at com.astrazeneca.vardict.VarDict.parseSAM(VarDict.java:2221)	at com.astrazeneca.vardict.VarDict.toVars(VarDict.java:2552)	at com.astrazeneca.vardict.VarDict.vardictNotParallel(VarDict.java:301)	at com.astrazeneca.vardict.VarDict.nonAmpVardict(VarDict.java:254)	at com.astrazeneca.vardict.VarDict.start(VarDict.java:65)	at com.astrazeneca.vardict.Main.run(Main.java:134)	at com.astrazeneca.vardict.Main.main(Main.java:25)