java.lang.IndexOutOfBoundsException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Too many Lint errors on Import?
    via by Benjamin Cooley,
  • Exception while editing text.
    via by Unknown author,
  • Wrong offset while generating line numbers
    via by Unknown author,
  • IDEA hangs when running SSR on multiple files
    via by Unknown author,
  • Exception in folding (repeats about 100 times)
    via by Unknown author,
  • CSS: IOOBE on applying property from completion
    via by Unknown author,
    • java.lang.IndexOutOfBoundsException: Wrong offset: 151. Should be in range: [0, 150] at com.intellij.openapi.editor.impl.LineSet.findLineIndex(LineSet.java:141) at com.intellij.openapi.editor.impl.DocumentImpl.getLineNumber(DocumentImpl.java:919) at org.jetbrains.kotlin.idea.KotlinFoldingBuilder.isOneLine(KotlinFoldingBuilder.kt:97)

    Users with the same issue

    EricEric
    2 times, last one,
    poroszdporoszd
    2 times, last one,