Project: Eclipse_Platform_UI
Bug 133495 [StatusHandling] ErrorDialog: Wrap message
Reported: 2006-03-28 05:43:15 | Status: verified fixed

I20060328-0010 While searching through my workspace I got the error message shown in the attachment (Resource is out of sync). The message is not only shown in an error dialog but also written to the log. The error dialog would be enough. !ENTRY org.eclipse.search 4 0 2006-03-28 12:38:47.310 !MESSAGE Problems encountered during text search. !SUBENTRY 1 org.eclipse.search 4 2 2006-03-28 12:38:47.341 !MESSAGE File 'org.eclipse.core.resources/ant_tasks/resources-ant.jar' has been skipped, problem while reading: ('Resource is out of sync wi th the file system: /org.eclipse.core.resources/ant_tasks/resources-ant.jar.'). !STACK 1 org.eclipse.core.internal.resources.ResourceException: Resource is out of sync with the file system: /org.eclipse.core.resources/ant_tasks/r esources-ant.jar. at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:606) at org.eclipse.core.internal.resources.File.getContents(File.java:290) at org.eclipse.core.internal.resources.File.getContents(File.java:279) at org.eclipse.search.internal.core.text.FileCharSequenceProvider$FileCharSequence.getInputStream(FileCharSequenceProvider.java:282) at org.eclipse.search.internal.core.text.FileCharSequenceProvider$FileCharSequence.initializeReader(FileCharSequenceProvider.java:27 6) at org.eclipse.search.internal.core.text.FileCharSequenceProvider$FileCharSequence.reset(FileCharSequenceProvider.java:268) at org.eclipse.search.internal.core.text.FileCharSequenceProvider.newCharSequence(FileCharSequenceProvider.java:40) at org.eclipse.search.internal.core.text.TextSearchVisitor.processFile(TextSearchVisitor.java:216) at org.eclipse.search.internal.core.text.TextSearchVisitor.processFiles(TextSearchVisitor.java:155) at org.eclipse.search.internal.core.text.TextSearchVisitor.search(TextSearchVisitor.java:140) at org.eclipse.search.internal.core.text.TextSearchVisitor.search(TextSearchVisitor.java:149) at org.eclipse.search.core.text.TextSearchEngine$1.search(TextSearchEngine.java:54) at org.eclipse.search.internal.ui.text.FileSearchQuery.run(FileSearchQuery.java:93) at org.eclipse.search2.internal.ui.InternalSearchUI$InternalSearchJob.run(InternalSearchUI.java:89) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58) !SUBENTRY 2 org.eclipse.core.resources 4 274 2006-03-28 12:38:47.341 !MESSAGE Resource is out of sync with the file system: /org.eclipse.core.resources/ant_tasks/resources-ant.jar.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/statushandlers/WorkbenchStatusDialog.java