This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 258910 - IndexOutOfBoundsException: Invalid line index=908 >= lineCount=738
Summary: IndexOutOfBoundsException: Invalid line index=908 >= lineCount=738
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
Depends on:
Reported: 2016-04-19 22:21 UTC by dhanav
Modified: 2016-09-30 21:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 198306

stacktrace (8.42 KB, text/plain)
2016-04-19 22:21 UTC, dhanav

Note You need to log in before you can comment on or make changes to this bug.
Description dhanav 2016-04-19 22:21:15 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.71-b15, Java(TM) SE Runtime Environment, 1.8.0_71-b15
OS: Linux

User Comments:
GUEST: Not sure what happened.

GUEST: IDE seemed to take a long time 'detecting background changes' (or similar?)


GUEST: overscrolled in an editor using PAGE DOWN key.
reproducably also after restart. open long file, hold PAGE DOWN till it beeps.

dhanav: Silent exception.

GUEST: Started the netbeans.. Tried to open some file

GUEST: Jumping to line 1491 through vim plugin.

java.lang.IndexOutOfBoundsException: Invalid line index=908 >= lineCount=738
   at org.netbeans.modules.editor.lib2.document.LineRootElement.getElement(
   at com.raelity.jvi.swing.SwingBuffer.getLineElement(
   at com.raelity.jvi.swing.SwingBuffer.getLineStartOffset(
   at com.raelity.jvi.core.FPOS.set(
   at com.raelity.jvi.core.FPOS.set(
   at com.raelity.jvi.core.ColonCommands.parseCommandGuts(
Comment 1 dhanav 2016-04-19 22:21:17 UTC
Created attachment 159336 [details]
Comment 2 Exceptions Reporter 2016-09-30 21:46:11 UTC
This bug already has 10 duplicates