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.

Bug 67488 - java.lang.reflect.InvocationTargetException
Summary: java.lang.reflect.InvocationTargetException
Status: RESOLVED WORKSFORME
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
: 67572 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-25 12:47 UTC by hecta
Modified: 2005-11-07 10:30 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hecta 2005-10-25 12:47:05 UTC
java.lang.reflect.InvocationTargetException
	at org.openide.explorer.propertysheet.NodePropertyModel.annotateException
(NodePropertyModel.java:102)
	at org.openide.explorer.propertysheet.NodePropertyModel.setValue(NodePropertyModel.java:87)
	at org.openide.explorer.propertysheet.PropUtils.noDlgUpdateProp(PropUtils.java:552)
	at org.openide.explorer.propertysheet.PropUtils.updateProp(PropUtils.java:522)
	at org.openide.explorer.propertysheet.PropUtils.updateProp(PropUtils.java:626)
	at org.openide.explorer.propertysheet.SheetCellEditor.stopCellEditing(SheetCellEditor.java:339)
	at org.openide.explorer.propertysheet.SheetCellEditor.actionPerformed(SheetCellEditor.java:211)
	at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1197)
	at org.openide.explorer.propertysheet.ComboInplaceEditor.fireActionEvent
(ComboInplaceEditor.java:185)
	at javax.swing.JComboBox.setSelectedItem(JComboBox.java:561)
	at org.openide.explorer.propertysheet.ComboInplaceEditor.setSelectedItem
(ComboInplaceEditor.java:165)
	at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:597)
	at javax.swing.plaf.basic.BasicComboPopup$ListMouseHandler.mouseReleased
(BasicComboPopup.java:749)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232)
	at java.awt.Component.processMouseEvent(Component.java:5166)
	at javax.swing.plaf.basic.BasicComboPopup$2.processMouseEvent(BasicComboPopup.java:452)
	at java.awt.Component.processEvent(Component.java:4963)
	at java.awt.Container.processEvent(Container.java:1613)
	at java.awt.Component.dispatchEventImpl(Component.java:3681)
	at java.awt.Container.dispatchEventImpl(Container.java:1671)
	at java.awt.Component.dispatchEvent(Component.java:3543)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3527)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3242)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3172)
	at java.awt.Container.dispatchEventImpl(Container.java:1657)
	at java.awt.Window.dispatchEventImpl(Window.java:1606)
	at java.awt.Component.dispatchEvent(Component.java:3543)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Caused by: java.lang.IllegalArgumentException: argument type mismatch
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.netbeans.modules.form.RADProperty.setTargetValue(RADProperty.java:99)
	at org.netbeans.modules.form.FormProperty.setValue(FormProperty.java:270)
	at org.netbeans.modules.form.RADProperty.setValue(RADProperty.java:123)
	at org.openide.explorer.propertysheet.NodePropertyModel.setValue(NodePropertyModel.java:82)
	... 31 more
==>
java.lang.IllegalArgumentException: argument type mismatch
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.netbeans.modules.form.RADProperty.setTargetValue(RADProperty.java:99)
	at org.netbeans.modules.form.FormProperty.setValue(FormProperty.java:270)
	at org.netbeans.modules.form.RADProperty.setValue(RADProperty.java:123)
	at org.openide.explorer.propertysheet.NodePropertyModel.setValue(NodePropertyModel.java:82)
	at org.openide.explorer.propertysheet.PropUtils.noDlgUpdateProp(PropUtils.java:552)
	at org.openide.explorer.propertysheet.PropUtils.updateProp(PropUtils.java:522)
	at org.openide.explorer.propertysheet.PropUtils.updateProp(PropUtils.java:626)
	at org.openide.explorer.propertysheet.SheetCellEditor.stopCellEditing(SheetCellEditor.java:339)
	at org.openide.explorer.propertysheet.SheetCellEditor.actionPerformed(SheetCellEditor.java:211)
	at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1197)
	at org.openide.explorer.propertysheet.ComboInplaceEditor.fireActionEvent
(ComboInplaceEditor.java:185)
	at javax.swing.JComboBox.setSelectedItem(JComboBox.java:561)
	at org.openide.explorer.propertysheet.ComboInplaceEditor.setSelectedItem
(ComboInplaceEditor.java:165)
	at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:597)
	at javax.swing.plaf.basic.BasicComboPopup$ListMouseHandler.mouseReleased
(BasicComboPopup.java:749)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232)
	at java.awt.Component.processMouseEvent(Component.java:5166)
	at javax.swing.plaf.basic.BasicComboPopup$2.processMouseEvent(BasicComboPopup.java:452)
	at java.awt.Component.processEvent(Component.java:4963)
	at java.awt.Container.processEvent(Container.java:1613)
	at java.awt.Component.dispatchEventImpl(Component.java:3681)
	at java.awt.Container.dispatchEventImpl(Container.java:1671)
	at java.awt.Component.dispatchEvent(Component.java:3543)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3527)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3242)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3172)
	at java.awt.Container.dispatchEventImpl(Container.java:1657)
	at java.awt.Window.dispatchEventImpl(Window.java:1606)
	at java.awt.Component.dispatchEvent(Component.java:3543)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Comment 1 Jan Chalupa 2005-11-01 12:55:24 UTC
form issue?

-> org.netbeans.modules.form.RADProperty.setTargetValue
Comment 2 Jan Stola 2005-11-01 14:22:04 UTC
I am sorry I am not able to reproduce this issue. Could you, please, provide
more details. It seems that you attempted to set a property of some
bean/component. What property of what bean did you attempt to change?
Did you attempt to create a new bean/component and place it into palette?
If so, did you try to create an explicit beanInfo for this class?
Comment 3 Marian Mirilovic 2005-11-01 15:10:10 UTC
*** Issue 67572 has been marked as a duplicate of this issue. ***
Comment 4 Jan Stola 2005-11-07 10:30:55 UTC
No additional information provided => closing as works for me.