Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » swt error - has anybody seen that?
swt error - has anybody seen that? [message #992421] Fri, 21 December 2012 10:45 Go to next message
Axel Guckelsberger is currently offline Axel Guckelsberger
Messages: 210
Registered: July 2009
Senior Member
Hi all,

I am getting a weird error for a good while (probably since the update to Juno) in all my Jenkins builds.

ERROR: [SCR] Error while attempting to deactivate instance of component Component[
	name = org.eclipse.e4.ui.css.swt.theme
	activate = activate
	deactivate = deactivate
	modified = 
	configuration-policy = optional
	factory = null
	autoenable = true
	immediate = true
	implementation = org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngineManager
	state = Disabled
	properties = 
	serviceFactory = false
	serviceInterface = [org.eclipse.e4.ui.css.swt.theme.IThemeManager]
	references = null
	located in bundle = org.eclipse.e4.ui.css.swt.theme_0.9.3.v20120806-170624 [591]
]
java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Display
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
	at java.lang.Class.getDeclaredMethods(Class.java:1791)
	at org.eclipse.equinox.internal.ds.model.ServiceComponent.getMethod(ServiceComponent.java:126)
	at org.eclipse.equinox.internal.ds.model.ServiceComponent.deactivate(ServiceComponent.java:337)
	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.deactivate(ServiceComponentProp.java:161)
	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:389)
	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:102)
	at org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:366)
	at org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:306)
	at org.eclipse.equinox.internal.ds.Resolver.disposeComponentConfigs(Resolver.java:717)
	at org.eclipse.equinox.internal.ds.Resolver.disableComponents(Resolver.java:693)
	at org.eclipse.equinox.internal.ds.SCRManager.stoppingBundle(SCRManager.java:554)
	at org.eclipse.equinox.internal.ds.SCRManager.bundleChanged(SCRManager.java:233)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1568)
	at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1504)
	at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1499)
	at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:506)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566)
	at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1206)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:592)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
	at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284)
	at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:692)
	at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:600)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:399)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:199)
	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:629)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.widgets.Display
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
	... 39 more


This seems to be independent of which bundles are installed in the headless Buckminster environment (using five different ones which contain different bundles).

Also this error occurs in all job types, may it building a p2 repository for a certain component / feature, or may it running a test suite.

Has maybe anybody seen this before?

Thank you, Axel
Re: swt error - has anybody seen that? [message #992685 is a reply to message #992421] Sat, 22 December 2012 04:38 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo Bettini
Messages: 1260
Registered: July 2009
Senior Member
as far as I know buckminster headless should not use swt stuff... what
features have you installed in your headless buckminster?

cheers
Lorenzo

On 12/21/2012 04:45 PM, Axel Guckelsberger wrote:
> Hi all,
>
> I am getting a weird error for a good while (probably since the update
> to Juno) in all my Jenkins builds.
>
>
> ERROR: [SCR] Error while attempting to deactivate instance of component
> Component[
> name = org.eclipse.e4.ui.css.swt.theme
> activate = activate
> deactivate = deactivate
> modified = configuration-policy = optional
> factory = null
> autoenable = true
> immediate = true
> implementation =
> org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngineManager
> state = Disabled
> properties = serviceFactory = false
> serviceInterface = [org.eclipse.e4.ui.css.swt.theme.IThemeManager]
> references = null
> located in bundle =
> org.eclipse.e4.ui.css.swt.theme_0.9.3.v20120806-170624 [591]
> ]
> java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Display
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
> at java.lang.Class.getDeclaredMethods(Class.java:1791)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponent.getMethod(ServiceComponent.java:126)
>
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponent.deactivate(ServiceComponent.java:337)
>
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.deactivate(ServiceComponentProp.java:161)
>
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:389)
>
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:102)
>
> at
> org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:366)
>
> at
> org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:306)
>
> at
> org.eclipse.equinox.internal.ds.Resolver.disposeComponentConfigs(Resolver.java:717)
>
> at
> org.eclipse.equinox.internal.ds.Resolver.disableComponents(Resolver.java:693)
>
> at
> org.eclipse.equinox.internal.ds.SCRManager.stoppingBundle(SCRManager.java:554)
>
> at
> org.eclipse.equinox.internal.ds.SCRManager.bundleChanged(SCRManager.java:233)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>
> at
> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
>
> at
> org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1568)
>
> at
> org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1504)
>
> at
> org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1499)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:506)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566)
>
> at
> org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1206)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:592)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
>
> at
> org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284)
>
> at
> org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:692)
>
> at
> org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:600)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:399)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:199)
>
> 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:629)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
> Caused by: java.lang.ClassNotFoundException:
> org.eclipse.swt.widgets.Display
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
>
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> ... 39 more
>
>
> This seems to be independent of which bundles are installed in the
> headless Buckminster environment (using five different ones which
> contain different bundles).
>
> Also this error occurs in all job types, may it building a p2 repository
> for a certain component / feature, or may it running a test suite.
>
> Has maybe anybody seen this before?
>
> Thank you, Axel
>


