Page 1 of 1

Raonrex Throwing StackOverflowException

Posted: Thu Nov 06, 2014 12:57 pm
by Deepak_Singh
Hi All,

I am Executing scripts. but now suddenly it Shows. "Process Terminated due to STackOverflowException"

Can anybody help on this. As this was not the case Earlier.

It says Test Case Iteration #1 started and then it shows the Exeption in the Console.

Please help :idea:

Thanks,
Deepak

Re: Raonrex Throwing StackOverflowException

Posted: Thu Nov 06, 2014 2:33 pm
by krstcs
Please provide more information. We can't help unless you actually explain the issue fully, including answering the following:

1. What version of Ranorex are you using?
2. What version of Ranorex was the test created with (if different)?
3. What version of Windows are you using?

A Stack overflow means that you probably have a method that is recursing itself (calling itself over and over) without ending correctly, using up all the available stack space. You should make sure all methods being called are ending correctly.

Things don't change by themselves, so what changed? If you changed the test, what did you change? (That's probably where the problem is.)

Without seeing the code it is almost impossible to help you find the actual problem. Please post the code that is failing along with the stack trace for the exception.