You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by sebb <se...@gmail.com> on 2011/01/04 15:54:43 UTC

Re: Help! NullPointerException occurred

Which version of JMeter are you using?

Have you enabled "Stop Thread/Test on Error" ?

On 4 January 2011 12:38, ursuletza <ur...@yahoo.com> wrote:
>
> Hello,
>
> I am having the same problem.
>
> I am testing in non gui jmeter. I set up Jmeter to stop on error. I have 2
> Http requests and I am running 200 threads with 200 loops that comes up to
> 80 000 requests. At about 55000 success requests Jmeter stops with this
> error.
>
> Best regards,
> Adriana
> --
> View this message in context: http://jmeter.512774.n5.nabble.com/Help-NullPointerException-occurred-tp3321090p3326938.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Help! NullPointerException occurred

Posted by sebb <se...@gmail.com>.
This is an instance of the following bug
https://issues.apache.org/bugzilla/show_bug.cgi?id=49734

It has been fixed in the current code, but there is no release yet.

If you change the test to "Stop Thread" rather than "Stop Test" it
should go away.

But in any case, the problem should only arise if an error has already
occurred that would require the test to be stopped.

On 7 January 2011 13:48, ursuletza <ur...@yahoo.com> wrote:
>
> This is the error:
>
>
> Exception in thread "Thread-56" java.lang.NullPointerException
>        at
> org.apache.jmeter.engine.StandardJMeterEngine.tellThreadsToStop(StandardJMeterEngine.java:542)
>        at
> org.apache.jmeter.engine.StandardJMeterEngine.access$700(StandardJMeterEngine.java:57)
>        at
> org.apache.jmeter.engine.StandardJMeterEngine$StopTest.run(StandardJMeterEngine.java:357)
>        at java.lang.Thread.run(Thread.java:619)
> --
> View this message in context: http://jmeter.512774.n5.nabble.com/Help-NullPointerException-occurred-tp3321090p3331868.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Help! NullPointerException occurred

Posted by ursuletza <ur...@yahoo.com>.
This is the error:


Exception in thread "Thread-56" java.lang.NullPointerException
        at
org.apache.jmeter.engine.StandardJMeterEngine.tellThreadsToStop(StandardJMeterEngine.java:542)
        at
org.apache.jmeter.engine.StandardJMeterEngine.access$700(StandardJMeterEngine.java:57)
        at
org.apache.jmeter.engine.StandardJMeterEngine$StopTest.run(StandardJMeterEngine.java:357)
        at java.lang.Thread.run(Thread.java:619) 
-- 
View this message in context: http://jmeter.512774.n5.nabble.com/Help-NullPointerException-occurred-tp3321090p3331868.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Help! NullPointerException occurred

Posted by sebb <se...@gmail.com>.
On 4 January 2011 14:58, ursuletza <ur...@yahoo.com> wrote:
>
> I am using 2.4. I have stop on error enabled, I have done this from gui by
> choosing option Stop Test Now in Thread Group.

What is the exact stack trace of the NPE?

And what is the previous error in the jmeter log file?

>
> Thanks
> --
> View this message in context: http://jmeter.512774.n5.nabble.com/Help-NullPointerException-occurred-tp3321090p3327146.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Help! NullPointerException occurred

Posted by ursuletza <ur...@yahoo.com>.
I am using 2.4. I have stop on error enabled, I have done this from gui by
choosing option Stop Test Now in Thread Group.

Thanks
-- 
View this message in context: http://jmeter.512774.n5.nabble.com/Help-NullPointerException-occurred-tp3321090p3327146.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org