This message has the following cause and solution:
This error sometimes occurs if someone deletes the file that you wanted to operate on (or deletes the whole project, for that matter)- make sure your project is still there. Next, make sure you have something checked out.