java.lang.IndexOutOfBoundsException

Wrong line: 41. Available lines count: 41

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web248

  • via GitHub by vonovak
    , 11 months ago
    Wrong line: 41. Available lines count: 41
  • via GitHub by nehxby
    , 1 year ago
    Wrong line: -1. Available lines count: 19
  • Wrong line: 56. Available lines count: 17
  • Stack trace

    • 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.intellij.openapi.editor.impl.DocumentImpl.getLineStartOffset(DocumentImpl.java:931) 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.codeInsight.daemon.impl.ExternalToolPass$1.run(ExternalToolPass.java:160) 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.concurrency.QueueProcessor.runSafely(QueueProcessor.java:222) at com.intellij.util.Alarm$Request$1.run(Alarm.java:378) at com.intellij.util.Alarm$Request.run(Alarm.java:389) 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 com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:197) 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)

    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

    You’re the first here who have seen this exception.