Community
Participate
Working Groups
Error log says: Exception in Decorator. The 'Git' decorator will be disabled. java.lang.ArrayIndexOutOfBoundsException: 0 at org.eclipse.jgit.dircache.DirCacheTree.getChild(DirCacheTree.java:249) at org.eclipse.jgit.dircache.DirCacheIterator.parseEntry(DirCacheIterator.java:202) at org.eclipse.jgit.dircache.DirCacheIterator.<init>(DirCacheIterator.java:124) at org.eclipse.jgit.dircache.DirCacheIterator.createSubtreeIterator(DirCacheIterator.java:133) at org.eclipse.jgit.treewalk.AbstractTreeIterator.createSubtreeIterator(AbstractTreeIterator.java:479) at org.eclipse.jgit.treewalk.TreeWalk.enterSubtree(TreeWalk.java:839) at org.eclipse.jgit.treewalk.TreeWalk.next(TreeWalk.java:507) at org.eclipse.egit.ui.internal.decorators.DecoratableResourceAdapter.extractContainerProperties(DecoratableResourceAdapter.java:274) at org.eclipse.egit.ui.internal.decorators.DecoratableResourceAdapter.<init>(DecoratableResourceAdapter.java:108) at org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator.decorate(GitLightweightDecorator.java:211) 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:371) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
How can we reproduce this bug? Is there a special repository which causes the problem?
fwiw, I don't see the problem with recent 0.9.x egit builds.
Problem seems to be fixed with the changes in decorator implementation (exclude derived stuff like bin etc).