Forum Discussion
Adrian_Tankard
12 years agoContributor
Hi George,
Do you know what is happening when the error happens?
Some functions have a refresh as a parameter, such as the Find() method has the 4th parameter as refresh.
The error may also occur becuase the UI hasn't finished being created. You could experiment with using a delay, aqUtils.delay(1000). If that works then maybe you need to look at writing code to check to see if the object exsists before you use it.
I have this problem with one of our testing environments as it is very slow.
Do you know what is happening when the error happens?
Some functions have a refresh as a parameter, such as the Find() method has the 4th parameter as refresh.
The error may also occur becuase the UI hasn't finished being created. You could experiment with using a delay, aqUtils.delay(1000). If that works then maybe you need to look at writing code to check to see if the object exsists before you use it.
I have this problem with one of our testing environments as it is very slow.