java.lang.IndexOutOfBoundsException: Wrong offset: -1. Should be in range: [0, 228]

GitHub | mraof | 2 months ago
  1. 0

    Index out of bounds exception when typing # at beginning of file

    GitHub | 2 months ago | mraof
    java.lang.IndexOutOfBoundsException: Wrong offset: -1. Should be in range: [0, 228]
  2. 0

    java.lang.IndexOutOfBoundsException: Wrong offset: 76

    YouTrack | 9 years ago
    java.lang.IndexOutOfBoundsException: Wrong offset: 76
  3. 0

    Smarty: Exeption is thrown on completion of literal tag

    YouTrack | 3 years ago
    java.lang.IndexOutOfBoundsException: Wrong offset: -1. Should be in range: [0, 19]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Shelve changes with SVN gives me an exception

    YouTrack | 7 years ago
    java.lang.IndexOutOfBoundsException: Wrong offset: 1770. Should be in range: [0, 1596]
  6. 0

    IOOBE in editor after VCS rollback

    YouTrack | 7 years ago
    java.lang.IndexOutOfBoundsException: Wrong offset: 2840. Should be in range: [0, 2780]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IndexOutOfBoundsException

      Wrong offset: -1. Should be in range: [0, 228]

      at com.intellij.openapi.editor.ex.util.SegmentArray.offsetOutOfRange()
    2. IDEA
      LexerEditorHighlighter.createIterator
      1. com.intellij.openapi.editor.ex.util.SegmentArray.offsetOutOfRange(SegmentArray.java:92)
      2. com.intellij.openapi.editor.ex.util.SegmentArray.findSegmentIndex(SegmentArray.java:106)
      3. com.intellij.openapi.editor.ex.util.LexerEditorHighlighter$HighlighterIteratorImpl.<init>(LexerEditorHighlighter.java:444)
      4. com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.createIterator(LexerEditorHighlighter.java:122)
      4 frames
    3. org.rust.ide
      RustRawLiteralHashesInserter.beforeCharTyped
      1. org.rust.ide.typing.RustRawLiteralHashesInserter.beforeCharTyped(RustRawLiteralHashesBalancer.kt:28)
      1 frame
    4. IDEA
      ConsoleViewImpl$MyTypedHandler.execute
      1. com.intellij.codeInsight.editorActions.TypedHandler$1.perform(TypedHandler.java:188)
      2. com.intellij.openapi.editor.impl.CaretModelImpl.a(CaretModelImpl.java:348)
      3. com.intellij.openapi.editor.impl.CaretModelImpl.doWithCaretMerging(CaretModelImpl.java:437)
      4. com.intellij.openapi.editor.impl.CaretModelImpl.runForEachCaret(CaretModelImpl.java:340)
      5. com.intellij.openapi.editor.impl.CaretModelImpl.runForEachCaret(CaretModelImpl.java:331)
      6. com.intellij.codeInsight.editorActions.TypedHandler.execute(TypedHandler.java:151)
      7. com.intellij.codeInsight.lookup.impl.LookupTypedHandler.execute(LookupTypedHandler.java:90)
      8. com.intellij.codeInsight.editorActions.AutoFormatTypedHandler.b(AutoFormatTypedHandler.java:167)
      9. com.intellij.codeInsight.editorActions.AutoFormatTypedHandler.execute(AutoFormatTypedHandler.java:94)
      10. com.intellij.execution.impl.ConsoleViewImpl$MyTypedHandler.execute(ConsoleViewImpl.java:1331)
      10 frames
    5. Openapi
      TypedAction$DefaultRawHandler$1.run
      1. com.intellij.openapi.editor.actionSystem.TypedAction$DefaultRawHandler$1.run(TypedAction.java:150)
      1 frame
    6. IDEA
      ApplicationImpl.runWriteAction
      1. com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:898)
      1 frame
    7. Openapi
      TypedAction$DefaultRawHandler.lambda$execute$0
      1. com.intellij.openapi.editor.actionSystem.TypedAction$DefaultRawHandler.lambda$execute$0(TypedAction.java:144)
      1 frame
    8. IDEA
      CoreCommandProcessor.executeCommand
      1. com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:122)
      1 frame
    9. Openapi
      TypedAction$DefaultRawHandler.execute
      1. com.intellij.openapi.editor.actionSystem.TypedAction$DefaultRawHandler.execute(TypedAction.java:139)
      1 frame
    10. com.maddyhome.idea
      ChangeGroup$2$1.run
      1. com.maddyhome.idea.vim.group.ChangeGroup$2$1.run(ChangeGroup.java:621)
      1 frame
    11. IDEA
      ApplicationImpl.runWriteAction
      1. com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:898)
      1 frame
    12. com.maddyhome.idea
      ChangeGroup$2.run
      1. com.maddyhome.idea.vim.group.ChangeGroup$2.run(ChangeGroup.java:619)
      1 frame
    13. IDEA
      CoreCommandProcessor.executeCommand
      1. com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:129)
      1 frame
    14. com.maddyhome.idea
      VimTypedActionHandler$1.run
      1. com.maddyhome.idea.vim.group.ChangeGroup.processKey(ChangeGroup.java:616)
      2. com.maddyhome.idea.vim.KeyHandler.handleKey(KeyHandler.java:178)
      3. com.maddyhome.idea.vim.KeyHandler.handleKey(KeyHandler.java:104)
      4. com.maddyhome.idea.vim.VimTypedActionHandler$1.run(VimTypedActionHandler.java:57)
      4 frames
    15. Java RT
      EventQueue.dispatchEvent
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
      3. java.awt.EventQueue.access$500(EventQueue.java:97)
      4. java.awt.EventQueue$3.run(EventQueue.java:709)
      5. java.awt.EventQueue$3.run(EventQueue.java:703)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
      8 frames
    16. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.i(IdeEventQueue.java:793)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:629)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385)
      3 frames
    17. Java RT
      EventDispatchThread.run
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      6. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
      6 frames