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


Solutions on the web

Solution icon of coderanch
via Coderanch by Tushar Goel, 1 year ago
String index out of range: -1

Solution icon of github
String index out of range: -1

Solution icon of jira
via QOS.ch JIRA by Stuart Douglas, 1 year ago
String index out of range: -1

Solution icon of stackoverflow
String index out of range: 1

Solution icon of stackoverflow
via Stack Overflow by Titir
, 6 months ago
String index out of range: -1

Solution icon of coderanch
via Coderanch by Migrated From Jforum.net, 9 months ago
String index out of range: -1

Solution icon of stackoverflow
String index out of range: -1

Solution icon of stackoverflow
String index out of range: -1

Solution icon of web
String index out of range: -1

Solution icon of github
String index out of range: -1

Stack trace

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
	at java.lang.AbstractStringBuilder.substring(AbstractStringBuilder.java:877)
	at java.lang.StringBuilder.substring(StringBuilder.java:72)
	at fault_management.AlarmProcessor.processAlarm(AlarmProcessor.java:153)
	at fault_management.AlarmProcessor.startAlarmProcessing(AlarmProcessor.java:86)
	at fault_management.AlarmService$2.run(AlarmService.java:96)
	at java.lang.Thread.run(Thread.java:679)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

6 times, 2 weeks ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago