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 bu...@apache.org on 2006/09/05 02:09:09 UTC

DO NOT REPLY [Bug 40411] New: - NullPointerException in HTML Parser

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: jmeter-dev@jakarta.apache.org
        ReportedBy: olivere@datacom.co.nz


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: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 40411] - NullPointerException in HTML Parser

Posted by bu...@apache.org.
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


sebb@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE




------- Additional Comments From sebb@apache.org  2007-01-21 15:54 -------
Seems to be the same problem as 34261, for which a fix is now in SVN.

The next nightly build will contain the fix:

http://people.apache.org/builds/jakarta-jmeter/nightly/

*** This bug has been marked as a duplicate of 34261 ***

-- 
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: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org