While executing the scripts on local machine - getting java.lang.StackOverFlowError

I have run the script individually or through the suite getting the java.lang.StackOverFlowError.
Could you please help me how to resolve this error.

We need to see a lot more information…

Parameters and local variables are allocated on the stack . The stack typically lives at the upper end of your address space and as it is used up it heads towards the bottom of the address space. Your process also has a heap, which lives at the bottom end of your process. As you allocate memory, this heap can grow towards the upper end of your address space. As you can see, there is a potential for the heap to “collide” with the stack. If there is no space for a new stack frame then, the StackOverflowError is thrown by the Java Virtual Machine (JVM).

  • If the stack is full you can’t push, if you do you’ll get stack overflow error.
  • If the stack is empty you can’t pop, if you do you’ll get stack underflow error.