I spoke to Cakewalk support and they helped me solve the problem, so I'm posting the solution here in case anyone runs into a similar issue.
What I did was to open the project file in safe mode by holding down the shift key.
When you do that, Sonar prompts you before loading each resource in the project, and you can figure out which one is missing.