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

GitHub | Creeperface01 | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    disconnect bug

    GitHub | 6 months ago | Creeperface01
    java.lang.StringIndexOutOfBoundsException: String index out of range: 2
  2. 0

    GitHub comment 13#245257132

    GitHub | 6 months ago | Creeperface01
    java.lang.StringIndexOutOfBoundsException: String index out of range: 2
  3. 0

    NPE in Logger Implementation (jLine unsupported Terminal)

    GitHub | 6 months ago | geNAZt
    java.lang.StringIndexOutOfBoundsException: String index out of range: 2
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

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

    GitHub | 4 months ago | CreeperFaceidk
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.StringIndexOutOfBoundsException

      String index out of range: 2

      at java.lang.AbstractStringBuilder.charAt()
    2. Java RT
      StringBuilder.charAt
      1. java.lang.AbstractStringBuilder.charAt(AbstractStringBuilder.java:210)
      2. java.lang.StringBuilder.charAt(StringBuilder.java:76)
      2 frames
    3. SBT
      ConsoleReader.resetPromptLine
      1. jline.console.ConsoleReader.wcwidth(ConsoleReader.java:545)
      2. jline.console.ConsoleReader.backspace(ConsoleReader.java:1050)
      3. jline.console.ConsoleReader.backspaceAll(ConsoleReader.java:1036)
      4. jline.console.ConsoleReader.resetPromptLine(ConsoleReader.java:3859)
      4 frames
    4. cn.nukkit.command
      CommandReader.unstashLine
      1. cn.nukkit.command.CommandReader.unstashLine(CommandReader.java:102)
      1 frame
    5. cn.nukkit.utils
      MainLogger.info
      1. cn.nukkit.utils.MainLogger.send(MainLogger.java:155)
      2. cn.nukkit.utils.MainLogger.send(MainLogger.java:141)
      3. cn.nukkit.utils.MainLogger.info(MainLogger.java:87)
      3 frames
    6. cn.nukkit
      Player.close
      1. cn.nukkit.Player.close(Player.java:3292)
      2. cn.nukkit.Player.close(Player.java:3230)
      2 frames
    7. org.itxtech.synapseapi
      SynapseAPI$Ticker.run
      1. org.itxtech.synapseapi.SynapseAPI.handleDataPacket(SynapseAPI.java:362)
      2. org.itxtech.synapseapi.network.SynapseInterface.handlePacket(SynapseInterface.java:79)
      3. org.itxtech.synapseapi.network.SynapseInterface.process(SynapseInterface.java:53)
      4. org.itxtech.synapseapi.SynapseAPI.tick(SynapseAPI.java:251)
      5. org.itxtech.synapseapi.SynapseAPI$Ticker.run(SynapseAPI.java:221)
      5 frames
    8. cn.nukkit.scheduler
      ServerScheduler.mainThreadHeartbeat
      1. cn.nukkit.scheduler.TaskHandler.run(TaskHandler.java:98)
      2. cn.nukkit.scheduler.ServerScheduler.mainThreadHeartbeat(ServerScheduler.java:197)
      2 frames
    9. cn.nukkit
      Nukkit.main
      1. cn.nukkit.Server.tick(Server.java:975)
      2. cn.nukkit.Server.tickProcessor(Server.java:776)
      3. cn.nukkit.Server.start(Server.java:756)
      4. cn.nukkit.Server.<init>(Server.java:452)
      5. cn.nukkit.Nukkit.main(Nukkit.java:65)
      5 frames