java.lang.IndexOutOfBoundsException: Wrong offset: 5329. Should be in range: [0, 2886]

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via YouTrack by Unknown author, 1 year ago
Wrong offset: 5329. Should be in range: [0, 2886]
via YouTrack by Unknown author, 1 year ago
via GitHub by ultraon
, 6 months ago
Wrong offset: -1. Should be in range: [0, 68833]
via GitHub by mmedic
, 1 month ago
Wrong offset: 487. Should be in range: [0, 482]
java.lang.IndexOutOfBoundsException: Wrong offset: 5329. Should be in range: [0, 2886]
at com.intellij.openapi.editor.impl.LineSet.findLineIndex(LineSet.java:141)
at com.intellij.openapi.editor.impl.DocumentImpl.getLineNumber(DocumentImpl.java:919)
at com.jetbrains.javascript.debugger.ConsolePrinter.setRepeatCount(ConsolePrinter.kt:110)
at com.intellij.chromeConnector.debugger.ChromeDebugProcess$ConsoleMessageManager.doAdd(ChromeDebugProcess.kt:122)
at com.intellij.chromeConnector.debugger.ChromeDebugProcess$ConsoleMessageManager.access$doAdd(ChromeDebugProcess.kt:86)
at com.intellij.chromeConnector.debugger.ChromeDebugProcess$ConsoleMessageManager$alarm$1.run(ChromeDebugProcess.kt:90)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:378)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:227)
at com.intellij.util.concurrency.BoundedTaskExecutor.runFirstTaskThenPollAndRunRest(BoundedTaskExecutor.java:178)
at com.intellij.util.concurrency.BoundedTaskExecutor.access$000(BoundedTaskExecutor.java:40)
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

2 times, 7 months ago
2 times, 9 months ago

Write tip

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