https://bz.apache.org/bugzilla/show_bug.cgi?id=64842
Bug ID: 64842
Summary: Module Controller loses selection on name collision
Product: JMeter
Version: 5.3
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P2
Component: Main
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: JMETER_5.3.1
My test plain contains a thread group named "Certificate Login" which contains
a module controller which has the same name. Now a test fragment with the same
name is added. The module controller uses the module "Certificate Login" (Test
fragment).
When I close JMeter the selection is lost and when I try to run the test plan I
get:
2020-10-22 22:10:03,482 ERROR o.a.j.JMeter: Uncaught exception in thread
Thread[AWT-EventQueue-0,6,main]
java.lang.StackOverflowError: null
at java.util.HashMap.putVal(Unknown Source) ~[?:1.8.0_251]
at java.util.HashMap.put(Unknown Source) ~[?:1.8.0_251]
at
org.apache.jorphan.collections.ListedHashTree.add(ListedHashTree.java:162)
~[jorphan.jar:5.3]
at
org.apache.jmeter.control.ModuleController.createSubTree(ModuleController.java:199)
~[ApacheJMeter_components.jar:5.3]
at
org.apache.jmeter.control.ModuleController.getReplacementSubTree(ModuleController.java:190)
~[ApacheJMeter_components.jar:5.3]
at org.apache.jmeter.JMeter.pConvertSubTree(JMeter.java:1191)
~[ApacheJMeter_core.jar:5.3]
at org.apache.jmeter.JMeter.pConvertSubTree(JMeter.java:1199)
~[ApacheJMeter_core.jar:5.3]
at org.apache.jmeter.JMeter.pConvertSubTree(JMeter.java:1193)
~[ApacheJMeter_core.jar:5.3]
at org.apache.jmeter.JMeter.pConvertSubTree(JMeter.java:1199)
~[ApacheJMeter_core.jar:5.3]
...
This name clash is not detected. As soon as I rename the fragement to
"Certificate Login Fragment" the issue is gone. JMeter 5.2 suffers from the
same issue.
--
You are receiving this mail because:
You are the assignee for the bug.