java.lang.StringIndexOutOfBoundsException

String index out of range: 2

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web4509

  • via GitHub by iBotPeaches
    , 1 year ago
    String index out of range: 2
  • String index out of range: 2
  • via GitHub by Creeperface01
    , 10 months ago
    String index out of range: 2
  • Stack trace

    • java.lang.StringIndexOutOfBoundsException: String index out of range: 2 at java.lang.AbstractStringBuilder.charAt(AbstractStringBuilder.java:237) at java.lang.StringBuilder.charAt(StringBuilder.java:76) at jline.console.ConsoleReader.wcwidth(ConsoleReader.java:545) at jline.console.ConsoleReader.backspace(ConsoleReader.java:1050) at jline.console.ConsoleReader.backspaceAll(ConsoleReader.java:1036) at jline.console.ConsoleReader.resetPromptLine(ConsoleReader.java:3859) at cn.nukkit.command.CommandReader.unstashLine(CommandReader.java:104) at cn.nukkit.utils.MainLogger.send(MainLogger.java:155) at cn.nukkit.utils.MainLogger.send(MainLogger.java:141) at cn.nukkit.utils.MainLogger.info(MainLogger.java:87) at cn.nukkit.level.Level.<init>(Level.java:224) at cn.nukkit.Server.loadLevel(Server.java:1551)

    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

    Unknown user
    Once, 1 year ago