java.lang.IndexOutOfBoundsException

Wrong line: 39. Available lines count: 38

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web33

  • via Unknown by Osman Shoukry,
  • via Unknown by Osman Shoukry,
  • via Unknown by Osman Shoukry,
  • Stack trace

    • 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.