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.