Project: JDT
Bug 269167 many exceptions in .log due to JavaElementResourceMapping after deleting a package
Reported: 2009-03-18 07:32:18 | Status: verified fixed

I20090317-1745. I got many exceptions in .log due to JavaElementResourceMapping after deleting a class. !ENTRY org.eclipse.team.cvs.ui 4 0 2009-03-18 11:32:13.416 !MESSAGE Errors occurred while applying CVS decorations to resources. !STACK 1 Java Model Exception: Java Model Status [org.eclipse.jface.layout [in src [in org.eclipse.ltk.ui.refactoring]] does not exist] at org.eclipse.jdt.internal.core.JavaElement.newJavaModelException(JavaElement.java:502) at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:246) at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:515) at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:252) at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:238) at org.eclipse.jdt.internal.core.PackageFragment.getNonJavaResources(PackageFragment.java:300) at org.eclipse.jdt.internal.corext.util.JavaElementResourceMapping.getPackageFragmentTraversals(JavaElementResourceMapping.java:196) at org.eclipse.jdt.internal.corext.util.JavaElementResourceMapping.access$1(JavaElementResourceMapping.java:189) at org.eclipse.jdt.internal.corext.util.JavaElementResourceMapping$PackageFragmentResourceMapping.getTraversals(JavaElementResourceMapping.java:184) at org.eclipse.team.internal.ccvs.ui.CVSLightweightDecorator.getTraversalRoots(CVSLightweightDecorator.java:261) at org.eclipse.team.internal.ccvs.ui.CVSLightweightDecorator.isSupervised(CVSLightweightDecorator.java:248) at org.eclipse.team.internal.ccvs.ui.CVSLightweightDecorator.decorate(CVSLightweightDecorator.java:209) at org.eclipse.team.internal.ccvs.ui.CVSLightweightDecorator.decorate(CVSLightweightDecorator.java:161) 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:37) 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:374) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:334) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !SUBENTRY 1 org.eclipse.jdt.core 4 969 2009-03-18 11:32:13.416 !MESSAGE org.eclipse.jface.layout [in src [in org.eclipse.ltk.ui.refactoring]] does not exist

Files changed in fix:
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/model/ContentProviderTests.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JavaElementResourceMapping.java