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 090524) VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02-77, Java(TM) SE Runtime Environment, 1.6.0_13-b03-196 OS: Mac OS X, 10.5.7, x86_64 User Comments: tor: Opened debugger. I had previously closed the "Location" column (which appeared out of nowhere, I haven't seen it before and I don't want it since it's mostly redundant - it shows the Java file for the class name showed in the usual name column) Stacktrace: java.lang.ArrayIndexOutOfBoundsException: 2 at org.netbeans.modules.viewmodel.OutlineTable.setColumnsOrder(OutlineTable.java:625) at org.netbeans.modules.viewmodel.OutlineTable.updateTableColumns(OutlineTable.java:603) at org.netbeans.modules.viewmodel.OutlineTable.setModel(OutlineTable.java:352) at org.netbeans.spi.viewmodel.Models.createView(Models.java:115) at org.netbeans.modules.debugger.ui.views.ViewModelListener$1.run(ViewModelListener.java:449) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
Created attachment 82708 [details] stacktrace
Build: NetBeans IDE Dev (Build 200905250201) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Linux, 2.6.28-11-generic, i386 User Comments: While debugging php I set the Variables view to hide "toString()" column and switched to the Watches view and back to Variables. Stacktrace: java.lang.ArrayIndexOutOfBoundsException: 4 at org.netbeans.modules.viewmodel.OutlineTable.setColumnsOrder(OutlineTable.java:625) at org.netbeans.modules.viewmodel.OutlineTable.updateTableColumns(OutlineTable.java:603) at org.netbeans.modules.viewmodel.OutlineTable.setModel(OutlineTable.java:352) at org.netbeans.spi.viewmodel.Models.createView(Models.java:115) at org.netbeans.modules.debugger.ui.views.ViewModelListener$1.run(ViewModelListener.java:449) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
Created attachment 82718 [details] stacktrace
Build: NetBeans IDE Dev (Build 200905250201) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Linux, 2.6.28-11-generic, i386 User Comments: Switched into variables view. Stacktrace: java.lang.ArrayIndexOutOfBoundsException: 4 at org.netbeans.modules.viewmodel.OutlineTable.setColumnsOrder(OutlineTable.java:625) at org.netbeans.modules.viewmodel.OutlineTable.updateTableColumns(OutlineTable.java:603) at org.netbeans.modules.viewmodel.OutlineTable.setModel(OutlineTable.java:352) at org.netbeans.spi.viewmodel.Models.createView(Models.java:115) at org.netbeans.modules.debugger.ui.views.ViewModelListener$1.run(ViewModelListener.java:449) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
Created attachment 82719 [details] stacktrace
Fixed in changeset: 133348:0404866b0e39 http://hg.netbeans.org/main/rev/0404866b0e39
It's a showstopper for RC12
*** Issue 165932 has been marked as a duplicate of this issue. ***
the fix should be ported to release67 clone
verified in Product Version: NetBeans IDE Dev (Build 090525), last changeset: 133357:5acb4f001ca0 @mentlicher: could you please port to 67 then? thanks a lot.
Integrated into 'main-golden', will be available in build *200905251401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/0404866b0e39 User: mentlicher@netbeans.org Log: #165905 - Prevent from ArrayIndexOutOfBoundsException.
Review done. The fix is simple and correct.
Thanks, pushed to release67 in changeset: 133359:597df7408f25 http://hg.netbeans.org/release67/rev/597df7408f25
verified in new rc1 Product Version: NetBeans IDE 6.7 RC1 (Build 200905270001) Java: 1.6.0_13; Java HotSpot(TM) 64-Bit Server VM 11.3-b02
Product Version: NetBeans IDE Dev (Build 200905261401) Java: 1.6.0_12; Java HotSpot(TM) Client VM 11.2-b01 System: Windows XP version 5.1 running on x86; Cp1252; nl_BE (nb) Just installed the latest 6.7 dev version. The error still occurs when I'm switching to the debugger variables tab. Or is this fix not yet applied to the dev builds ?
it should be available in that build already since Integrated into 'main-golden', will be available in build *200905251401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) @artisan: did you report the exception. please? @vsigler: could you verify as well, please? I'll try on XP.
Fix verified in latest dev build on Ubuntu 9.04: Product Version: NetBeans IDE Dev (Build 200905270201) Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02 System: Linux version 2.6.28-11-generic running on i386; UTF-8; en_US (nb) @artisan: if you did not report the exception, please do so. Or post steps to reproduce. Thanks
not reproduced on Product Version: NetBeans IDE 6.7 RC1 (Build 200905270001) Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02 System: Windows XP version 5.1 running on x86; MS932; ja_JP (nb) Userdir: C:\Documents and Settings\i18n\.netbeans\6.7rc1 @reporter: looks like it's needed to switch to newer build. feel free to reopen this issue if you reproduce again. thanks a lot!
I am using the latest dev build (May, 27th) and I'm getting this error as well. The exception occurred when customized the displayed columns in the "Variables" window of the debugger. Now I cannot display the variables in the debugger any longer. Makes debugging a bit of a pain
I could only get the debugger to work again by deleting all files with "debug" in them from the user dir
cleaning userdir is a normal operation while testing dev builds :) I can not reproduce the bug anymore with a fresh userdir.
Filip & Vojta, please evaluate this issue again to be sure it's fixed in RC1. Thanks in advance.
verified in Product Version: NetBeans IDE 6.7 RC1 (Build 200905280001) Java: 1.6.0_13; Java HotSpot(TM) 64-Bit Server VM 11.3-b02 not reproduced nor with fresh userdir nor with existing userdir
so keep it fixed
The exception was already reported via Netbeans. Very nice feature btw. :-) The way I'm reproduce it: * Attach the debugger to a remote application (JBoss 4.2.0). * Have the debugger stop on a serverside breakpoint. * Click on the variables tab to inspect the variables. As soon as the tab appears the exception is thrown. I'll try again with the latest build and cleared userdir. Thanks for the good work !!!
@reporter: are you reusing your userdir you used when the exception occurred first time? I did my best but I didn't reproduce this issue. @mentlicher: this doesn't depend on having attached debugger or not, does it? Linux: not reproducible - attaching to netbeans Product Version: NetBeans IDE 6.7 RC1 (Build 200905280001) just simple debugging in netbeans XP; not reproducible - simple debugging Product Version: NetBeans IDE 6.7 RC1 (Build 200905280001) Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02
Product Version: NetBeans IDE Dev (Build 200905280201) Java: 1.6.0_14; Java HotSpot(TM) Client VM 14.0-b16 System: Windows XP version 5.1 running on x86; Cp1252; nl_BE (nb) Clearing the userdir and installing the mentioned jdk and netbeans solved the issue. I can properly debugging again. Thanks guys !!!
verified based on previous verifications and last comment from artisan