Bug 60756 - Module Controller included in a Thread Group with the same name as linked Test Fragment looses link after reopening saved test plan
Summary: Module Controller included in a Thread Group with the same name as linked Tes...
Status: NEW
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 3.1
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on: 55375
Blocks:
  Show dependency tree
 
Reported: 2017-02-21 11:43 UTC by juergen.plasser
Modified: 2017-02-25 14:17 UTC (History)
1 user (show)



Attachments
Proof of concept (7.28 KB, application/xml)
2017-02-21 11:43 UTC, juergen.plasser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description juergen.plasser 2017-02-21 11:43:32 UTC
Created attachment 34773 [details]
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)...