title: JMeter Error: jmeter.threads.JMeterThread: Test failed! java.lang.NoSuchFieldError: INSTANCE
body: <p>I am trying to get some junit tests to run on jenkins through jmeter for some GAE cost testing. It has been a real headache to say the least. As far as what is going on right now, I have fought my way up to getting this issue, which I hope will be the last. Some key points:</p>
  
  <ol>
  <li>I have no issues what-so-ever when running it locally through the GUI</li>
  <li>The follow stack trace error is taken from the log via running it on Jenkins through a shell script that calls a java program that runs it</li>
  </ol>
  
  <p>Here is the stack trace: </p>
  
  <pre><code>2016/07/12 08:53:13 ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.NoSuchFieldError: INSTANCE
      at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.setupClient(HTTPHC4Impl.java:774)
      at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:327)
      at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74)
      at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1146)
      at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1135)
      at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:465)
      at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:410)
      at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:241)
      at java.lang.Thread.run(Thread.java:745)
  
  2016/07/12 08:53:13 INFO  - jmeter.threads.JMeterThread: Thread finished: jp@gc - Ultimate Thread Group 1-1 
  2016/07/12 08:53:13 INFO  - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test 
  2016/07/12 08:53:13 INFO  - jmeter.reporters.Summariser: summary =      0 in 00:00:00 = ******/s Avg:     0 Min: 9223372036854775807 Max: -9223372036854775808 Err:     0 (0.00%) 
  2016/07/12 08:53:23 ERROR - jmeter.JMeter: Uncaught exception:  java.lang.NumberFormatException: For input string: "******"
      at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
      at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
      at java.lang.Double.parseDouble(Double.java:538)
      at AutoTest.AutoTestUtil.CheckStats(AutoTestUtil.java:219)
      at AutoTest.AutoTestUtil.main(AutoTestUtil.java:68)
  </code></pre>