Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 342952

Summary: Git team provider configuration has gone missing - error logged on every ResourceDelta
Product: [Technology] EGit Reporter: James Blackburn <jamesblackburn+eclipse>
Component: CoreAssignee: Project Inbox <egit.core-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: error-reports-inbox, john.arthorne, matthias.sohn
Version: 1.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Zipped log from one day last week none

Description James Blackburn CLA 2011-04-15 07:34:40 EDT
Using egit 0.11.3 a user has an exception logged to the eclipse error log every time there's a resource delta. This happens very frequently chewing disk space and network I/O as we collect and log errors using UDC.

error,log,org.eclipse.core.runtime,3.6.0.v20100505,"Git team provider configuration has gone missing.
java.io.FileNotFoundException: /projects/surtsey/work/tdobson/.eclipse/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects/XXXX/org.eclipse.egit.core/GitProjectData.properties (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at org.eclipse.egit.core.project.GitProjectData.load(GitProjectData.java:397)
	at org.eclipse.egit.core.project.GitProjectData.get(GitProjectData.java:168)
	at org.eclipse.egit.core.GitProvider.getData(GitProvider.java:78)
	at org.eclipse.egit.core.project.RepositoryMapping.getMapping(RepositoryMapping.java:223)
	at org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator$3.visit(GitLightweightDecorator.java:696)
	at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
	at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
	at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
	at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
	at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
	at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
	at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:55)
	at org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator.resourceChanged(GitLightweightDecorator.java:681)
	at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:291)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
	at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
	at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:397)
	at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1500)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:45)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
",1301312982635
Comment 1 John Arthorne CLA 2011-06-27 09:10:02 EDT
Created attachment 198646 [details]
Zipped log from one day last week

I get this all the time, and it makes my error log unusable. I had 10MB of log entries in two days last week. If there were really important problems, I would likely miss them. Please consider not logging this, or only logging it once per session.
Comment 2 John Arthorne CLA 2011-06-27 09:11:03 EDT
Bumping up version because I see this in eGit 1.0. I am using Windows 7 64-bit.
Comment 3 Matthias Sohn CLA 2015-11-20 08:38:22 EST
this was fixed a long time back
Comment 4 Matthias Sohn CLA 2017-09-22 18:44:39 EDT
*** Bug 446869 has been marked as a duplicate of this bug. ***