You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2014/10/12 21:30:56 UTC
[Bug 57078] New: LagartoBasedHTMLParser crases on google.co.uk
https://issues.apache.org/bugzilla/show_bug.cgi?id=57078
Bug ID: 57078
Summary: LagartoBasedHTMLParser crases on google.co.uk
Product: JMeter
Version: Nightly (Please specify date)
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: HTTP
Assignee: issues@jmeter.apache.org
Reporter: jmeter@ham1.co.uk
Created attachment 32102
--> https://issues.apache.org/bugzilla/attachment.cgi?id=32102&action=edit
The HTML from google.
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.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 57078] LagartoBasedHTMLParser fails to parse page that contains
input with no type
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57078
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Date: Sun Oct 12 20:13:29 2014
New Revision: 1631251
URL: http://svn.apache.org/r1631251
Log:
Bug 57078 - LagartoBasedHTMLParser fails to parse page that contains input with
no type
Bugzilla Id: 57078
Modified:
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/LagartoBasedHtmlParser.java
jmeter/trunk/xdocs/changes.xml
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 57078] LagartoBasedHTMLParser fails to parse page that contains
input with no type
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57078
--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Thanks for report. Your feedback on nightly build is welcome.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 57078] LagartoBasedHTMLParser fails to parse page that contains
input with no type
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57078
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|LagartoBasedHTMLParser |LagartoBasedHTMLParser
|fails to parse page that |fails to parse page that
|contains input with no src |contains input with no type
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 57078] LagartoBasedHTMLParser fails to parse page that contains
input with no src
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57078
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |p.mouawad@ubik-ingenierie.c
| |om
Hardware|PC |All
Summary|LagartoBasedHTMLParser |LagartoBasedHTMLParser
|crases on google.co.uk |fails to parse page that
| |contains input with no src
OS|Linux |All
--
You are receiving this mail because:
You are the assignee for the bug.