DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40411>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40411

           Summary: NullPointerException in HTML Parser
           Product: JMeter
           Version: 2.2
          Platform: All
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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. Try recreating with a page with gifs. Some of them should
be content length 0 and gifs which don't pass a content length (I think that
might be the issue here).

ERROR - jmeter.threads.JMeterThread:  java.lang.NullPointerException
        at
org.apache.jmeter.protocol.http.parser.HtmlParserHTMLParser.getEmbeddedR
esourceURLs(HtmlParserHTMLParser.java:163)
        at
org.apache.jmeter.protocol.http.parser.HTMLParser.getEmbeddedResourceURL
s(HTMLParser.java:145)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.downloadPageReso
urces(HTTPSamplerBase.java:720)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessing
(HTTPSamplerBase.java:946)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSampler2
.java:596)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.followRedirects(
HTTPSamplerBase.java:871)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessing
(HTTPSamplerBase.java:934)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSampler2
.java:596)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
erBase.java:658)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
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

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to