java.lang.IndexOutOfBoundsException: Wrong line: 41. Available lines count: 41

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 GitHub by vonovak
, 1 year ago
Wrong line: 41. Available lines count: 41
via GitHub by shanaithal
, 11 months ago
Wrong line: 20. Available lines count: 16
via GitHub by kanazir
, 4 months ago
Wrong line: 19. Available lines count: 18
via GitHub by yhan219
, 4 months ago
Wrong line: 56. Available lines count: 28
via GitHub by kanazir
, 4 months ago
Wrong line: 43. Available lines count: 8
via GitHub by PlatonovDmitriy
, 4 months ago
Wrong line: 93. Available lines count: 16
java.lang.IndexOutOfBoundsException: Wrong line: 41. Available lines count: 41
at com.intellij.openapi.editor.impl.LineSet.b(LineSet.java:170)
at com.intellij.openapi.editor.impl.LineSet.getLineStart(LineSet.java:155)
at com.github.dsilva.flowtc.TypeCheck.errors(TypeCheck.java:123)
at com.github.dsilva.flowtc.ExternalAnnotator.doAnnotate(ExternalAnnotator.java:55)
at com.github.dsilva.flowtc.ExternalAnnotator.doAnnotate(ExternalAnnotator.java:14)
at com.intellij.codeInsight.daemon.impl.ExternalToolPass.d(ExternalToolPass.java:212)
at com.intellij.codeInsight.daemon.impl.ExternalToolPass.access$500(ExternalToolPass.java:44)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:320)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:310)
at com.intellij.util.ui.update.MergingUpdateQueue.lambda$flush$1(MergingUpdateQueue.java:260)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:274)
at com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:229)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:378)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:227)
at com.intellij.util.concurrency.BoundedTaskExecutor.runFirstTaskThenPollAndRunRest(BoundedTaskExecutor.java:178)
at com.intellij.util.concurrency.BoundedTaskExecutor.access$000(BoundedTaskExecutor.java:40)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

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.