java.lang.StringIndexOutOfBoundsException: String index out of range: -4
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
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.
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 GitHub by robertnosburn
, 1 year agovia Netbeans Bugzilla by mgrebac, 1 year ago
via Oracle Community by 3004, 1 year ago
via verydemo.com by Unknown author, 2 years ago
via Eclipse Bugzilla by moty, 1 year ago
via Eclipse Bugzilla by igor, 1 year ago
java.lang.StringIndexOutOfBoundsException: String index out of range: -4
at java.lang.String.substring(String.java:1967)
at com.netflix.eureka.aws.EIPManager.getEIPsFromServiceUrls(EIPManager.java:342)
at com.netflix.eureka.aws.EIPManager.getEIPsForZoneFromConfig(EIPManager.java:322)
at com.netflix.eureka.aws.EIPManager.getCandidateEIPs(EIPManager.java:304)
at com.netflix.eureka.aws.EIPManager.isEIPBound(EIPManager.java:157)
at com.netflix.eureka.aws.EIPManager$EIPBindingTask.run(EIPManager.java:412)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)