java.lang.IndexOutOfBoundsException: Wrong line: 39. Available lines count: 38

Atlassian JIRA | Osman Shoukry | 3 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

    Wrong line: 39. Available lines count: 38: Wrong line: 39. Available lines count: 38 java.lang.IndexOutOfBoundsException: Wrong line: 39. Available lines count: 38 at com.intellij.openapi.editor.ex.util.SegmentArray.getSegmentStart(SegmentArray.java:190) at com.intellij.openapi.editor.impl.LineSet.getLineStart(LineSet.java:50) at com.intellij.openapi.editor.impl.DocumentImpl.getLineStartOffset(DocumentImpl.java:900) at com.atlassian.clover.idea.content.DocMarkupPlugin$HighlightMarkupBuilder.highlightStatement(DocMarkupPlugin.java:277) at com.atlassian.clover.idea.content.DocMarkupPlugin$HighlightMarkupBuilder.process(DocMarkupPlugin.java:220) at com.atlassian.clover.idea.content.DocMarkupPlugin.updateMarkups(DocMarkupPlugin.java:138) at com.atlassian.clover.idea.content.DocMarkupPlugin.refresh(DocMarkupPlugin.java:424) at com.atlassian.clover.idea.content.ContentPlugin$1.run(ContentPlugin.java:97) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715) at java.awt.EventQueue.access$400(EventQueue.java:82) at java.awt.EventQueue$2.run(EventQueue.java:676) at java.awt.EventQueue$2.run(EventQueue.java:674) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86) at java.awt.EventQueue.dispatchEvent(EventQueue.java:685) at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:697) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:524) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

    Atlassian JIRA | 3 years ago | Osman Shoukry
    java.lang.IndexOutOfBoundsException: Wrong line: 39. Available lines count: 38
  2. 0

    Wrong line: 39. Available lines count: 38: Wrong line: 39. Available lines count: 38 java.lang.IndexOutOfBoundsException: Wrong line: 39. Available lines count: 38 at com.intellij.openapi.editor.ex.util.SegmentArray.getSegmentStart(SegmentArray.java:190) at com.intellij.openapi.editor.impl.LineSet.getLineStart(LineSet.java:50) at com.intellij.openapi.editor.impl.DocumentImpl.getLineStartOffset(DocumentImpl.java:900) at com.atlassian.clover.idea.content.DocMarkupPlugin$HighlightMarkupBuilder.highlightStatement(DocMarkupPlugin.java:277) at com.atlassian.clover.idea.content.DocMarkupPlugin$HighlightMarkupBuilder.process(DocMarkupPlugin.java:220) at com.atlassian.clover.idea.content.DocMarkupPlugin.updateMarkups(DocMarkupPlugin.java:138) at com.atlassian.clover.idea.content.DocMarkupPlugin.refresh(DocMarkupPlugin.java:424) at com.atlassian.clover.idea.content.ContentPlugin$1.run(ContentPlugin.java:97) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715) at java.awt.EventQueue.access$400(EventQueue.java:82) at java.awt.EventQueue$2.run(EventQueue.java:676) at java.awt.EventQueue$2.run(EventQueue.java:674) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86) at java.awt.EventQueue.dispatchEvent(EventQueue.java:685) at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:697) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:524) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

    Atlassian JIRA | 3 years ago | Osman Shoukry
    java.lang.IndexOutOfBoundsException: Wrong line: 39. Available lines count: 38
  3. 0

    Wrong line: 27. Available lines count: 25 java.lang.IndexOutOfBoundsException: Wrong line: 27. Available lines count: 25 at com.intellij.openapi.editor.ex.util.SegmentArray.getSegmentStart(SegmentArray.java:190) at com.intellij.openapi.editor.impl.LineSet.getLineStart(LineSet.java:50) at com.intellij.openapi.editor.impl.DocumentImpl.getLineStartOffset(DocumentImpl.java:908) at com.atlassian.clover.idea.content.DocMarkupPlugin$HighlightMarkupBuilder.highlightStatement(DocMarkupPlugin.java:278) at com.atlassian.clover.idea.content.DocMarkupPlugin$HighlightMarkupBuilder.process(DocMarkupPlugin.java:222) at com.atlassian.clover.idea.content.DocMarkupPlugin.updateMarkups(DocMarkupPlugin.java:140) at com.atlassian.clover.idea.content.DocMarkupPlugin.refresh(DocMarkupPlugin.java:426) at com.atlassian.clover.idea.content.ContentPlugin$1.run(ContentPlugin.java:101) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:749) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:702) at java.awt.EventQueue$3.run(EventQueue.java:696) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:719) at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:748) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:577) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:384) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

    Atlassian JIRA | 2 years ago | Osman Shoukry
    java.lang.IndexOutOfBoundsException: Wrong line: 27. Available lines count: 25
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Wrong line: 27. Available lines count: 25 java.lang.IndexOutOfBoundsException: Wrong line: 27. Available lines count: 25 at com.intellij.openapi.editor.ex.util.SegmentArray.getSegmentStart(SegmentArray.java:190) at com.intellij.openapi.editor.impl.LineSet.getLineStart(LineSet.java:50) at com.intellij.openapi.editor.impl.DocumentImpl.getLineStartOffset(DocumentImpl.java:908) at com.atlassian.clover.idea.content.DocMarkupPlugin$HighlightMarkupBuilder.highlightStatement(DocMarkupPlugin.java:278) at com.atlassian.clover.idea.content.DocMarkupPlugin$HighlightMarkupBuilder.process(DocMarkupPlugin.java:222) at com.atlassian.clover.idea.content.DocMarkupPlugin.updateMarkups(DocMarkupPlugin.java:140) at com.atlassian.clover.idea.content.DocMarkupPlugin.refresh(DocMarkupPlugin.java:426) at com.atlassian.clover.idea.content.ContentPlugin$1.run(ContentPlugin.java:101) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:749) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:702) at java.awt.EventQueue$3.run(EventQueue.java:696) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:719) at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:748) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:577) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:384) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

    Atlassian JIRA | 2 years ago | Osman Shoukry
    java.lang.IndexOutOfBoundsException: Wrong line: 27. Available lines count: 25
  6. 0

    IndexOutOfBound in PlantUmlExternalAnnotator

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

    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: 39. Available lines count: 38

      at com.intellij.openapi.editor.ex.util.SegmentArray.getSegmentStart()
    2. IDEA
      DocumentImpl.getLineStartOffset
      1. com.intellij.openapi.editor.ex.util.SegmentArray.getSegmentStart(SegmentArray.java:190)
      2. com.intellij.openapi.editor.impl.LineSet.getLineStart(LineSet.java:50)
      3. com.intellij.openapi.editor.impl.DocumentImpl.getLineStartOffset(DocumentImpl.java:900)
      3 frames
    3. com.atlassian.clover
      ContentPlugin$1.run
      1. com.atlassian.clover.idea.content.DocMarkupPlugin$HighlightMarkupBuilder.highlightStatement(DocMarkupPlugin.java:277)
      2. com.atlassian.clover.idea.content.DocMarkupPlugin$HighlightMarkupBuilder.process(DocMarkupPlugin.java:220)
      3. com.atlassian.clover.idea.content.DocMarkupPlugin.updateMarkups(DocMarkupPlugin.java:138)
      4. com.atlassian.clover.idea.content.DocMarkupPlugin.refresh(DocMarkupPlugin.java:424)
      5. com.atlassian.clover.idea.content.ContentPlugin$1.run(ContentPlugin.java:97)
      5 frames
    4. Java RT
      EventQueue.dispatchEvent
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
      3. java.awt.EventQueue.access$400(EventQueue.java:82)
      4. java.awt.EventQueue$2.run(EventQueue.java:676)
      5. java.awt.EventQueue$2.run(EventQueue.java:674)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
      8 frames
    5. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:697)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:524)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335)
      3 frames
    6. Java RT
      EventDispatchThread.run
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
      3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
      4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
      5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
      6. java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
      6 frames