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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.AbstractStringBuilder.charAt(AbstractStringBuilder.java:210)
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:108)
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 net.easecation.codefuncore.runnable.player.locale.GetPlayerLocaleThread.getLocale(GetPlayerLocaleThread.java:106)
at net.easecation.codefuncore.runnable.player.locale.GetPlayerLocaleThread.onRun(GetPlayerLocaleThread.java:68)
at cn.nukkit.scheduler.AsyncTask.run(AsyncTask.java:23)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.