java.lang.StringIndexOutOfBoundsException

String index out of range: 0

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4

  • via Unknown by Vidya Ramachandran,
  • via Unknown by 843789,
  • via Unknown by Wes Barris,
  • Stack trace

    • java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.StringBuffer.setCharAt(StringBuffer.java:350) at Permutations.DoPermute(Permutations.java:36) at Permutations.Permute(Permutations.java:20) at Permutations.main(Permutations.java:7)

    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

    DavidDavid
    2 times, last one