when running the egit ui tests I hit this case many times, if this happens frequently either this points to a bug or we should not throw an error but instead only write a trace if debug trace is on, also the path of the resource should be given, otherwise this stack trace is quite useless to understand the cause

!ENTRY org.eclipse.egit.ui 4 0 2011-01-21 11:02:57.596
!MESSAGE Errors occurred while applying Git decorations to resources.
!STACK 1
org.eclipse.core.runtime.CoreException: Resource could not be decorated
	at org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator.prepareDecoration(GitLightweightDecorator.java:299)
	at org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator.processDecoration(GitLightweightDecorator.java:267)
	at org.eclipse.egit.ui.internal.decorators.GitDecoratorJob.run(GitDecoratorJob.java:60)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
!SUBENTRY 1 org.eclipse.egit.ui 4 0 2011-01-21 11:02:57.596
!MESSAGE Resource could not be decorated