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

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

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
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 GitHub by KevinCorcoran
, 1 year ago
Wrong line: 7. Available lines count: 7
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.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 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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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