java.lang.StringIndexOutOfBoundsException: String index out of range: 0

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

Solutions on the web

via Coderanch by Vidya Ramachandran, 1 year ago
String index out of range: 0
via Oracle Community by 843789, 1 year ago
String index out of range: 0
via Stack Overflow by Ramtin Khalatbari
, 1 year ago
String index out of range: 0
via Google Groups by Wes Barris, 2 years ago
String index out of range: 0
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.StringBuffer.setCharAt(StringBuffer.java:350)
at undefined.Permutations.DoPermute(Permutations.java:36)
at undefined.Permutations.Permute(Permutations.java:20)
at undefined.Permutations.main(Permutations.java:7)

Users with the same issue

2 times, 8 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.