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 251959 - IndexOutOfBoundsException: Invalid line index=28 >= lineCount=28
Summary: IndexOutOfBoundsException: Invalid line index=28 >= lineCount=28
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-20 18:47 UTC by Exceptions Reporter
Modified: 2018-04-26 14:14 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 216861


Attachments
stacktrace (4.82 KB, text/plain)
2015-04-20 18:47 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-04-20 18:47:13 UTC
This bug was originally marked as duplicate of bug 229006, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) Client VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Windows 7

User Comments:
GUEST: NetBeans freezes




Stacktrace: 
java.lang.IndexOutOfBoundsException: Invalid line index=28 >= lineCount=28
   at org.netbeans.modules.editor.lib2.document.LineRootElement.getElement(LineRootElement.java:84)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.updateLine(ViewBuilder.java:1273)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createNextView(ViewBuilder.java:918)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:731)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createReplaceRepaintViews(ViewBuilder.java:685)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates.updateViewsByModification(ViewUpdates.java:316)
Comment 1 Exceptions Reporter 2015-04-20 18:47:15 UTC
Created attachment 153279 [details]
stacktrace