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. ,

    Thrown by the methods of the String class to indicate that an index is either negative, or greater than the size of the string itself. You are probably using the wrong index when accessing substring of the array.

Solutions on the web

via Atlassian JIRA by Gurleen Anand [Atlassian], 1 year ago
via jakarta-regexp-user by Celestino Bellone, 2 years ago
String index out of range: -14
via Atlassian JIRA by Gurleen Anand [Atlassian], 2 years ago
via Oracle Community by 618292, 2 years ago
String index out of range: -1 14:32:22,250 ERROR [STDERR]
Empty query.