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 nbms-and-javadoc-6369-on-101222) VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03-307, Java(TM) SE Runtime Environment, 1.6.0_22-b04-307-10M3261 OS: Mac OS X User Comments: mortennobel: After a cpp debug session. This error happened when I closed an expanded variable Stacktrace: java.lang.ArrayIndexOutOfBoundsException: 2 >= 2 at java.util.Vector.elementAt(Vector.java:427) at javax.swing.table.DefaultTableColumnModel.getColumn(DefaultTableColumnModel.java:277) at org.netbeans.modules.viewmodel.OutlineTable.updateColumnWidthsAndSorting(OutlineTable.java:799) at org.netbeans.modules.viewmodel.OutlineTable.setModel(OutlineTable.java:454) at org.netbeans.spi.viewmodel.Models$1.run(Models.java:178) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
Created attachment 104707 [details] stacktrace
Very similar to issue #193427, but at a different place.
This should be fixed by changeset: 188136:1e3fbf0b6c0a http://hg.netbeans.org/main/rev/1e3fbf0b6c0a Logging enhanced to see more details in case that the problem reappears: changeset: 188137:73a2189fa179 http://hg.netbeans.org/main/rev/73a2189fa179
Integrated into 'main-golden', will be available in build *201102080000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/73a2189fa179 User: mentlicher@netbeans.org Log: #193427 and #194028 Enhanced error logging.
Unfortunately, the fix in changeset 1e3fbf0b6c0a is not sufficient. I've found steps how to reliably reproduce this exception: 1) Start NetBeans with an empty user dir 2) Open a C/C++ project 3) Open Window -> Debugging -> Watches 4) Start debug of the C/C++ project 5) Select the Watches window 6) Finish debugger 7) This exception is thrown.
Finally fixed by changeset: 188343:c107a5bf73c0 http://hg.netbeans.org/main/rev/c107a5bf73c0
Integrated into 'main-golden', will be available in build *201102100500* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/c107a5bf73c0 User: mentlicher@netbeans.org Log: #193427, #194028 Clean the columns, including hidden ones, before we set new ones.
*** Bug 195308 has been marked as a duplicate of this bug. ***