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.
In this method, somebody invokes "bean = i().instanceCreate();" which is unacceptable. It creates beans just for getting their names. If such a bean creates a thread in its constructor ...
Moreover, this raises another problem with InstanceSupport. If instance creation fails on InstantiationException (e.g. the class has not public empty ctor), the exception is "converted" to ClassNotFoundException. InstanceSupport remebers this exception and next time when asked for class (by instanceClass() method) it automatically throws it - although the class is valid... I think this should be fixed too.
I have prepared a fix for InstanceNode and will check it in trunk today. Tomasi if you are convinced about bug in InstanceSupport why don't you fill new bug in Issuezilla? BTW how can be bean class valid without empty constructor? I did not see code in InstanceSupport but it is strange to use InstanceDataObject if you assume your class is not valid, is it?
fixed in InstanceNode.java, v1.11
*** Issue 14643 has been marked as a duplicate of this issue. ***
Resolved for 3.4.x or earlier, no new info since then -> verified
Resolved for 3.4.x or earlier, no new info since then -> closing.