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

Summary: IndexOutOfBoundsException: Invalid line index=28 >= lineCount=28
Product: editor Reporter: Exceptions Reporter <exceptions_reporter>
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal CC: dmain, kader3949
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 216861
Attachments: stacktrace

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