Project: Eclipse_Platform_UI
Bug 28134 [Decorators] Decorator thread died
Reported: 2002-12-11 15:29:03 | Status: closed fixed

The cause of this may be the CVS decorator but whatever caused the error, it killed the decorator thread. It looks like an asyncExec is needed. org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:2182) at org.eclipse.swt.SWT.error(SWT.java:2110) at org.eclipse.swt.widgets.Widget.error(Widget.java:370) at org.eclipse.swt.widgets.Shell.<init>(Shell.java:242) at org.eclipse.swt.widgets.Shell.<init>(Shell.java:320) at org.eclipse.jface.window.Window.createShell(Window.java:314) at org.eclipse.jface.window.Window.create(Window.java:280) at org.eclipse.jface.window.Window.open(Window.java:530) at org.eclipse.jface.dialogs.MessageDialog.openError (MessageDialog.java:279) at org.eclipse.jface.util.SafeRunnable.handleException (SafeRunnable.java:42) at org.eclipse.core.internal.runtime.InternalPlatform.handleException (InternalPlatform.java:444) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:854) at org.eclipse.core.runtime.Platform.run(Platform.java:413) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.internalGetDec orator(LightweightDecoratorDefinition.java:82) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate (LightweightDecoratorDefinition.java:151) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations (LightweightDecoratorManager.java:152) at org.eclipse.ui.internal.decorators.DecorationScheduler$3.run (DecorationScheduler.java:286) at java.lang.Thread.run(Thread.java:512)

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/decorators/LightweightDecoratorManager.java