title: Jmeter Uncaught exception: java.lang.NullPointerException
body: <p>I am trying to record REST requests with &quot;http(s) test script recorder&quot;. It's working properly and record the request until i keep &quot;Capture HTTP Headers&quot; checked.  Since I want to keep header common with some variable throughout requests and wanted to put dynamic parameter I don't want http header to be recorded everytime.</p>
  <p>To do so, I remove that checkbox &quot;Capture HTTP Headers&quot;, now none of my requests are getting recorded. And application is throwing exception</p>
  <p>I am using <a href="https://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.pdf" rel="nofollow noreferrer">https://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.pdf</a> to record the requests.</p>
  <p>ERROR - jmeter.JMeter:</p>
  <h2>Uncaught exception: java.lang.NullPointerException</h2>
  <p>at org.apache.jmeter.protocol.http.proxy.ProxyControl.replaceValues(ProxyControl.java:1275)
  at org.apache.jmeter.protocol.http.proxy.ProxyControl.deliverSampler(ProxyControl.java:567)
  at
  org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:291)</p>