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

Summary: IndexOutOfBoundsException: Invalid line index=908 >= lineCount=738
Product: editor Reporter: dhanav
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal CC: dhanav
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 198306
Attachments: stacktrace

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