https://issues.apache.org/bugzilla/show_bug.cgi?id=51272
Bug #: 51272
Summary: controller as first child of If Controller causes
exception when conditional is false
Product: JMeter
Version: Nightly (Please specify date)
Platform: PC
Status: NEW
Severity: normal
Priority: P2
Component: Main
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Created attachment 27072
--> https://issues.apache.org/bugzilla/attachment.cgi?id=27072
run 'BUGGED' thread and review jmeter.log
Using JMeter-r1095243 (a semi-recent nightly)
When the first child of an If Controller is a Controller an exception is thrown
when the condition for the If Controller is false.
Exception:
2011/05/26 12:33:28 INFO - jmeter.threads.JMeterThread: Thread started: BUGGED
1-1
2011/05/26 12:33:28 INFO - jmeter.util.BeanShellTestElement: beanshell ran
2011/05/26 12:33:29 ERROR - jmeter.threads.JMeterThread: Test failed!
java.lang.StackOverflowError
at java.lang.String.indexOf(Unknown Source)
at java.lang.ClassLoader.checkName(Unknown Source)
at java.lang.ClassLoader.findLoadedClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.mozilla.javascript.DefiningClassLoader.loadClass(DefiningClassLoader.java:72)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
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:105)
at org.apache.jmeter.control.IfController.next(IfController.java:162)
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)
[REPEATED ~1000 times]
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]