title: JMeter: errorlevel = -1073741819 when running test via CMD
body: <p>I am trying to run some performance tests via CMD. It is a pretty simple environment. We launch a Jenkins build with testing parameter and the Jenkins slave calls PSExec with jmeter command on a remote VM.</p>
  
  <p>Whenever I try to run the tests (either with complete flow from Jenkins or directly from CMD) I get the following error: </p>
  
  <pre><code>errorlevel=-1073741819
  Press any key to continue . . .
  </code></pre>
  
  <p>As far as I've read on the internet, this error is specific for Access violation. </p>
  
  <p>This is the command I use for starting the test:</p>
  
  <pre><code>jmeter_path\bin&gt;jmeter -n -t jmeter_path\bin\tests\Test.jmx -Jjmeter.save.saveservice.output_format=csv -Jparam1=%param1% -l \\remote_ip\Results_Build_115\Results.csv -j \\remote_ip\Results_Build_115\jmeter.log -e -o \\remote_ip\Results_Build_115\HTMLReport
  </code></pre>
  
  <p>Later Edit:</p>
  
  <p>Here is the error from Event Viewer:</p>
  
  <pre><code>Faulting application name: java.exe, version: 8.0.1610.12, time stamp: 0x5a39c48e
  Faulting module name: java.exe, version: 8.0.1610.12, time stamp: 0x5a39c48e
  Exception code: 0xc0000005
  Fault offset: 0x000000000000b54b
  Faulting process id: 0x2f98
  Faulting application start time: 0x01d470feb367816d
  Faulting application path: C:\ProgramData\Oracle\Java\javapath\java.exe
  Faulting module path: C:\ProgramData\Oracle\Java\javapath\java.exe
  Report Id: a01a4071-1ab6-4b52-8a54-e50ba51da6bf
  Faulting package full name: 
  Faulting package-relative application ID:
  </code></pre>
  
  <p>Observations:</p>
  
  <ul>
  <li>Running tests from GUID work as expected</li>
  <li>Result folder is on a remote VM with full read/write access. The result folder is generated before running tests.</li>
  <li>I get the same error even if I run tests directly from CMD</li>
  <li>I have a total of 19 params in the call (didn't include them in the above example)</li>
  <li>OS: Windows 10</li>
  </ul>