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 194869

Summary: [70cat] ArrayIndexOutOfBoundsException: 58
Product: editor Reporter: vladimircs <vladimircs>
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: RESOLVED DUPLICATE    
Severity: normal CC: alied, aybiss, bayrontq, choces, cs94njw, fleka, hmichel, jrojcek, misterm, zolta
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 175025
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description vladimircs 2011-01-30 12:21:34 UTC
Build: NetBeans IDE Dev (Build 201101280000)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Linux

User Comments:
GUEST: Removing comment Lines from Java code....




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 58
   at org.netbeans.lib.editor.util.GapList.get(GapList.java:462)
   at org.netbeans.modules.editor.lib2.view.EditorBoxViewChildren.getEditorViewChildrenValid(EditorBoxViewChildren.java:436)
   at org.netbeans.modules.editor.lib2.view.EditorBoxViewChildren.paintChildren(EditorBoxViewChildren.java:870)
   at org.netbeans.modules.editor.lib2.view.EditorBoxViewChildren.paint(EditorBoxViewChildren.java:858)
   at org.netbeans.modules.editor.lib2.view.EditorBoxView.paint(EditorBoxView.java:454)
   at org.netbeans.modules.editor.lib2.view.DocumentView.paint(DocumentView.java:933)
Comment 1 vladimircs 2011-01-30 12:21:38 UTC
Created attachment 105490 [details]
stacktrace
Comment 2 misterm 2011-02-08 21:30:49 UTC
Created attachment 105759 [details]
stacktrace
Comment 3 misterm 2011-02-08 21:36:49 UTC
Created attachment 105761 [details]
stacktrace
Comment 4 misterm 2011-02-08 22:27:48 UTC
Created attachment 105765 [details]
stacktrace
Comment 5 Exceptions Reporter 2011-02-12 09:46:10 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=175025
Comment 6 alied 2011-03-10 19:18:51 UTC
Created attachment 106888 [details]
stacktrace

after opening a source file (interface) from the Project View.
I'm restarting the IDE to see what happens (and to try to work)
Comment 7 Michel Graciano 2011-03-11 13:21:50 UTC
Created attachment 106910 [details]
stacktrace

Just opening a source file
Comment 8 alied 2011-04-05 22:03:41 UTC
Created attachment 107530 [details]
stacktrace

after opening a source file with errors
Comment 9 Marian Mirilovic 2011-10-06 07:32:08 UTC
dup of issue 195349 ?
Comment 10 Miloslav Metelka 2011-10-07 12:57:39 UTC
This should be resolved by changes in issue 197534 - The EditorBoxViewChildren class is no longer present.

*** This bug has been marked as a duplicate of bug 197534 ***
Comment 11 Miloslav Metelka 2011-10-10 15:43:07 UTC
*** Bug 198726 has been marked as a duplicate of this bug. ***