You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by Paul Glezen <pg...@us.ibm.com> on 2001/11/08 23:27:10 UTC

Wierd Null Pointer problem solved

Here's my humbling explanation for the problem.  I pretty much copied my
clone() method from the HTTP controller example - except at the end I had a

  return null;

That should easily result in a NullPointerException somewhere.  When the
LoopController cloned my ECSController, it placed the null reference it
received in its list of subControllers.  The list wasn't empty.  It just
contained one null reference; hence the situation with an iterator that
says there is something with hasNext() but returns null with next().

Sheesh !!

- Paul

Paul Glezen
Consulting IT Specialist
IBM Software Services for WebSphere
818 539 3321


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>