Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319457 - Exception when instantiating CVSLightweightDecorator
Summary: Exception when instantiating CVSLightweightDecorator
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: CVS (show other bugs)
Version: 3.6   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: platform-cvs-inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-10 03:37 EDT by Torkild Resheim CLA
Modified: 2021-12-16 14:03 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Torkild Resheim CLA 2010-07-10 03:37:50 EDT
What steps will reproduce the problem?
Not sure, I simply started the SDK.

-- Error Details --
Date: Sat Jul 10 09:24:22 CEST 2010
Message: Plug-in "org.eclipse.team.cvs.ui" was unable to instantiate class "org.eclipse.team.internal.ccvs.ui.CVSLightweightDecorator".
Severity: Error
Product: Eclipse SDK 3.6.0.v201006080911 (org.eclipse.sdk.ide)
Plugin: org.eclipse.equinox.registry
Exception Stack Trace:
org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:4083)
at org.eclipse.swt.SWT.error(SWT.java:3998)
at org.eclipse.swt.SWT.error(SWT.java:3969)
at org.eclipse.swt.widgets.Display.error(Display.java:1027)
at org.eclipse.swt.widgets.Display.createDisplay(Display.java:794)
at org.eclipse.swt.widgets.Display.create(Display.java:777)
at org.eclipse.swt.graphics.Device.<init>(Device.java:130)
at org.eclipse.swt.widgets.Display.<init>(Display.java:668)
at org.eclipse.swt.widgets.Display.<init>(Display.java:659)
at org.eclipse.swt.widgets.Display.getDefault(Display.java:1303)
at org.eclipse.team.internal.ccvs.ui.CVSUIPlugin.getStandardDisplay(CVSUIPlugin.java:101)
at org.eclipse.team.internal.ccvs.ui.CVSLightweightDecorator.ensureFontAndColorsCreated(CVSLightweightDecorator.java:88)
at org.eclipse.team.internal.ccvs.ui.CVSLightweightDecorator.<init>(CVSLightweightDecorator.java:73)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:904)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:259)
at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition$1.run(LightweightDecoratorDefinition.java:124)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:888)
at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.internalGetDecorator(LightweightDecoratorDefinition.java:120)
at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:251)
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:54)
Comment 1 Torkild Resheim CLA 2010-07-10 03:39:08 EDT
I get the same issue with org.tigris.subversion.subclipse.ui.decorator.SVNLightweightDecorator and com.vectrace.MercurialEclipse.team.ResourceDecorator
Comment 2 Tomasz Zarna CLA 2010-07-14 04:58:18 EDT
Does it happen when you switch to a different workspace? Are you able to reproduce it on a fresh workspace?
Comment 3 Mike CLA 2010-08-05 17:16:42 EDT
Just to add a datapoint, I came a cross a similar problem after moving to 3.6.0 (Build id: 20100617-1415).  I have a RCP app that I run via Web Start in Linux GTK i386, Windows, and macosx.  Linux and windows work fine, but the macosx dies with this:

SESSION 2010-08-05 13:55:45.512 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_20
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US

!ENTRY org.eclipse.osgi 4 0 2010-08-05 13:55:47.644
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTException: Invalid thread access
       at org.eclipse.swt.SWT.error(SWT.java:4083)
       at org.eclipse.swt.SWT.error(SWT.java:3998)
       at org.eclipse.swt.SWT.error(SWT.java:3969)
       at org.eclipse.swt.widgets.Display.error(Display.java:1027)
       at org.eclipse.swt.widgets.Display.createDisplay(Display.java:794)
       at org.eclipse.swt.widgets.Display.create(Display.java:777)
       at org.eclipse.swt.graphics.Device.<init>(Device.java:130)
       at org.eclipse.swt.widgets.Display.<init>(Display.java:668)
       at org.eclipse.swt.widgets.Display.<init>(Displayjava:659)
       at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:707)
       at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
       at com.zhone.rtl.tpm.rcp.Application.start(Application.java:22)
       at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
       at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
       at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
       at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
       at orgeclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
       at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
       at org.eclipse.equinox.launcher.WebStartMain.basicRun(WebStartMain.java:79)
       at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
       at org.eclipse.equinox.launcherWebStartMain.main(WebStartMain.java:57)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at com.sun.javaws.Launcher.executeApplication(Launcher.java:1812)
       at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1750)
       at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1532)
       at com.sun.javaws.Launcher.run(Launcher.java:135)
       at java.lang.Thread.run(Thread.java:637)
Comment 4 Tomasz Zarna CLA 2010-08-23 06:34:28 EDT
Mike, you can get the "Invalid thread access" exception in many different situations. The one you pasted doesn't seem to be related, even though it looks similar. You can find more info why you get the exception here: http://wiki.eclipse.org/FAQ_Why_do_I_get_an_invalid_thread_access_exception%3F.

(In reply to comment #2)
> Does it happen when you switch to a different workspace? Are you able to
> reproduce it on a fresh workspace?

Torkild, any news?
Comment 5 Torkild Resheim CLA 2010-09-10 15:02:53 EDT
Sorry about the late reply. I have not seen this in a while and there is nothing in my log either. I have rearranged my projects into two new workspaces so this may be the reason.
Comment 6 Eclipse Webmaster CLA 2019-09-06 16:17:29 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 7 Eclipse Genie CLA 2021-12-16 14:03:41 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.