JMeter Error in NonGUIDriver java.lang.NullPointerException

Was doing some JMeter testing today when I got this error.

./jmeter -n -t ~/test.jmx 
Error in NonGUIDriver java.lang.NullPointerException

I had a JMX file that I copied to a remote server where JMeter was installed, and running before.  But this time when I ran it I got the exception.  Seeing that it was a GUi (or non-GUI) issue with no context I figured it was a GUI issue.

Turns out it was not.  The JMX file referenced a class kg.apc.jmeter.threads.SteppingThreadGroup which is part of the Extras Set at JMeter Plugins.  So despite the exception stating that the source of the exception was in the NonGUIDiver class the problem was that the Extras library was not installed.  I copied the jar file into lib/ext directory and the load test ran fine after that.

12 Thoughts to “JMeter Error in NonGUIDriver java.lang.NullPointerException”

  1. >> I copied the jar file into lib/ext directory and the load test ran fine after that.

    What exactly does that mean? Where is lib/ext directory one is supposed to put JMeterPlugins-Extras.jar ?

  2. I heard about JMX file but I don’t know the exact working of JMX file. My friend had shared me some site, visit

  3. I had the same issue. the problem was the version of the Jmeter on the remote server was 2.6 and the one with which the .jmx file was created was 2.8. So i installed a lower version and recreated the .jmx file moved to the remote server and all was fine 😀

    1. After Extras jar file is downloaded, you need place in lib/ext folder. lib is the major folder where your library files(jar) are located. It solved the issue.

      Tell us what error you are getting.

  4. You mast go to you ApacheJmeter.jar directori in you cmd line. For example, “cd /home/apache-jmeter-5.0/bin”. And after this strart your JMX file. For example, jmeter -n -t /home/sergey/Order_to_home_authorization_test.jmx -l /home/sergey/file_test.jtl

    1. I’m sorry, but I don’t know the answer to that. I would expect that Blazemeter would provide a better answer than I.

Leave a Reply

Your email address will not be published.