java.lang.IndexOutOfBoundsException: Wrong line: -1. Available lines count: 210

Atlassian JIRA | Marek Parfianowicz [Atlassian] | 4 years 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

    During a project load the following error has occurred. {noformat} Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=com.cenqua.clover.idea.content.ContentPlugin$1@7a5a5187,notifier=null,catchExceptions=false,when=1382355480143] on sun.awt.windows.WToolkit@1074024: Wrong line: -1. Available lines count: 210 java.lang.IndexOutOfBoundsException: Wrong line: -1. Available lines count: 210 at com.intellij.openapi.editor.ex.util.SegmentArray.getSegmentStart(SegmentArray.java:181) at com.intellij.openapi.editor.impl.LineSet.getLineStart(LineSet.java:50) at com.intellij.openapi.editor.impl.DocumentImpl.getLineStartOffset(DocumentImpl.java:714) at com.cenqua.clover.idea.content.DocMarkupPlugin$HighlightMarkupBuilder.highlightStatement(DocMarkupPlugin.java:278) at com.cenqua.clover.idea.content.DocMarkupPlugin$HighlightMarkupBuilder.process(DocMarkupPlugin.java:222) at com.cenqua.clover.idea.content.DocMarkupPlugin.updateMarkups(DocMarkupPlugin.java:138) at com.cenqua.clover.idea.content.DocMarkupPlugin.refresh(DocMarkupPlugin.java:426) at com.cenqua.clover.idea.content.ContentPlugin$1.run(ContentPlugin.java:96) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:741) at java.awt.EventQueue.access$400(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:691) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:711) at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:700) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:525) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:348) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:220) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:135) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:123) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:119) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:111) at java.awt.EventDispatchThread.run(EventDispatchThread.java:97) {noformat}

    Atlassian JIRA | 4 years ago | Marek Parfianowicz [Atlassian]
    java.lang.IndexOutOfBoundsException: Wrong line: -1. Available lines count: 210
  2. 0

    During a project load the following error has occurred. {noformat} Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=com.cenqua.clover.idea.content.ContentPlugin$1@7a5a5187,notifier=null,catchExceptions=false,when=1382355480143] on sun.awt.windows.WToolkit@1074024: Wrong line: -1. Available lines count: 210 java.lang.IndexOutOfBoundsException: Wrong line: -1. Available lines count: 210 at com.intellij.openapi.editor.ex.util.SegmentArray.getSegmentStart(SegmentArray.java:181) at com.intellij.openapi.editor.impl.LineSet.getLineStart(LineSet.java:50) at com.intellij.openapi.editor.impl.DocumentImpl.getLineStartOffset(DocumentImpl.java:714) at com.cenqua.clover.idea.content.DocMarkupPlugin$HighlightMarkupBuilder.highlightStatement(DocMarkupPlugin.java:278) at com.cenqua.clover.idea.content.DocMarkupPlugin$HighlightMarkupBuilder.process(DocMarkupPlugin.java:222) at com.cenqua.clover.idea.content.DocMarkupPlugin.updateMarkups(DocMarkupPlugin.java:138) at com.cenqua.clover.idea.content.DocMarkupPlugin.refresh(DocMarkupPlugin.java:426) at com.cenqua.clover.idea.content.ContentPlugin$1.run(ContentPlugin.java:96) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:741) at java.awt.EventQueue.access$400(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:691) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:711) at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:700) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:525) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:348) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:220) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:135) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:123) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:119) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:111) at java.awt.EventDispatchThread.run(EventDispatchThread.java:97) {noformat}

    Atlassian JIRA | 4 years ago | Marek Parfianowicz [Atlassian]
    java.lang.IndexOutOfBoundsException: Wrong line: -1. Available lines count: 210
  3. 0

    IndexOutOfBoundsException: Wrong line

    GitHub | 3 years ago | Kognor
    java.lang.IndexOutOfBoundsException: Wrong line: 213. Available lines count: 213
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    IndexOutOfBound in PlantUmlExternalAnnotator

    GitHub | 3 years ago | esteinberg
    java.lang.IndexOutOfBoundsException: Wrong line: 233. Available lines count: 67
  6. 0

    Index out of Bound Exception (v1.6.1)

    GitHub | 2 years ago | esteinberg
    java.lang.IndexOutOfBoundsException: Wrong line: 254. Available lines count: 36

    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 line: -1. Available lines count: 210

      at com.intellij.openapi.editor.ex.util.SegmentArray.getSegmentStart()
    2. IDEA
      DocumentImpl.getLineStartOffset
      1. com.intellij.openapi.editor.ex.util.SegmentArray.getSegmentStart(SegmentArray.java:181)
      2. com.intellij.openapi.editor.impl.LineSet.getLineStart(LineSet.java:50)
      3. com.intellij.openapi.editor.impl.DocumentImpl.getLineStartOffset(DocumentImpl.java:714)
      3 frames
    3. com.cenqua.clover
      ContentPlugin$1.run
      1. com.cenqua.clover.idea.content.DocMarkupPlugin$HighlightMarkupBuilder.highlightStatement(DocMarkupPlugin.java:278)
      2. com.cenqua.clover.idea.content.DocMarkupPlugin$HighlightMarkupBuilder.process(DocMarkupPlugin.java:222)
      3. com.cenqua.clover.idea.content.DocMarkupPlugin.updateMarkups(DocMarkupPlugin.java:138)
      4. com.cenqua.clover.idea.content.DocMarkupPlugin.refresh(DocMarkupPlugin.java:426)
      5. com.cenqua.clover.idea.content.ContentPlugin$1.run(ContentPlugin.java:96)
      5 frames
    4. Java RT
      EventQueue.dispatchEvent
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:741)
      3. java.awt.EventQueue.access$400(EventQueue.java:97)
      4. java.awt.EventQueue$3.run(EventQueue.java:694)
      5. java.awt.EventQueue$3.run(EventQueue.java:691)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:711)
      8 frames
    5. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:700)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:525)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:348)
      3 frames
    6. Java RT
      EventDispatchThread.run
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:220)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:135)
      3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:123)
      4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:119)
      5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:111)
      6. java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
      6 frames