apache / apache/jmeter

StackOverflowError with ModuleController in Non-GUI mode if its name is the same as the target node

Open
#3,180 10 comments 0 reactions 0 assignees View on GitHub
os: All P2
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

**christopher.roscoe** ([Bug 55375](https://bz.apache.org/bugzilla//show_bug.cgi?id=55375&redirect=false)):
See attached a simple jmx file to reproduce the stackoverflow. There is no problem when i start the test in GUI mode.

In Non-GUI i have the following output.

An error occurred: null
errorlevel=1
Drücken Sie eine beliebige Taste . . .

Here is how i start the test in Non-GUI mode.

jmeter -n -t d:\development\workspaces\2.11.3\apache-jmeter-latest\bin\temp\stackoverflow\stackoverflow.jmx -l d:\development\workspaces\2.11.3\apache-jmeter-latest\bin\temp\stackoverflow\stackoverflow.jtl -j d:\development\workspaces\2.11.3\apache-jmeter-latest\bin\temp\stackoverflow\stackoverflow.log

In the log (also attached) the last entry is the stacktrace of the java.lang.StackOverflowError.

2013/08/07 10:04:45 FATAL - jmeter.JMeter: An error occurred: java.lang.StackOverflowError
at java.util.HashMap.containsKey(HashMap.java:335)
at org.apache.jorphan.collections.ListedHashTree.add(ListedHashTree.java:163)
at org.apache.jmeter.control.ModuleController.getReplacementSubTree(ModuleController.java:170)
at org.apache.jmeter.JMeter.convertSubTree(JMeter.java:883)
at org.apache.jmeter.JMeter.convertSubTree(JMeter.java:885)
at org.apache.jmeter.JMeter.convertSubTree(JMeter.java:885)
...

Created attachment [stackoverflow.zip](https://apache.github.io/jmeter-bugzilla-attachments/75/55375/30684/stackoverflow.zip): The test to reproduce the error. The log file.

Severity: normal
OS: All

Duplicates:
* https://github.com/apache/jmeter/issues/3508

Blocks:
* https://github.com/apache/jmeter/issues/4290

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.