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=34261>.
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=34261

           Summary: NPE in HtmlParser when embedded resources are requested
                    and number of threads is big
           Product: JMeter
           Version: 2.0.3
          Platform: PC
               URL: n/a
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: HTTP
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


This NPE causes JMeter to terminate. This does not happen when the number of
theads is low (worked with 200, but failed with 250 for me).

jmeter.threads.JMeterThread: Thread Thread Group 1-510 started 
2005/03/31 16:52:11 INFO  - jmeter.threads.JMeterThread: Thread Thread Group
1-511 started 
2005/03/31 16:52:11 INFO  - jmeter.threads.JMeterThread: Thread Thread Group
1-512 started 
2005/03/31 16:52:11 ERROR - jmeter.threads.JMeterThread: 
java.lang.NullPointerException
        at
org.apache.jmeter.protocol.http.parser.HtmlParserHTMLParser.getEmbeddedResourceURLs(HtmlParserHTMLParser.java:172)
        at
org.apache.jmeter.protocol.http.parser.HTMLParser.getEmbeddedResourceURLs(HTMLParser.java:149)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.downloadPageResources(HTTPSamplerBase.java:640)
        at 
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:577)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:590)
        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:578)
        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:281)
        at java.lang.Thread.run(Unknown Source)

-- 
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