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 200812180001) VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04 OS: Windows XP, 5.1, x86 Stacktrace: java.lang.IllegalArgumentException: setSelectedIndex: 0 out of bounds at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:601) at org.netbeans.modules.profiler.ui.panels.ProjectSelectRootMethodsPanel.refreshBuilderList(ProjectSelectRootMethodsPanel.java:361) at org.netbeans.modules.profiler.ui.panels.ProjectSelectRootMethodsPanel.access$000(ProjectSelectRootMethodsPanel.java:90) at org.netbeans.modules.profiler.ui.panels.ProjectSelectRootMethodsPanel$1.propertyChange(ProjectSelectRootMethodsPanel.java:154) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:347)
Created attachment 76956 [details] stacktrace
Do you happen to have a steps to reproduce?
hello, unfortunately I don't, this is one of these exceptions for which I do not know what I was doing when I got it, but still report just in case
This situation should not happen unless some of the profiler modules or classes are missing from installation. However it is better to gracefully recover from such a situation than throwing an exception. Fixing. http://hg.netbeans.org/profiler-main/rev/04311d46ae85
Integrated into 'main-golden', will be available in build *200903250219* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/04311d46ae85 User: Jaroslav Bachorik <yardus@netbeans.org> Log: #158512 - disable graphical root method selection when there are no selection view providers registered