mirror of https://github.com/apache/jmeter.git
				
				
				
			Bug 58453 - Null pointer exception when disabling Capture HTTP Headers
Bugzilla Id: 58453
git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1705003 13f79535-47bb-0310-9956-ffa450edef68
Former-commit-id: ae1183f3e9
			
			
This commit is contained in:
		
							parent
							
								
									0ea6a48fb1
								
							
						
					
					
						commit
						947b40623b
					
				| 
						 | 
					@ -289,7 +289,7 @@ public class Proxy extends Thread {
 | 
				
			||||||
                    children.addAll(samplerCreator.createChildren(sampler, result));
 | 
					                    children.addAll(samplerCreator.createChildren(sampler, result));
 | 
				
			||||||
                } 
 | 
					                } 
 | 
				
			||||||
                target.deliverSampler(sampler,
 | 
					                target.deliverSampler(sampler,
 | 
				
			||||||
                        children.isEmpty() ? null : (TestElement[]) children
 | 
					                         children
 | 
				
			||||||
                                .toArray(new TestElement[children.size()]),
 | 
					                                .toArray(new TestElement[children.size()]),
 | 
				
			||||||
                        result);
 | 
					                        result);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
| 
						 | 
					@ -550,7 +550,7 @@ public class Proxy extends Thread {
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        StringBuilder sb = new StringBuilder(headers.length());
 | 
					        StringBuilder sb = new StringBuilder(headers.length());
 | 
				
			||||||
        for (String line : headerLines) {
 | 
					        for (String line : headerLines) {
 | 
				
			||||||
            if (line != null) {
 | 
					            if (line != null){
 | 
				
			||||||
                sb.append(line).append(CRLF_STRING);
 | 
					                sb.append(line).append(CRLF_STRING);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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>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>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>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>
 | 
					</ul>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<h3>Other Samplers</h3>
 | 
					<h3>Other Samplers</h3>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue