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

Bug 341951

Summary: ClassCastException in decorators
Product: [Technology] EGit Reporter: Andrew Niefer <aniefer>
Component: CoreAssignee: Project Inbox <egit.core-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: caniszczyk
Version: 0.12   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Andrew Niefer CLA 2011-04-05 14:22:24 EDT
Running EGit 0.12.0.201103251413 on top of Eclipse 3.7 I20110405-0800 I get the following exception in my log and the git decorators are not showing.

This exception is immediately after another log entry which just says:
"Exception in Decorator. The 'Git' decorator will be disabled." without a stack trace.



java.lang.ClassCastException: java.lang.String incompatible with java.lang.Boolean
	at org.eclipse.team.core.Team.getIgnoreInfo(Team.java:192)
	at org.eclipse.team.core.Team.getAllIgnores(Team.java:167)
	at org.eclipse.team.core.Team.getStringMatchers(Team.java:209)
	at org.eclipse.team.core.Team.matchesEnabledIgnore(Team.java:121)
	at org.eclipse.team.core.Team.isIgnoredHint(Team.java:106)
	at org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator.decorate(GitLightweightDecorator.java:276)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:263)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365)
	at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:370)
	at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:330)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Andrew Niefer CLA 2011-04-05 14:26:29 EDT
This may not be EGit's problem, see bug 341952
Comment 2 Andrew Niefer CLA 2011-04-18 13:56:48 EDT

*** This bug has been marked as a duplicate of bug 209834 ***