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 205404

Summary: ArrayIndexOutOfBoundsException: 235
Product: editor Reporter: mil-ast
Component: -- Other --Assignee: Milutin Kristofic <mkristofic>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mmikeyy
Priority: P3    
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 182045
Attachments: stacktrace

Description mil-ast 2011-11-22 06:24:27 UTC
Build: NetBeans IDE 7.1 Beta (Build 201109252201)
VM: Java HotSpot(TM) Client VM, 17.0-b17, Java(TM) SE Runtime Environment, 1.6.0_21-b07
OS: Windows 7

User Comments:
GUEST: shift-alt-f

mmikeyy: just pressed enter twice to make room for a new function for a class...

mmikeyy: just... typing




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 235
   at org.netbeans.lib.editor.util.GapList.get(GapList.java:462)
   at org.netbeans.modules.editor.lib2.view.DocumentViewChildren.viewIndexFirstByStartOffset(DocumentViewChildren.java:248)
   at org.netbeans.modules.editor.lib2.view.DocumentView.getViewIndex(DocumentView.java:327)
   at org.netbeans.modules.editor.lib2.view.ViewHierarchyImpl.modelToParagraphView(ViewHierarchyImpl.java:284)
   at org.netbeans.modules.editor.lib2.view.LockedViewHierarchy.modelToParagraphView(LockedViewHierarchy.java:124)
   at org.netbeans.editor.GlyphGutter$6.run(GlyphGutter.java:655)
Comment 1 mil-ast 2011-11-22 06:24:29 UTC
Created attachment 113397 [details]
stacktrace
Comment 2 Milutin Kristofic 2011-11-24 11:51:25 UTC

*** This bug has been marked as a duplicate of bug 202837 ***