Raonrex Throwing StackOverflowException

Bug reports.
Posts: 76
Joined: Fri Mar 14, 2014 2:37 pm

Raonrex Throwing StackOverflowException

Post by Deepak_Singh » Thu Nov 06, 2014 12:57 pm

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:


Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Raonrex Throwing StackOverflowException

Post by krstcs » Thu Nov 06, 2014 2:33 pm

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.
Shortcuts usually aren't...