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

YouTrack | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

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

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

    "Mcconvert experience" generates an out of bounds exception

    GitHub | 1 year ago | BornToDoStuff
    java.lang.IndexOutOfBoundsException: Index: 0 04.03 20:52:58 [Server] WARN [mcMMO] Task #447 for mcMMO v1.5.04-SNAPSHOT-b92 generated an exception **command used:** /mcconvert experience exponential The variable Exp_Modifier was set to 2.875 ingame there is a message given: Starting conversion from UNKNOWN to EXPONENTIAL converting to LINEAR was also tried but it appears that it is unable to determine what type it is starting from in the first place. **Full Error Log:**
  3. 0

    Did Find in Files. Results showed a matching node. Clicking it caused an exception

    Netbeans Bugzilla | 1 decade ago | martyd2
    java.lang.IndexOutOfBoundsException: Invalid line index=42 >= lineCount=39 at org.netbeans.editor.LineRootElement.getElement(LineRootElement.java:54) at org.openide.text.NbDocument.findLineOffset(NbDocument.java:124) at org.openide.text.DocumentLine$Set.getOriginal(DocumentLine.java:743) at org.netbeans.modules.debugger.jpda.LineBreakpoint.set(LineBreakpoint.java:524) at org.netbeans.modules.debugger.jpda.LineBreakpoint.set(LineBreakpoint.java:477) at org.netbeans.modules.debugger.jpda.LineBreakpoint.exec(LineBreakpoint.java:379) at org.netbeans.modules.debugger.jpda.util.Operator$1.run(Operator.java:107)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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