You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2014/02/19 16:16:52 UTC

[Bug 56160] StackOverflowError when using WhileController within IfController

https://issues.apache.org/bugzilla/show_bug.cgi?id=56160

--- Comment #1 from real_thuri@gmx.de ---
After some debugging, the problem seems to be that the WhileController always
returns the one contained sampler on nextIsNull().
Therefore nextIsAController always returns the Sampler too and never null;
(Though nextIsAController can't ever return null but at the end of the
controller)

So because the WhileLoop never returns null reInitializeSubController will be
called recursivly until the SOE is thrown.

But the first thing is that the WhileController.next() shouldn't have been
called in the first place.

I'll try to create a patch and see what you think of it.

-- 
You are receiving this mail because:
You are the assignee for the bug.