Created by: dobozysaurus
RSpecMojo has a small bug on the calculation of success or failure: it is possible for RSpecMojo.runIt to execute without ever assigning a value to its JRubyRun.Result.message instance, since a message value is only assigned if RSpecMojo finds a line containing the words "failure" and "example". If that happens, it will cause an NPE when calculating success on the last line of that method.
The fix creates a default message ("An unknown error occurred" and sets the result success flag to false.