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.
Steps to reproduce: 1. Open the Project Settings dialog 2. Right Click on the Debugger Types and select New/Default Debugger 3. Fill in the details for the JDK 1.2.2 compiler on your machine 4. Select the Java Sources Node 5. Select Default Debugger and try to change it to the newly added node. (Note: This was also observed for the Default Executor setting ) The following Exception occurs: Wed Mar 14 15:22:01 GMT+05:30 2001org.openide.explorer.propertysheet.PropertyDetails$ExceptionHack: java.lang.IllegalArgumentException: argument type mismatch at java.lang.reflect.Method.invoke(Native Method) at org.openide.nodes.PropertySupport$Reflection.setValue (PropertySupport.java:205) at org.openide.explorer.propertysheet.PropertyDetails.setPropertyValue (PropertyDetails.java:185) at org.openide.explorer.propertysheet.PropertyDisplayer.setPropertyValue (PropertyDisplayer.java:823) at org.openide.explorer.propertysheet.PropertyDisplayer.setAsText (PropertyDisplayer.java:792) at org.openide.explorer.propertysheet.PropertyDisplayer$3.actionPerformed (PropertyDisplayer.java:548) at javax.swing.JComboBox.fireActionEvent(JComboBox.java:870) at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:894) at javax.swing.JComboBox.contentsChanged(JComboBox.java:946) at javax.swing.AbstractListModel.fireContentsChanged (AbstractListModel.java:79) at javax.swing.DefaultComboBoxModel.setSelectedItem (DefaultComboBoxModel.java:86) at javax.swing.JComboBox.setSelectedItem(JComboBox.java:415) at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:455) at javax.swing.plaf.basic.BasicComboPopup$ListMouseHandler.mouseReleased (BasicComboPopup.java:582) [catch] at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java:231) at java.awt.Component.processMouseEvent(Component.java:3717) at java.awt.Component.processEvent(Component.java:3546) at java.awt.Container.processEvent(Container.java:1164) at java.awt.Component.dispatchEventImpl(Component.java:2595) at java.awt.Container.dispatchEventImpl(Container.java:1213) at java.awt.Component.dispatchEvent(Component.java:2499) at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java:2451) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125) at java.awt.Container.dispatchEventImpl(Container.java:1200) at java.awt.Window.dispatchEventImpl(Window.java:912) at java.awt.Component.dispatchEvent(Component.java:2499) at java.awt.EventQueue.dispatchEvent(EventQueue.java:319) at java.awt.EventDispatchThread.pumpOneEvent (EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
Something wrong with the bean (JavaSettings?), wrong beaninfo?
I cannot reproduce this bug...
I tried 3.2-b7 with redhat Linux 6.2, Sun JDK 1.2.2. It was OK. I do not think this error is platform-dependent. Please try it with the latest beta and reopen this bug if it still makes problems.
I got the following message when trying to set the default compiler to JDK 1.2.2 in release 32 build 7. Setting the debugger seems to be working though. Tue Mar 20 11:59:45 GMT+05:30 2001org.openide.explorer.propertysheet.PropertyDetails$ExceptionHack: java.lang.IllegalArgumentException: argument type mismatch at java.lang.reflect.Method.invoke(Native Method) at org.openide.nodes.PropertySupport$Reflection.setValue (PropertySupport.java:205) at org.openide.explorer.propertysheet.PropertyDetails.setPropertyValue (PropertyDetails.java:185) at org.openide.explorer.propertysheet.PropertyDisplayer.setPropertyValue (PropertyDisplayer.java:823) at org.openide.explorer.propertysheet.PropertyDisplayer.setAsText (PropertyDisplayer.java:792) at org.openide.explorer.propertysheet.PropertyDisplayer$3.actionPerformed (PropertyDisplayer.java:548) at javax.swing.JComboBox.fireActionEvent(JComboBox.java:870) at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:894) at javax.swing.JComboBox.contentsChanged(JComboBox.java:950) at javax.swing.AbstractListModel.fireContentsChanged (AbstractListModel.java:79) at javax.swing.DefaultComboBoxModel.setSelectedItem (DefaultComboBoxModel.java:86) at javax.swing.JComboBox.setSelectedItem(JComboBox.java:415) at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:455) at javax.swing.plaf.basic.BasicComboPopup$ListMouseHandler.mouseReleased (BasicComboPopup.java:582) [catch] at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java:231) at java.awt.Component.processMouseEvent(Component.java:3717) at java.awt.Component.processEvent(Component.java:3546) at java.awt.Container.processEvent(Container.java:1164) at java.awt.Component.dispatchEventImpl(Component.java:2595) at java.awt.Container.dispatchEventImpl(Container.java:1213) at java.awt.Component.dispatchEvent(Component.java:2499) at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java:2451) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125) at java.awt.Container.dispatchEventImpl(Container.java:1200) at java.awt.Window.dispatchEventImpl(Window.java:912) at java.awt.Component.dispatchEvent(Component.java:2499) at java.awt.EventQueue.dispatchEvent(EventQueue.java:319) at java.awt.EventDispatchThread.pumpOneEvent (EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
The following exception is got when setting the default executor in release32- build 7: Tue Mar 20 12:00:44 GMT+05:30 2001org.openide.explorer.propertysheet.PropertyDetails$ExceptionHack: java.lang.IllegalArgumentException: argument type mismatch at java.lang.reflect.Method.invoke(Native Method) at org.openide.nodes.PropertySupport$Reflection.setValue (PropertySupport.java:205) at org.openide.explorer.propertysheet.PropertyDetails.setPropertyValue (PropertyDetails.java:185) at org.openide.explorer.propertysheet.PropertyDisplayer.setPropertyValue (PropertyDisplayer.java:823) at org.openide.explorer.propertysheet.PropertyDisplayer.setAsText (PropertyDisplayer.java:792) at org.openide.explorer.propertysheet.PropertyDisplayer$3.actionPerformed (PropertyDisplayer.java:548) at javax.swing.JComboBox.fireActionEvent(JComboBox.java:870) at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:894) at javax.swing.JComboBox.contentsChanged(JComboBox.java:950) at javax.swing.AbstractListModel.fireContentsChanged (AbstractListModel.java:79) at javax.swing.DefaultComboBoxModel.setSelectedItem (DefaultComboBoxModel.java:86) at javax.swing.JComboBox.setSelectedItem(JComboBox.java:415) at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:455) at javax.swing.plaf.basic.BasicComboPopup$ListMouseHandler.mouseReleased (BasicComboPopup.java:582) at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java:231) at java.awt.Component.processMouseEvent(Component.java:3717) at java.awt.Component.processEvent(Component.java:3546) at java.awt.Container.processEvent(Container.java:1164) at java.awt.Component.dispatchEventImpl(Component.java:2595) at java.awt.Container.dispatchEventImpl(Container.java:1213) at java.awt.Component.dispatchEvent(Component.java:2499) at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java:2451) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125) at java.awt.Container.dispatchEventImpl(Container.java:1200) at java.awt.Window.dispatchEventImpl(Window.java:912) at java.awt.Component.dispatchEvent(Component.java:2499) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:319) at java.awt.EventDispatchThread.pumpOneEvent (EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
These errors occur only if i try to set the values using the combo box in the dialog. If I try to set it using the Property Editor, everything works fine.
Assigned to myself (Marian Petras).
I cannot reproduce this with current release32 sources. In step #5, I select the newly created debugger type and it is fine, no exception is thrown. This works either from the combo box (from the propsheet for Java Sources) or after using the "..." button to open an equivalent dialog. By the way your comment: "These errors occur only if i try to set the values using the combo box in the dialog. If I try to set it using the Property Editor, everything works fine." is not quite clear, could you be more specific? Also did you attempt to set the name of the newly created debugger type to the same name as an existing debugger type (or other service listed under Project Settings)? Exactly which name did you choose? QA, please try to reproduce this one as well if you can...I am tempted to mark WORKSFORME unless new information turns up.
*** This issue has been marked as a duplicate of 9043 ***
Since this was marked as a duplicate.