java.lang.StringIndexOutOfBoundsException

tip

Thrown by String methods to indicate that an index is either negative or greater than the size of the string. For some methods such as the charAt method, this exception also is thrown when the index is equal to the size of the string.


rafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • GitHub comment 25#244321381
    via GitHub by mibby
    ,
  • new task broken on windows
    via GitHub by aadrian
    ,
  • Converting to a portable file path
    via Stack Overflow by Lavneesh
    ,
  • How should I report?
    via by Michael Schmitz,
  • GitHub comment 122#47240499
    via GitHub by slhad
    ,
    • java.lang.StringIndexOutOfBoundsException: String index out of range: 16 at java.lang.String.charAt(String.java:658)[?:1.8.0_92] at java.lang.Character.codePointAt(Character.java:4866)[?:1.8.0_92] at java.util.regex.Pattern$CIBackRef.match(Pattern.java:4946)[?:1.8.0_92] at java.util.regex.Pattern$Curly.match0(Pattern.java:4260)[?:1.8.0_92] at java.util.regex.Pattern$Curly.match(Pattern.java:4234)[?:1.8.0_92] at java.util.regex.Pattern$CIBackRef.match(Pattern.java:4965)[?:1.8.0_92] at java.util.regex.Pattern$CIBackRef.match(Pattern.java:4965)[?:1.8.0_92] at java.util.regex.Pattern$CIBackRef.match(Pattern.java:4965)[?:1.8.0_92] at java.util.regex.Pattern$GroupHead.match(Pattern.java:4658)[?:1.8.0_92] at java.util.regex.Pattern$Pos.match(Pattern.java:5060)[?:1.8.0_92] at java.util.regex.Pattern$GroupTail.match(Pattern.java:4717)[?:1.8.0_92] at java.util.regex.Pattern$CharProperty.match(Pattern.java:3777)[?:1.8.0_92] at java.util.regex.Pattern$GroupHead.match(Pattern.java:4658)[?:1.8.0_92] at java.util.regex.Pattern$Start.match(Pattern.java:3461)[?:1.8.0_92] at java.util.regex.Matcher.search(Matcher.java:1248)[?:1.8.0_92] at java.util.regex.Matcher.find(Matcher.java:637)[?:1.8.0_92] at java.util.regex.Matcher.replaceAll(Matcher.java:951)[?:1.8.0_92] at com.pwn9.filter.util.SimpleString.replaceText(SimpleString.java:45)[?:?] at com.pwn9.filter.engine.rules.action.core.Replace.execute(Replace.java:54)[?:?] at com.pwn9.filter.engine.rules.Rule.apply(Rule.java:210)[?:?] at com.pwn9.filter.engine.rules.chain.RuleChain.apply(RuleChain.java:100)[?:?] at com.pwn9.filter.engine.rules.chain.RuleChain.execute(RuleChain.java:105)[?:?] at com.pwn9.filter.bukkit.listener.PwnFilterPlayerListener.onPlayerChat(PwnFilterPlayerListener.java:101)[?:?] at com.pwn9.filter.bukkit.listener.PwnFilterPlayerListener.lambda$activate$29(PwnFilterPlayerListener.java:133)[?:?] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:74)[patched_1.10.2.jar:git-Paper-809] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)[patched_1.10.2.jar:git-Paper-809] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517)[patched_1.10.2.jar:git-Paper-809] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:499)[patched_1.10.2.jar:git-Paper-809] at net.minecraft.server.v1_10_R1.PlayerConnection.chat(PlayerConnection.java:1304)[patched_1.10.2.jar:git-Paper-809] at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1219)[patched_1.10.2.jar:git-Paper-809] at net.minecraft.server.v1_10_R1.PacketPlayInChat$1.run(PacketPlayInChat.java:39)[patched_1.10.2.jar:git-Paper-809] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[?:1.8.0_92] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[?:1.8.0_92] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_92] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_92] at java.lang.Thread.run(Thread.java:745)[?:1.8.0_92]

    Users with the same issue

    tyson925
    6 times, last one,
    poroszd
    12 times, last one,
    olle.hallin
    1 times, last one,
    linxiaolong
    1 times, last one,
    jokester
    1 times, last one,
    27 more bugmates