Bug 60756 - Module Controller included in a Thread Group with the same name as linked Test Fragment loses 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 - Now in Github
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:
: 64842 (view as bug list)
Depends on: 55375
Blocks:
  Show dependency tree
 
Reported: 2017-02-21 11:43 UTC by juergen.plasser
Modified: 2022-05-11 14:37 UTC (History)
2 users (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)...
Comment 1 Philippe Mouawad 2020-10-24 14:18:59 UTC
*** Bug 64842 has been marked as a duplicate of this bug. ***
Comment 2 The ASF infrastructure team 2022-09-24 20:38:07 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4290