Smiffy
7th March 2002, 17:04
Has anyone seen this message, if so what does it mean;

full error message;

adres_stack overflow entries > 99
Can not continue in tpcin0102s000 in DLL: ottstpstandard ()

This error has occurred in our test environment. I have tested the software which I developed in the development environment. My software involves auto shipment & generating outbound via STPAPI function server calls.

It is at the stage that the shipment lines session is being called that there is an error.

Any ideas?

shah_bs
7th March 2002, 19:14
Since you are using function server calls, I do not know if this will be very applicable, but at least I hope it gives you a starting point.

This happened very long ago and only once, so it is a bit vague. In my case, the address stack overflow was related to the display("field") instruction. Let us say, there is already a before.display event declared for "field". Then, in the program logic, it becomes necessary to (re)display the field. This causes the before.display to trigger. This caused the before.display to 'recurse' and over-flow the stack. [The resolution (though not very clean) was to comment out the before.display event and enforce the initial display by hand elsewhere].



If you can place the program in debug and let it fail, it should probably stop with a 'cannot continue' message near about where the problem is. Alternative, you could step through to see where it repeated goes back to the same point a few times.

popeye
7th March 2002, 19:36
Like Shah mentioned, it because the logic is going into a recursive loop. It can handle that for 99 iterations.

Try the following program script. You'll know what I mean.
Note : All variables in func1() should be global.

Hope this helps.

long i
function main()
{
func1()
}

function func1()
{
i = i + 1
func1()
}

arunkw
27th February 2004, 07:43
Thank you tweety(shah_bs),
you made my day, the explanation which you had given helped me to resolve one of my problem.
Thanks again.