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

Bug 335000

Summary: Synchronize: Resource Exception logged for file is out of sync with fs...
Product: [Technology] EGit Reporter: James Blackburn <jamesblackburn+eclipse>
Component: CoreAssignee: Dariusz Luksza <dariusz.luksza>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: dariusz.luksza, matthias.sohn
Version: 0.11   
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:

Description James Blackburn CLA 2011-01-21 06:59:01 EST
Eclipse EGit (Incubation)	0.11.0.201101181937	org.eclipse.egit.feature.group
  Eclipse EGit - Source (Incubation)	0.11.0.201101181937	org.eclipse.egit.source.feature.group
  Eclipse JGit (Incubation)	0.11.0.201101171634	org.eclipse.jgit.feature.group
  Eclipse JGit - Source (Incubation)	0.11.0.201101171634	org.eclipse.jgit.source.feature.group

org.eclipse.core.internal.resources.ResourceException: Resource is out of sync with the file system: '/org.eclipse.cdt.ui/plugin.xml'.
	at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:699)
	at org.eclipse.core.internal.resources.File.getContents(File.java:293)
	at org.eclipse.core.internal.resources.File.getContents(File.java:282)
	at org.eclipse.egit.core.synchronize.GitResourceVariantComparator.getLocal(GitResourceVariantComparator.java:114)
	at org.eclipse.egit.core.synchronize.GitResourceVariantComparator.compare(GitResourceVariantComparator.java:55)
	at org.eclipse.team.core.synchronize.SyncInfo.calculateKind(SyncInfo.java:442)
	at org.eclipse.team.core.synchronize.SyncInfo.init(SyncInfo.java:389)
	at org.eclipse.egit.core.synchronize.GitResourceVariantTreeSubscriber.getSyncInfo(GitResourceVariantTreeSubscriber.java:117)
	at org.eclipse.team.core.variants.ResourceVariantTreeSubscriber.getSyncInfo(ResourceVariantTreeSubscriber.java:59)
	at org.eclipse.team.core.subscribers.Subscriber.getDiff(Subscriber.java:371)
	at org.eclipse.team.internal.core.subscribers.SubscriberDiffTreeEventHandler.handleChange(SubscriberDiffTreeEventHandler.java:162)
	at org.eclipse.team.internal.core.subscribers.SubscriberEventHandler.collect(SubscriberEventHandler.java:219)
	at org.eclipse.team.internal.core.subscribers.SubscriberEventHandler.processEvent(SubscriberEventHandler.java:310)
	at org.eclipse.team.internal.core.BackgroundEventHandler.processEvents(BackgroundEventHandler.java:369)
	at org.eclipse.team.internal.core.BackgroundEventHandler$1.run(BackgroundEventHandler.java:203)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Dariusz Luksza CLA 2011-02-24 19:57:09 EST
This change set should fix this issue:
http://egit.eclipse.org/r/2596
Comment 2 Matthias Sohn CLA 2011-02-26 18:12:02 EST
merged as 696ae40824fc3ec2bea9b43de34c4916306a9d1f