You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2020/10/22 20:12:02 UTC

[Bug 64842] New: Module Controller loses selection on name collision

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: issues@jmeter.apache.org
          Reporter: michaelo@apache.org
  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.

[Bug 64842] Module Controller loses selection on name collision

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64842

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
             Status|NEW                         |RESOLVED

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Also related to Bug 59169

*** This bug has been marked as a duplicate of bug 60756 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.