Errors when the GUI was executed