Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313258 - FNFE throw from RCS job
Summary: FNFE throw from RCS job
Status: RESOLVED WORKSFORME
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Jens Baumgart CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-17 19:34 EDT by Remy Suen CLA
Modified: 2010-08-30 11:32 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Remy Suen CLA 2010-05-17 19:34:23 EDT
This was thrown by my inner Eclipse. I had JGit projects in that target workspace. I closed them all. I reopened them. And quickly closed that inner Eclipse. I guess there may be some race condition here.

java.io.FileNotFoundException: 
	at org.eclipse.egit.core.project.GitProjectData.map(GitProjectData.java:467)
	at org.eclipse.egit.core.project.GitProjectData.remapAll(GitProjectData.java:437)
	at org.eclipse.egit.core.project.GitProjectData.load(GitProjectData.java:430)
	at org.eclipse.egit.core.project.GitProjectData.get(GitProjectData.java:166)
	at org.eclipse.egit.core.GitProvider.getData(GitProvider.java:69)
	at org.eclipse.egit.core.project.RepositoryMapping.getMapping(RepositoryMapping.java:246)
	at org.eclipse.egit.ui.Activator$RCS.run(Activator.java:305)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Jens Baumgart CLA 2010-08-30 11:32:52 EDT
RCS code changed with commit f36a6bcfab03302411c5252d01e969b3d305cbe8.
There is no longer a loop over the projects accessing GitProjectData.
Problem should no longer occur.