Hi all,
I'm getting strange whitebox system errors reporting "null object references" where they should not occur. The code is perfectly OK, and the errors are sporadic and not reproducible on demand.
The configuration is a PowerBuilder 8 application communicating with a "data currency server" - itself a PowerBuilder application.
When there is a slowness in the network (the only way I can emulate this is to introduce a delay in the data currency server), it seems as if the script calling the function continues after some kind of timeout. This results in the code ploughing on and then attempting to reference an object that somehow has not been set up yet.
A script calling a reposnse window (which should not continue until the response window has been responded to) is continuing before it should, and this is when those Null Object Reference errors are occurring - I added some logging to determine this.
I've come across an application property called DDETimeout, but setting this seems to have had no effect.
Is there a way to optimise the DDE communication, or otherwise catch these in order to prevent those errors?
Cheers.
I'm getting strange whitebox system errors reporting "null object references" where they should not occur. The code is perfectly OK, and the errors are sporadic and not reproducible on demand.
The configuration is a PowerBuilder 8 application communicating with a "data currency server" - itself a PowerBuilder application.
When there is a slowness in the network (the only way I can emulate this is to introduce a delay in the data currency server), it seems as if the script calling the function continues after some kind of timeout. This results in the code ploughing on and then attempting to reference an object that somehow has not been set up yet.
A script calling a reposnse window (which should not continue until the response window has been responded to) is continuing before it should, and this is when those Null Object Reference errors are occurring - I added some logging to determine this.
I've come across an application property called DDETimeout, but setting this seems to have had no effect.
Is there a way to optimise the DDE communication, or otherwise catch these in order to prevent those errors?
Cheers.