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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by Osman Shoukry, 1 year ago
Wrong line: 39. Available lines count: 38
via Atlassian JIRA by Osman Shoukry, 1 year ago
Wrong line: 39. Available lines count: 38
via Atlassian JIRA by Osman Shoukry, 1 year ago
Wrong line: 27. Available lines count: 25
via Atlassian JIRA by Osman Shoukry, 1 year ago
Wrong line: 27. Available lines count: 25
via Atlassian JIRA by Marek Parfianowicz [Atlassian], 1 year ago
Wrong line: -1. Available lines count: 210
via Atlassian JIRA by Marek Parfianowicz [Atlassian], 1 year ago
Wrong line: -1. Available lines count: 210
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.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 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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.