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

YouTrack | 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

    Can't debug the project generated by angular-cli@webpack

    YouTrack | 6 months ago
    java.lang.IndexOutOfBoundsException: Wrong offset: 5329. Should be in range: [0, 2886]

    Root Cause Analysis

    1. java.lang.IndexOutOfBoundsException

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

      at com.intellij.openapi.editor.impl.LineSet.findLineIndex()
    2. IDEA
      ConsolePrinter.add
      1. com.intellij.openapi.editor.impl.LineSet.findLineIndex(LineSet.java:141)
      2. com.intellij.openapi.editor.impl.DocumentImpl.getLineNumber(DocumentImpl.java:919)
      3. com.jetbrains.javascript.debugger.ConsolePrinter.setRepeatCount(ConsolePrinter.kt:110)
      4. com.jetbrains.javascript.debugger.ConsolePrinter.add(ConsolePrinter.kt:95)
      4 frames
    3. com.intellij.chromeConnector
      ChromeDebugProcess$ConsoleMessageManager$alarm$1.run
      1. com.intellij.chromeConnector.debugger.ChromeDebugProcess$ConsoleMessageManager.doAdd(ChromeDebugProcess.kt:122)
      2. com.intellij.chromeConnector.debugger.ChromeDebugProcess$ConsoleMessageManager.access$doAdd(ChromeDebugProcess.kt:86)
      3. com.intellij.chromeConnector.debugger.ChromeDebugProcess$ConsoleMessageManager$alarm$1.run(ChromeDebugProcess.kt:90)
      3 frames
    4. Openapi
      QueueProcessor.runSafely
      1. com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:222)
      1 frame
    5. IDEA
      Alarm$Request.run
      1. com.intellij.util.Alarm$Request$1.run(Alarm.java:378)
      2. com.intellij.util.Alarm$Request.run(Alarm.java:389)
      2 frames
    6. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2 frames
    7. Openapi
      BoundedTaskExecutor$2.run
      1. com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:227)
      2. com.intellij.util.concurrency.BoundedTaskExecutor.runFirstTaskThenPollAndRunRest(BoundedTaskExecutor.java:178)
      3. com.intellij.util.concurrency.BoundedTaskExecutor.access$000(BoundedTaskExecutor.java:40)
      4. com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:197)
      4 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames