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
URL:
Keywords:
Depends on:
Blocks:
 
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


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

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: 1

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.




Stacktrace: 
java.lang.IndexOutOfBoundsException: Invalid line index=908 >= lineCount=738
   at org.netbeans.modules.editor.lib2.document.LineRootElement.getElement(LineRootElement.java:91)
   at com.raelity.jvi.swing.SwingBuffer.getLineElement(SwingBuffer.java:423)
   at com.raelity.jvi.swing.SwingBuffer.getLineStartOffset(SwingBuffer.java:91)
   at com.raelity.jvi.core.FPOS.set(FPOS.java:130)
   at com.raelity.jvi.core.FPOS.set(FPOS.java:124)
   at com.raelity.jvi.core.ColonCommands.parseCommandGuts(ColonCommands.java:350)
Comment 1 dhanav 2016-04-19 22:21:17 UTC
Created attachment 159336 [details]
stacktrace
Comment 2 Exceptions Reporter 2016-09-30 21:46:11 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=198306