Summary: | AjpSampler throws java.lang.StringIndexOutOfBoundsException | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | Rebeccah <rebeccah.h.prastein> |
Component: | HTTP | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | rebeccah.h.prastein |
Priority: | P2 | Keywords: | ErrorMessage |
Version: | 2.4 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP |
Description
Rebeccah
2011-03-23 19:33:37 UTC
I just realized, the exception I am reporting in AjpSampler is identical to the one reported in Bug 47242 Comment 6, in the AJP commandline client code that Ken Van Camp was asking for (and that I downloaded from that thread to confirm I had AJP access across my Intranet). In that thread, chamith buddhika did post a patch for the commandline AJP client last April. Perhaps it can be incorporated into JMeter? Thanks, Rebeccah I've found one bug, which is that the code fails to skip past the control integer used for header translation, so the value is then used as the length for the next String. Not sure if that is the same bug as in Bug 47242 - there's rather a lot of code to scan to see if it is. URL: http://svn.apache.org/viewvc?rev=1084822&view=rev Log: Bug 50963 - AjpSampler throws java.lang.StringIndexOutOfBoundsException Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/AjpSampler.java jakarta/jmeter/trunk/xdocs/changes.xml The code is in nightly builds from r1084822. Thank you very much for jumping on this so quickly. Rebeccah This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2477 |