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.
The select <Multiple Configurations> in Configurations combobox on Project Properties dialog box results to abnormal behaviour. to reproduce: 1. Create C/C++ project 2. Open Properties dialog of this project 3. Press "Manage Configurations..." button to open Configuration dialog box 4. Add new Configuration (at least one new configuration in order to <Multiple Configurations> item to be enable) 5. Close Configurations dialog 6. Choose <Multiple Configurations> item in Configurations combobox on Project Properties dialog box Multiple Configurations dialog box appears 7. Press "Deselect All" button 8. Press Ok button Error dialog with "Please select more than one configuration." message appears Press Ok button to close Error dialog 9. Press Cancel button to close Multiple Configurations dialog box Now There is no opportunity to select <Multiple Configurations> item and all other items from Configurations combobox. The step #8 is key one. If this step will be omited then Configurations combobox will has normal (expected) behaviour.
Now (NB 5.5 Beta2 + cnd-060807-linux) the following exception appears after step #9 ----------------------------------------------------------------- java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.Vector.elementAt(Vector.java:435) at org.netbeans.modules.cnd.makeproject.api.compilers.CompilerSets.getCompilerSet(CompilerSets.java:71) at org.netbeans.modules.cnd.makeproject.ui.customizer.MakeCustomizer.createCCompilerDescription(MakeCustomizer.java:761) at org.netbeans.modules.cnd.makeproject.ui.customizer.MakeCustomizer.createNewDescription(MakeCustomizer.java:678) at org.netbeans.modules.cnd.makeproject.ui.customizer.MakeCustomizer.createRootNodeProject(MakeCustomizer.java:518) at org.netbeans.modules.cnd.makeproject.ui.customizer.MakeCustomizer.createRootNode(MakeCustomizer.java:477) at org.netbeans.modules.cnd.makeproject.ui.customizer.MakeCustomizer.refresh(MakeCustomizer.java:263) at org.netbeans.modules.cnd.makeproject.ui.customizer.MakeCustomizer.configurationComboBoxActionPerformed(MakeCustomizer.java:256) at org.netbeans.modules.cnd.makeproject.ui.customizer.MakeCustomizer.access$000(MakeCustomizer.java:68) at org.netbeans.modules.cnd.makeproject.ui.customizer.MakeCustomizer$1.actionPerformed(MakeCustomizer.java:158) at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1197) at javax.swing.JComboBox.setSelectedItem(JComboBox.java:561) at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:597) at javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(BasicComboPopup.java:808) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232) at java.awt.Component.processMouseEvent(Component.java:5488) at javax.swing.JComponent.processMouseEvent(JComponent.java:3093) at javax.swing.plaf.basic.BasicComboPopup$1.processMouseEvent(BasicComboPopup.java:476) at java.awt.Component.processEvent(Component.java:5253) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1774) at java.awt.Component.dispatchEvent(Component.java:3803) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153) at java.awt.Dialog$1.run(Dialog.java:515) at java.awt.Dialog.show(Dialog.java:536) at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:816) at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:859) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:847) at org.openide.util.Mutex.doEventAccess(Mutex.java:1178) at org.openide.util.Mutex.readAccess(Mutex.java:215) at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:832) at java.awt.Component.show(Component.java:1300) at java.awt.Component.setVisible(Component.java:1253) at org.netbeans.modules.cnd.makeproject.ui.MakeCustomizerProvider.showCustomizer(MakeCustomizerProvider.java:157) at org.netbeans.modules.cnd.makeproject.ui.MakeCustomizerProvider.showCustomizer(MakeCustomizerProvider.java:81) at org.netbeans.modules.project.ui.actions.CustomizeProject.actionPerformed(CustomizeProject.java:76) at org.netbeans.modules.project.ui.actions.LookupSensitiveAction.actionPerformed(LookupSensitiveAction.java:106) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.AbstractButton.doClick(AbstractButton.java:302) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231) at java.awt.Component.processMouseEvent(Component.java:5488) at javax.swing.JComponent.processMouseEvent(JComponent.java:3093) at java.awt.Component.processEvent(Component.java:5253) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1774) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Fixed.