HI again,

no idea why that makes it works :P, I just read it somewhere when I googled
the problem, but if it works without it for u then no need for that, but I
thought it wouldn't cause that's what it says on the changelog for version
2.5.1. I'm going to try it out and see what happens.








On Mon, Nov 7, 2011 at 5:51 AM, Shmuel Krakower <shmul...@gmail.com> wrote:

> Hi Franco,
> Why a Test Action sampler solves the problem?
> Anyway - for me it works even if the first evaluation is false (no
> exceptions appear on the log).
>
> Regards,
> Shmuel Krakower.
>
>
> On Thu, Nov 3, 2011 at 5:12 PM, Franco Sabadini <fsab...@gmail.com> wrote:
>
> > Be careful Shmuel, because 2.5.1 doesn't fix the whole issue, if the
> first
> > evaluation of the IF controller evaluates as false then the issue
> appears,
> > the best fix so far is to add a Test Action sampler at the same level as
> > the transaction controller inside the IF with a delay of 0 ms, that's
> what
> > I did.
> >
> > Hope that helps.
> >
> >
> > Franco
> >
> >
> >
> > On Wed, Nov 2, 2011 at 7:56 AM, Shmuel Krakower <shmul...@gmail.com>
> > wrote:
> >
> > > That's great, I was fighting the same problem all morning and was about
> > to
> > > post the same question after google wasn't helping.
> > > JMeter 2.5.1 solved my problem.
> > >
> > >
> > > Shmuel Krakower.
> > >
> > >
> > > On Tue, Nov 1, 2011 at 3:31 PM, Franco Sabadini <fsab...@gmail.com>
> > wrote:
> > >
> > > > Hi,
> > > >
> > > > yes that's what I found, I read the bug report yesterday, but is it
> > > > completelly fixed on JMeter 2.5.1? Or if the first evaluation of the
> IF
> > > is
> > > > false it'll still fail?
> > > >
> > > > Thanks.
> > > >
> > > >
> > > > Franco
> > > >
> > > >
> > > >
> > > >
> > > > On Mon, Oct 31, 2011 at 6:21 PM, Philippe Mouawad <
> > > > philippe.moua...@gmail.com> wrote:
> > > >
> > > > > Hello,
> > > > > You may be facing an issue fixed in 2.5.1.
> > > > > See http://jakarta.apache.org/jmeter/changes.html
> > > > > If Controller - Catches a StackOverflowError when a condition
> returns
> > > > > always false (after at least one iteration with return true) See
> bug
> > > > 50618
> > > > >
> > > > > Regards
> > > > > Philippe
> > > > >
> > > > > On Mon, Oct 31, 2011 at 7:38 PM, Franco Sabadini <
> fsab...@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I'm having an issue on JMeter 2.5, when running a test with a
> > > > transaction
> > > > > > controller inside an IF controller I get the following error
> (only
> > > > > > sometimes):
> > > > > >
> > > > > > 2011/10/28 13:36:47 ERROR - jmeter.threads.JMeterThread: Test
> > failed!
> > > > > > java.lang.StackOverflowError
> > > > > >        at java.lang.String.indexOf(String.java:1521)
> > > > > >        at java.lang.ClassLoader.checkName(ClassLoader.java:775)
> > > > > >        at
> > java.lang.ClassLoader.findLoadedClass(ClassLoader.java:947)
> > > > > >        at java.lang.ClassLoader.loadClass(ClassLoader.java:291)
> > > > > >        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> > > > > >        at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.mozilla.javascript.DefiningClassLoader.loadClass(DefiningClassLoader.java:72)
> > > > > >        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> > > > > >        at java.lang.Class.getDeclaredConstructors0(Native Method)
> > > > > >        at
> > > > java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
> > > > > >        at java.lang.Class.getConstructor0(Class.java:2699)
> > > > > >        at java.lang.Class.newInstance0(Class.java:326)
> > > > > >        at java.lang.Class.newInstance(Class.java:308)
> > > > > >        at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.mozilla.javascript.optimizer.Codegen.createScriptObject(Codegen.java:83)
> > > > > >        at
> > > org.mozilla.javascript.Context.compileImpl(Context.java:2280)
> > > > > >        at
> > > > org.mozilla.javascript.Context.compileString(Context.java:1284)
> > > > > >        at
> > > > org.mozilla.javascript.Context.compileString(Context.java:1273)
> > > > > >        at
> > > > > org.mozilla.javascript.Context.evaluateString(Context.java:1129)
> > > > > >        at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.jmeter.control.IfController.evaluateCondition(IfController.java:110)
> > > > > >        at
> > > > > >
> org.apache.jmeter.control.IfController.next(IfController.java:167)
> > > > > >        at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:187)
> > > > > >        at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:229)
> > > > > >        at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > > > >        at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > > > >        at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > > > >        at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > > > >        at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > > > >        at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > > > >        at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > > > >        at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > > > >        at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > > > >        at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > > > >        at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > > > >        at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > > > >        at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > > > >        at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > > > >        ..............
> > > > > >
> > > > > >
> > > > > >
> > > > > > Did anyone else see this?
> > > > > >
> > > > > > Thanks.
> > > > > >
> > > > > >
> > > > > > Franco
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Cordialement.
> > > > > Philippe Mouawad.
> > > > >
> > > >
> > >
> >
>

Reply via email to