Summary: | HTTPS request through an invalid proxy causes NullPointerException and does not show in result tree | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | Willem Hajenius <w.a.hajenius> |
Component: | HTTP | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | P2 | ||
Version: | 2.4 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Attachments: | Test script (.jmx) and log files |
Description
Willem Hajenius
2011-05-26 09:10:11 UTC
This looks to be a bug in Java; it should not generate an NPE. If there is a problem with the proxy, it should report an IOError, which would be handled as a sampler error. You appear to be using Java version 1.5.0_12 which is quite old. Does the problem still occur with the latest Java version? Even though the NPE should not happen, it's easy enough to allow for it by catching Exception rather than just the expected failures. URL: http://svn.apache.org/viewvc?rev=1127881&view=rev Log: Bug 51268 - HTTPS request through an invalid proxy causes NullPointerException and does not show in result tree. Rather than delegating to the JMeter thread handler for "unexpected" failures, ensure all Exceptions generate a sample error. Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java jakarta/jmeter/trunk/xdocs/changes.xml Assuming this is now fixed; if not, please reopen with details. This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2494 |