Bug fix: Fixed a NullPointerException occurring with a new source file that was not saved before being compiled.