Created Bug No. 40411 Cheers Oliver
-----Original Message----- From: sebb [mailto:[EMAIL PROTECTED] Sent: Monday, 4 September 2006 21:50 To: JMeter Users List Subject: Re: NullPointerException in HTML Parser Probably best to create a Bugzilla issue so that this does not get forgotten ... On 04/09/06, Oliver Erlewein (DSLWN) <[EMAIL PROTECTED]> wrote: > Hi all, > > I get these errors at a rate of about 1/1000 when doing requests with > HTTP Sampler and HTTP Sampler 2. Most of them vanish if you switch off > the automatic retrieval of resources (but it doesn't go away completely. > CSS files still seem to get loaded). Have this problem on Win & Linux > with Jmeter 2.1.1 and 2.2. > > ERROR - jmeter.threads.JMeterThread: java.lang.NullPointerException > at > org.apache.jmeter.protocol.http.parser.HtmlParserHTMLParser.getEmbedde > dR > esourceURLs(HtmlParserHTMLParser.java:163) > at > org.apache.jmeter.protocol.http.parser.HTMLParser.getEmbeddedResourceU > RL > s(HTMLParser.java:145) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.downloadPageRe > so > urces(HTTPSamplerBase.java:720) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessi > ng > (HTTPSamplerBase.java:946) > at > org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSample > r2 > .java:596) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.followRedirect > s( > HTTPSamplerBase.java:871) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessi > ng > (HTTPSamplerBase.java:934) > at > org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSample > r2 > .java:596) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSam > pl > erBase.java:658) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSam > pl > erBase.java:647) > at > org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247) > at java.lang.Thread.run(Thread.java:595) > > Thanks 4 the help! > Oliver > > --------------------------------------------------------------------- > 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]

