jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1705003 - in /jmeter/trunk: src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java xdocs/changes.xml
Date Thu, 24 Sep 2015 06:54:55 GMT
Author: pmouawad
Date: Thu Sep 24 06:54:55 2015
New Revision: 1705003

URL: http://svn.apache.org/viewvc?rev=1705003&view=rev
Log:
Bug 58453 - Null pointer exception when disabling Capture HTTP Headers 
Bugzilla Id: 58453

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java
    jmeter/trunk/xdocs/changes.xml

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java?rev=1705003&r1=1705002&r2=1705003&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java (original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java Thu Sep
24 06:54:55 2015
@@ -289,7 +289,7 @@ public class Proxy extends Thread {
                     children.addAll(samplerCreator.createChildren(sampler, result));
                 } 
                 target.deliverSampler(sampler,
-                        children.isEmpty() ? null : (TestElement[]) children
+                         children
                                 .toArray(new TestElement[children.size()]),
                         result);
             }
@@ -550,7 +550,7 @@ public class Proxy extends Thread {
         }
         StringBuilder sb = new StringBuilder(headers.length());
         for (String line : headerLines) {
-            if (line != null) {
+            if (line != null){
                 sb.append(line).append(CRLF_STRING);
             }
         }

Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1705003&r1=1705002&r2=1705003&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml (original)
+++ jmeter/trunk/xdocs/changes.xml Thu Sep 24 06:54:55 2015
@@ -149,6 +149,7 @@ Summary
     <li><bug>57956</bug>The hc.parameters reference in jmeter.properties
doesn't work when JMeter is not started in bin.</li>
     <li><bug>58137</bug>JMeter fails to download embedded URLS that contain
illegal characters in URL (it does not escape them).</li>
     <li><bug>58201</bug>Make usage of port in the host header more consistent
across the different http samplers.</li>
+    <li><bug>58453</bug>HTTP Test Script Recorder : NullPointerException
when disabling Capture HTTP Headers </li>
 </ul>
 
 <h3>Other Samplers</h3>



Mime
View raw message