Are you trying to open a project with the xml extension in BAS? Probably your project is damaged, you did not edit it manually using text editors? Try to restore it from backups located here:
C:\Users\User\AppData\Roaming\BrowserAutomationStudio\projectbackups
Yes, I am already using try catch, but I still wanted to ask about this. I thought there was a specific action for this in BAS, such as OnApplicationExit, just like ‘OnApplicationStart’.