(Originally reported by SM.) Sometimes, after editing a question, everything goes weird / stops working.
MJI possibly reproduced, as suspected this was due to trying to do something with the test before the file change monitor process (found in MQWrapper class in the view package) had picked up the file save, On saving changes to question, immediately hit the preview test button. Nothing happened, but the errors shown in the attachment were written to the console.
Suspect problem is connected with operations prior to running test being carried out during the updates (GroundControl.perform(FILECHANGED)). This can occur concurrently with other operations because it's run as a result of a thread that monitors for a file change once MathQurate has been launched.
Synchronised saveTest(dest, conf) method, and extracted the FILE_CHANGED changes in GroundControl.perform to synchronised method.