You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ham1 (Bug 57078):
I have just built from source using the github trunk at 12 Oct 2014 (approx 2000 GMT). I have a very simple test which uses a cache manager and does one get to www.google.co.uk with the retrieve embedded resources enabled. Upon running the test I get the following:
org.apache.jmeter.protocol.http.parser.HTMLParseException: java.lang.NullPointerException
at org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser.getEmbeddedResourceURLs(LagartoBasedHtmlParser.java:226)
at org.apache.jmeter.protocol.http.parser.HTMLParser.getEmbeddedResourceURLs(HTMLParser.java:150)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.downloadPageResources(HTTPSamplerBase.java:1190)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessing(HTTPSamplerBase.java:1573)
at org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl.resultProcessing(HTTPAbstractImpl.java:344)
at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:405)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1134)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1123)
at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:431)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:258)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at jodd.lagarto.TagUtil.equalsIgnoreCase(TagUtil.java:148)
at org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser$JMeterTagVisitor.tag(LagartoBasedHtmlParser.java:136)
at jodd.lagarto.LagartoParser.emitTag(LagartoParser.java:2834)
at jodd.lagarto.LagartoParser$12.parse(LagartoParser.java:784)
at jodd.lagarto.LagartoParser.parse(LagartoParser.java:114)
at org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser.getEmbeddedResourceURLs(LagartoBasedHtmlParser.java:217)
... 11 more
I have tried the exact same thing on 2.11 and it seems to work fine. I have also tried to do the same thing on a more simple page (ham1.co.uk) and it works fine - i.e. parses and downloads the embedded files.
@ham1 (Bug 57078):
I have just built from source using the github trunk at 12 Oct 2014 (approx 2000 GMT). I have a very simple test which uses a cache manager and does one get to www.google.co.uk with the retrieve embedded resources enabled. Upon running the test I get the following:
org.apache.jmeter.protocol.http.parser.HTMLParseException: java.lang.NullPointerException
at org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser.getEmbeddedResourceURLs(LagartoBasedHtmlParser.java:226)
at org.apache.jmeter.protocol.http.parser.HTMLParser.getEmbeddedResourceURLs(HTMLParser.java:150)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.downloadPageResources(HTTPSamplerBase.java:1190)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessing(HTTPSamplerBase.java:1573)
at org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl.resultProcessing(HTTPAbstractImpl.java:344)
at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:405)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1134)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1123)
at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:431)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:258)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at jodd.lagarto.TagUtil.equalsIgnoreCase(TagUtil.java:148)
at org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser$JMeterTagVisitor.tag(LagartoBasedHtmlParser.java:136)
at jodd.lagarto.LagartoParser.emitTag(LagartoParser.java:2834)
at jodd.lagarto.LagartoParser$12.parse(LagartoParser.java:784)
at jodd.lagarto.LagartoParser.parse(LagartoParser.java:114)
at org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser.getEmbeddedResourceURLs(LagartoBasedHtmlParser.java:217)
... 11 more
I have tried the exact same thing on 2.11 and it seems to work fine. I have also tried to do the same thing on a more simple page (ham1.co.uk) and it works fine - i.e. parses and downloads the embedded files.
Created attachment google.co.uk.txt: The HTML from google.
Version: Nightly
Severity: normal
OS: All
The text was updated successfully, but these errors were encountered: