Fixed NPE when a file that caused an error dialogue to display was added to the configuration (#86).