Hope this the correct maillist rather than jmeter-user...Tried to get the
FAQ, but there isn't one.


I was running 1.6.1 and found a bug with the following scenario:

Root
  ThreadGroup (10 threads)
    InterleaveController
      WebController
      WebController
    Graph Results


A NullPointerException occurred on line 311 in
org.apache.jmeter.control.GenericController.  

To fix this, simply replace

        if(controlIt.hasNext())
with
        if(controlIt != null && controlIt.hasNext())


If you look at the logic, you'll notice that if endEntryCycle() is called
twice, with  controlIt.hasNext() returning false the first time, the NPE
will result since controlIt is set to null during the first call.  Note that
calls to removeFromIterator() would also throw an NPE under this scenario,
though I did not see this occur.

I downloaded the 8/10 nightly build, and the problem still existed.

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to