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.
Improve robustness of the form module by the following change in the BeanInfo retrieval. By now the BeanInfo is obtained via a) Introspector.getBeanInfo(Class) b) Utilities.getBeanInfo(Class) that calls Introspector.getBeanInfo(Class) Both these approaches are equivalent to Introspector.getBeanInfo(Class, null, USE_ALL_BEANINFO) It sometimes happens (see for example the issue 74002) that the bean's BeanInfo is corrupted and the bean cannot be used. So, it would be better to try to obtain the BeanInfos using Introspector.getBeanInfo(Class, null, USE_ALL_BEANINFO) method and if it fails then try to use Introspector.getBeanInfo(Class, null, IGNORE_IMMEDIATE_BEANINFO) and if even this call fails then use Introspector.getBeanInfo(Class, null, IGNORE_ALL_BEANINFO)
This has been fixed in form_promoh and in trunk. The solution was the centralize access to the Instrospector and then add the logic described in the bug description. This will make the form module more robust against bad beaninfos.