https://issues.apache.org/bugzilla/show_bug.cgi?id=50618

           Summary: Stack overflow O Generic Controller
           Product: JMeter
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: regression
          Priority: P3
         Component: Main
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


After upgrading to the newest version of JMeter on SVN (revision 1059949), I
noticed that I am getting a stack overflow in the following method
GenericController.reInitializeSubController().

    /**
     * Called to re-initialize a index of controller's elements (Bug 50032)
     * 
     * @return Sampler
     */
    protected Sampler reInitializeSubController() {
        Sampler returnValue = null;
        try {
            TestElement currentElement = getCurrentElement();
            if (currentElement != null) {
                if (currentElement instanceof Sampler) {
                    returnValue = nextIsASampler((Sampler) currentElement);
                } else { // must be a controller
                    returnValue = nextIsAController((Controller)
currentElement);
                    reInitializeSubController();
                }
            }
        } catch (NextIsNullException e) {
        }
        return returnValue;
    }

    The problem happens in this else statement:
    } else { // must be a controller
         returnValue = nextIsAController((Controller) currentElement);
         reInitializeSubController();
    }

    For some reason when I execute my script I get to this else statement, and
from there on, I am not able to leave it any longer. I have attached my
ThreadDump in hope that it helps you somehow.
     Any suggestions?
    Luciana

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to