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.
Summary: | ChooseTemplateStepOperator.selectTemplate does not always find the node | ||
---|---|---|---|
Product: | qa | Reporter: | Jan Becicka <jbecicka> |
Component: | Jellytools | Assignee: | issues@qa <issues> |
Status: | CLOSED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows ME/2000 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Looking for node "Java Beans|BeanInfo w/o Icon"
jemmy.log org.netbeans.jemmy.TimeoutExpiredException: Wait "Has right selection" state to be reached |
Description
Jan Becicka
2002-09-26 14:26:09 UTC
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 |