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.

  2. ,
    via GitHub by Omertron

    You need to make sure that capitalisation of the case for the plugin in the properties file is exactly: "AllocinePlugin" and not "allocineplugin"

Solutions on the web

via Oracle Community by 3004, 1 year ago
String index out of range: -1
via Stack Overflow by justCause7682mrv
, 2 years ago
via Stack Overflow by diy900
, 2 years ago
String index out of range: -1
via Eclipse Bugzilla by Jason.M.Fox, 1 year ago
java.lang.StringIndexOutOfBoundsException: String index out of range:
-1	at java.lang.String.substring(String.java:1519)	at com.tienda.order.PaymentAction.sendStatusQuery(PaymentAction.java:565)	at com.tienda.order.PaymentAction.processBankResponse(PaymentAction.java:216)	at com.tienda.order.PaymentAction.service(PaymentAction.java:150)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)