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.
Build: NetBeans IDE Dev (Build 20110711-cefa995b7ee5) VM: Java HotSpot(TM) Client VM, 21.0-b16, Java(TM) SE Runtime Environment, 1.7.0-b146 OS: Linux User Comments: jglick: Thrown over and over, making editor unusable. I had collapsed most blocks in a source file, expanding just a couple of methods. Stacktrace: java.lang.ArrayIndexOutOfBoundsException: -1 at org.netbeans.lib.editor.util.GapList.get(GapList.java:462) at org.netbeans.modules.editor.lib2.view.ParagraphViewChildren.paintChildren(ParagraphViewChildren.java:450) at org.netbeans.modules.editor.lib2.view.ParagraphViewChildren.paint(ParagraphViewChildren.java:442) at org.netbeans.modules.editor.lib2.view.ParagraphView.paint(ParagraphView.java:301) at org.netbeans.modules.editor.lib2.view.DocumentViewChildren.paint(DocumentViewChildren.java:498) at org.netbeans.modules.editor.lib2.view.DocumentView.paint(DocumentView.java:1304)
Created attachment 109379 [details] stacktrace
Created attachment 109392 [details] stacktrace
Getting it again on a different file, this time a form with some guarded blocks initially collapsed. Seems that something was broken recently with editor folding.
Created attachment 109434 [details] stacktrace
Created attachment 109579 [details] stacktrace F3 search for term ekenschaft@netbeans.org
Created attachment 110010 [details] stacktrace Unfolding folded block.
http://hg.netbeans.org/jet-main/rev/8821f75275ba
Please ignore my last comment - the issue is not fixed yet. Thanks.
Created attachment 110203 [details] stacktrace
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=179829
http://hg.netbeans.org/jet-main/rev/c3c8f550ee51
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/c3c8f550ee51 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #200060 - ArrayIndexOutOfBoundsException: -1 when expanding a fold (empty ParagraphView children).
verified - no new exception was reported since the fix was delivered into trunk