Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Exception while performing file search(Resource out of sync exception while performing file search)
Exception while performing file search [message #643749] Wed, 08 December 2010 07:39 Go to next message
Mahesh Maney is currently offline Mahesh ManeyFriend
Messages: 28
Registered: July 2009
Junior Member
Hi,
With Eclipse Helios, i get this "Resource out of sync" when i perform a file search Sad
The search starts and by the time it reaches the end, the search operation fails and an exception is encountered which reads as " org.eclipse.core.internal.resources.ResourceException: Resource is out of sync with the file system: " Crying or Very Sad

Anybody have faced this problem earlier ? anything that has to be addressed? please help Smile

[Updated on: Wed, 08 December 2010 07:40]

Report message to a moderator

Re: Exception while performing file search [message #643762 is a reply to message #643749] Wed, 08 December 2010 08:14 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3801
Registered: July 2009
Senior Member
Mahesh Maney wrote:
> Hi,
> With Eclipse Helios, i get this "Resource out of sync" when i perform
> a file search :( The search starts and by the time it reaches the
> end, the search operation fails
It does not fail. It just tells you which files couldn't be read because
they are out of sync.
> and an exception is encountered which reads as "
> org.eclipse.core.internal.resources.ResourceException: Resource is out
> of sync with the file system: " :cry:
> Anybody have faced this problem earlier ? anything that has to be
> addressed?
Don't change your resource outside the workspace or refresh your
workspace if you do so.

Dani
> please help :)
Re: Exception while performing file search [message #643781 is a reply to message #643762] Wed, 08 December 2010 09:26 Go to previous messageGo to next message
Mahesh Maney is currently offline Mahesh ManeyFriend
Messages: 28
Registered: July 2009
Junior Member
Dani,
I'm not changing any of the files or supported files outside the eclipse. it happens very randomly when i try to do a search. however the same behavior does not appear with Galileo eclipse.
Re: Exception while performing file search [message #643848 is a reply to message #643781] Wed, 08 December 2010 13:26 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 26287
Registered: July 2009
Senior Member
Mahesh,

Is this perhaps a mounted file system? Sometimes there are OS/clock
problems associated with the timestamps for mounted files. Eclipse
compares the timestamp it saved with the actual timestamp on the file.
If those are different, it assumes the file has changed in some way. So
either something is really changing the file, or something in the OS is
randomly returning a different timestamp.


Mahesh Maney wrote:
> Dani,
> I'm not changing any of the files or supported files outside the
> eclipse. it happens very randomly when i try to do a search. however
> the same behavior does not appear with Galileo eclipse.
Re: Exception while performing file search [message #643898 is a reply to message #643749] Wed, 08 December 2010 16:11 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 2411
Registered: July 2009
Senior Member
On 12/8/10 2:39 AM, Mahesh Maney wrote:
> Hi,
> With Eclipse Helios, i get this "Resource out of sync" when i perform a
> file search :( The search starts and by the time it reaches the end, the
> search operation fails and an exception is encountered which reads as "
> org.eclipse.core.internal.resources.ResourceException: Resource is out
> of sync with the file system: " :cry:
> Anybody have faced this problem earlier ? anything that has to be
> addressed? please help :)

Right-click on the project or folder that contains the out-of-sync
file(s) and choose Refresh from the pop-up menu.

Eric
icon14.gif  Re: Exception while performing file search [message #645407 is a reply to message #643848] Fri, 17 December 2010 07:02 Go to previous message
Mahesh Maney is currently offline Mahesh ManeyFriend
Messages: 28
Registered: July 2009
Junior Member
Merks,
you are right. we are using mounted file system and there were time stamp differences. this helped me. thank you again Smile
Previous Topic:Get a command id from within a handler?
Next Topic:(Refactor) Rename a Plugin-Projectname fails
Goto Forum:
  


Current Time: Mon Dec 22 01:37:24 GMT 2014

Powered by FUDForum. Page generated in 0.02049 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software