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.
Try BeansTemplates test. Beans module: beans/test/qa- func/gui/BeansTemplates.java This test usually hangs waiting for "Has right selection" state to be reached.
It works for me perfectly. If it fails again, we need more info (environment, jemmy log/screen shot/stack trace, jemmy/jelly version).
BeansTemplates tests works for you? I've tested it with latest build and it fails again. (W2k, JDK 1.4.0).
Created attachment 7536 [details] Looking for node "Java Beans|BeanInfo w/o Icon"
Created attachment 7537 [details] jemmy.log
Created attachment 7538 [details] org.netbeans.jemmy.TimeoutExpiredException: Wait "Has right selection" state to be reached
OK, it happens only on VERY fast machines. The problem is: - jemmy finds JTree and selects our node - IDE sets selection to the last selected node - jemmy waits for selection of our node => it fail I try to find a way how to synchronize it in ChooseTemplateStepOperator.
Fixed in ChooseTemplateStepOperator and TargetLocationStepOperator - added waiting it select*() method until IDE finishes selecting of previously selected node
Verified