070709, no idea how to reproduce. I think had just closed nbbuild project.
Classpaths.closed is calling foreign code (GlobalPathRegistry.unregister) while holding a lock, which is no good. I am
unable to determine why ProjectManager.findProject is blocking, however.
Created attachment 44862 [details]
So far no more occurrences of the problem, hence closing the issue.