--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
Re: swt error - has anybody seen that? [message #992692 is a reply to message #992685] Sat, 22 December 2012 05:01 Go to previous messageGo to next message
Axel Guckelsberger is currently offline Axel Guckelsberger
Messages: 210
Registered: July 2009
Senior Member
There are the default features:
- http://download.eclipse.org/tools/buckminster/headless-4.2
org.eclipse.buckminster.pde.headless.feature
- http://download.eclipse.org/tools/buckminster/headless-4.2
org.eclipse.buckminster.git.headless.feature
- http://download.eclipse.org/tools/buckminster/headless-4.2
org.eclipse.buckminster.emma.headless.feature
- http://download.cloudsmith.com/buckminster/external-4.2
org.eclipse.buckminster.emma.headless.feature

And these additional ones:
- emf codegen ecore including the ant capability
http://download.eclipse.org/releases/juno/ org.eclipse.emf.codegen.ecore
- emf converter
http://download.eclipse.org/releases/juno/ org.eclipse.emf.converter
- mwe
http://download.eclipse.org/releases/juno/ org.eclipse.emf.mwe.core

Going to try out whether the error occurs also without the three additional
features, too.

Thanks,
Axel


Lorenzo Bettini wrote:

> as far as I know buckminster headless should not use swt stuff... what
> features have you installed in your headless buckminster?
>
> cheers
> Lorenzo
>
> On 12/21/2012 04:45 PM, Axel Guckelsberger wrote:
>> Hi all,
>>
>> I am getting a weird error for a good while (probably since the update
>> to Juno) in all my Jenkins builds.
>>
>>
>> ERROR: [SCR] Error while attempting to deactivate instance of component
>> Component[
>> name = org.eclipse.e4.ui.css.swt.theme
>> activate = activate
>> deactivate = deactivate
>> modified = configuration-policy = optional
>> factory = null
>> autoenable = true
>> immediate = true
>> implementation =
>> org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngineManager
>> state = Disabled
>> properties = serviceFactory = false
>> serviceInterface = [org.eclipse.e4.ui.css.swt.theme.IThemeManager]
>> references = null
>> located in bundle =
>> org.eclipse.e4.ui.css.swt.theme_0.9.3.v20120806-170624 [591]
>> ]
>> java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Display
>> at java.lang.Class.getDeclaredMethods0(Native Method)
>> at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
>> at java.lang.Class.getDeclaredMethods(Class.java:1791)
>> at
>>
org.eclipse.equinox.internal.ds.model.ServiceComponent.getMethod(ServiceComponent.java:126)
>>
>> at
>>
org.eclipse.equinox.internal.ds.model.ServiceComponent.deactivate(ServiceComponent.java:337)
>>
>> at
>>
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.deactivate(ServiceComponentProp.java:161)
>>
>> at
>>
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:389)
>>
>> at
>>
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:102)
>>
>> at
>>
org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:366)
>>
>> at
>>
org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:306)
>>
>> at
>>
org.eclipse.equinox.internal.ds.Resolver.disposeComponentConfigs(Resolver.java:717)
>>
>> at
>>
org.eclipse.equinox.internal.ds.Resolver.disableComponents(Resolver.java:693)
>>
>> at
>>
org.eclipse.equinox.internal.ds.SCRManager.stoppingBundle(SCRManager.java:554)
>>
>> at
>>
org.eclipse.equinox.internal.ds.SCRManager.bundleChanged(SCRManager.java:233)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
>>
>> at
>>
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>>
>> at
>>
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1568)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1504)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1499)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:506)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1206)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:592)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:692)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:600)
>>
>> at
>>
org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:399)
>>
>> at
>>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:199)
>>
>> 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:629)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
>> at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
>> Caused by: java.lang.ClassNotFoundException:
>> org.eclipse.swt.widgets.Display
>> at
>>
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
>>
>> at
>>
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
>>
>> at
>>
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
>>
>> at
>>
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
>>
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>> ... 39 more
>>
>>
>> This seems to be independent of which bundles are installed in the
>> headless Buckminster environment (using five different ones which
>> contain different bundles).
>>
>> Also this error occurs in all job types, may it building a p2 repository
>> for a certain component / feature, or may it running a test suite.
>>
>> Has maybe anybody seen this before?
>>
>> Thank you, Axel
>>
>
>
Re: swt error - has anybody seen that? [message #992707 is a reply to message #992692] Sat, 22 December 2012 05:57 Go to previous messageGo to next message
Axel Guckelsberger is currently offline Axel Guckelsberger
Messages: 210
Registered: July 2009
Senior Member
Hi Lorenzo,

seems like the org.eclipse.emf.mwe.core feature indeed introduced the SWT
dependencies. Thanks again, now I can investigate further!

Axel
Re: swt error - has anybody seen that? [message #992761 is a reply to message #992707] Sat, 22 December 2012 09:39 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo Bettini
Messages: 1260
Registered: July 2009
Senior Member
On 12/22/2012 11:57 AM, Axel Guckelsberger wrote:
> Hi Lorenzo,
>
> seems like the org.eclipse.emf.mwe.core feature indeed introduced the SWT
> dependencies. Thanks again, now I can investigate further!
>
> Axel
>

but do your Jenkins job fail because of those exceptions? Otherwise you
might ignore them (not sure though :)

cheers
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
Re: swt error - has anybody seen that? [message #993052 is a reply to message #992421] Sun, 23 December 2012 02:57 Go to previous message
Eike Stepper is currently offline Eike Stepper
Messages: 5446
Registered: July 2009
Senior Member
Am 21.12.2012 16:45, schrieb Axel Guckelsberger:
> Hi all,
>
> I am getting a weird error for a good while (probably since the update to Juno) in all my Jenkins builds.
That one is annoying. I had to go back to org.eclipse.buckminster.site.eclipse.headless_1.5.0.v20121007-1625.zip ;-(

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Previous Topic:creating an action which depends on other components' actions
Next Topic:qualifier.replacement does not work in the IDE?
Goto Forum:
  


Current Time: Sun Apr 20 06:58:19 EDT 2014

Powered by FUDForum. Page generated in 0.06082 seconds