String index out of range: 2

Solutions on the web4508

  • String index out of range: -2
  • String index out of range: -2
  • via Netbeans Bugzilla by kseptor, 3 weeks ago
    String index out of range: 2
  • Stack trace

    • java.lang.StringIndexOutOfBoundsException: String index out of range: 2 at java.lang.AbstractStringBuilder.charAt( at java.lang.StringBuilder.charAt( at jline.console.ConsoleReader.wcwidth( at jline.console.ConsoleReader.backspace( at jline.console.ConsoleReader.backspaceAll( at jline.console.ConsoleReader.resetPromptLine( at cn.nukkit.command.CommandReader.unstashLine( at cn.nukkit.utils.MainLogger.send( at cn.nukkit.utils.MainLogger.send( at at cn.nukkit.Player.close( at cn.nukkit.Player.close( at org.itxtech.synapseapi.SynapseAPI.handleDataPacket( at at at org.itxtech.synapseapi.SynapseAPI.tick( at org.itxtech.synapseapi.SynapseAPI$ at at cn.nukkit.scheduler.ServerScheduler.mainThreadHeartbeat( at cn.nukkit.Server.tick( at cn.nukkit.Server.tickProcessor( at cn.nukkit.Server.start( at cn.nukkit.Server.<init>( at cn.nukkit.Nukkit.main(

    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