On 29/01/2010, Andrey Pohilko <[email protected]> wrote: > Hello! > > There's first exception after first try to stop test, then second exception > in following stop commands. > > First: 2010/01/27 21:22:55 ERROR - jmeter.threads.JMeterThread: Error while > processing sampler 'HTTP Request 3' : java.lang.RuntimeException: > java.lang.NullPointerException > at > sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) > at > sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source) > at > org.apache.jmeter.protocol.http.sampler.HTTPSampler.disconnect(HTTPSampler.j > ava:602) > at > org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java: > 595) > at ...
Not quite sure what is going on here yet. The NPE is generated in the JVM code, which suggests there may be a bug in the Java library, probably triggered by the disconnect. It looks like there are some places where savedConn should be set to null to prevent interrupt() from trying to disconnect a connection that is in the process of being disconnected, but I'm not sure that is the whole story. > Second: 2010/01/27 21:23:19 ERROR - jmeter.gui.action.ActionRouter: > java.lang.NullPointerException > at > org.apache.jmeter.engine.StandardJMeterEngine.askThreadsToStop(StandardJMete > rEngine.java:581) > at org.apache.jmeter.gui.action.Start.doAction(Start.java:82) > at ... This one is fixed by the following patch: URL: http://svn.apache.org/viewvc?rev=904514&view=rev Log: Prevent NPE in askThreadsToStop() > I also uploaded my test plan and full test log to > http://apc.kg/jmeter-except.zip > > > > С уважением, > > Андрей Похилько > > > -----Original Message----- > From: sebb [mailto:[email protected]] > Sent: Wednesday, January 27, 2010 9:17 PM > To: JMeter Users List > Subject: Re: Latest Jmeter 2.4 cannot stop test? > > On 27/01/2010, Andrey Pohilko <[email protected]> wrote: > > Hello! > > > > I've built Jmeter from latest trunk source > > You could also use a recent nightly build. > > > and trying to run my infinite > > test with 1000 threads. After some time I try to stop the test, but > nothing > > happens. I see a NullPointerException in jmeter.log. > > > > A bug? > > Probably, but without the full stack trace it's impossible to tell. > > > Good luck, > > > > > > Andrey > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

