I run Eclipse Luna on Ubuntu 12.0.4 in VirtualBox with a Windows 8 host, and from time to time I load Ubuntu and open Eclipse to find this:

My projects should be listed in the package explorer, but they are all empty and whenever I try to import the project again, it says that no projects were found.
At this point, I usually go to the workspace folder and delete the .lock file and restore the workspace, but is there an alternative to this? This error occurs every ~ 5 times. I reopen Eclipse and it has become very annoying. Any help would be appreciated!
EDIT: Well, I just tried deleting the .lock file in the .metadata folder in my workspace, and I still get the same error. Any suggestions?
EDIT 2: When closing my open tabs, I got this error. The projects that were open were Maven projects, if that mattered.

source share