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 6.7 Beta (Build 200904242137) VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08 OS: Windows XP, 5.1, x86 User Comments: GUEST: swingx in gui-editor -> properties bartvdc: Use a subclass of jxtitledseparator drhoden: Attempted to set property on custom JavaBeans Component by using the drop down in the Properties field. The drop down did show the correct options, but when attempting to select it (javax.persistence.Query) the IDE didn't like it. GUEST: Dunno Stacktrace: java.lang.IllegalArgumentException: object is not an instance of declaring class at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:0) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.netbeans.modules.form.RADProperty.getTargetValue(RADProperty.java:111) at org.netbeans.modules.form.FormProperty.checkCurrentValue(FormProperty.java:995)
Created attachment 84295 [details] stacktrace
This issue already has 14 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=13087
I am sorry, I am not able to reproduce this issue and the attached exception is not sufficient to track the problem down. Could you, please, provide more details? It would be ideal to described exact steps to reproduce. Thank you in advance.
Just had the problem again: Once in a while a self written java Bean reports this error. Maybe because I've corrupted it. After reverting all changes the error remains (!?). Clean & Build and removing/re-adding the bean to my GUI Component didn'T solve the problem. Finally I renamed the Bean (MyBean -> MyBean1) readded the bean and suddenly it works again. Maybe there was an important step between, but renaming _seemed_ to solve the problem.
OKay, renaming definatly solves the problem. After being happy that renaming to MyBean1 solved the issue I again did clean & build and renamed back MyBean1 -> MyBean. And the errors in the Beans-properties editor showed up again. Removed the bean from the GUI Component, renamed MyBean -> MyBean3, Clean & Build, dragged MyBean3.java from the Projects view into my GUI Component, everything fine again. Is this a kind of caching issue?