https://bz.apache.org/bugzilla/show_bug.cgi?id=60756
Bug ID: 60756
Summary: Module Controller included in a Thread Group with the
same name as linked Test Fragment looses link after
reopening saved test plan
Product: JMeter
Version: 3.1
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Main
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 34773
--> https://bz.apache.org/bugzilla/attachment.cgi?id=34773&action=edit
Proof of concept
I have test plan including a simple test fragment and multiple thread groups
(two in my case), both including a module controller linked to the
aforementioned test fragment.
It happens that when a thread group is simply named like the linked test
fragment (in my attached jmx they are named "Test Fragment") the link is lost
in the UI client after reopening the test plan.
Running the test leads to a SOE:
2017/02/21 12:38:55 ERROR - jmeter.JMeter: Uncaught exception:
java.lang.StackOverflowError
at java.util.HashMap.hash(HashMap.java:338)
at java.util.LinkedHashMap.get(LinkedHashMap.java:440)
at java.util.Collections$SynchronizedMap.get(Collections.java:2584)
at
org.apache.jmeter.testelement.AbstractTestElement.getProperty(AbstractTestElement.java:184)
at
org.apache.jmeter.testelement.AbstractTestElement.isEnabled(AbstractTestElement.java:627)
at
org.apache.jmeter.gui.tree.JMeterTreeNode.isEnabled(JMeterTreeNode.java:66)
at org.apache.jmeter.JMeter.convertSubTree(JMeter.java:1002)
at org.apache.jmeter.JMeter.convertSubTree(JMeter.java:1020)
at org.apache.jmeter.JMeter.convertSubTree(JMeter.java:1014)
at org.apache.jmeter.JMeter.convertSubTree(JMeter.java:1020)
at org.apache.jmeter.JMeter.convertSubTree(JMeter.java:1014)...
--
You are receiving this mail because:
You are the assignee for the bug.