Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Re: Exported RCP tutorial crashes when run
Re: Exported RCP tutorial crashes when run [message #539686] Fri, 11 June 2010 20:34 Go to next message
Nitin Dahyabhai is currently online Nitin DahyabhaiFriend
Messages: 2335
Registered: July 2009
Senior Member
You might have better luck in an RCP newsgroup.
---


On 6/10/2010 12:28 PM, Nick Griffiths wrote:
> I've just started learning how to create RCP applications and have come
> across a problem whilst following the tutorial. I can create a simple
> "Hello RCP" application with a product file and run it from within
> Eclipse (using the "Launch an Eclipse application" link) with no
> problem. However, when I export the application using the "Eclipse
> Product export wizard" and run it, it crashes. The following steps
> recreate my problem:
>
>
> Install Eclipse Helios RC3 for RCP and RAP Developers (win32).
> Start Tutorial "Create a Rich Client Platform (RCP) application".
> Follow steps in "Create a plug-in" tutorial (except the section "Modify
> the plug-in source", which instructs the user to write code to change
> the window title).
> Follow steps in "Define a plug-in based product".
> Follow steps in "Export an RCP product".
> When the executable output is run, a command window opens, prints a
> stack trace and closes automatically. The log file from my
> "..\rcpapp_plugin-based\configuration" directory is at the bottom of
> this post.
>
>
> I have followed the RCP tutorial using Eclipse Galileo and I can export
> and run the RCP tutorial application with no problems.
>
> Can anyone help me work out what the problem is?
>
>
>
> !SESSION 2010-06-10 17:01:00.389
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.6.0_20
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=${target.os}, ARCH=${target.arch},
> WS=${target.ws}, NL=${target.nl}
> Command-line arguments: -os ${target.os} -ws ${target.ws} -arch
> ${target.arch} -consoleLog
>
> !ENTRY org.eclipse.osgi 4 0 2010-06-10 17:01:01.468
> !MESSAGE An error occurred while automatically activating bundle
> org.eclipse.ui.workbench (27).
> !STACK 0
> org.osgi.framework.BundleException: The activator
> org.eclipse.ui.internal.WorkbenchPlugin for bundle
> org.eclipse.ui.workbench is invalid
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.load
> BundleActivator(AbstractBundle.java:156)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s
> tart(BundleContextImpl.java:751)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWor
> ker(BundleHost.java:370)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.star
> t(AbstractBundle.java:284)
> at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct
> ion.java:417)
> at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger
> (BundleLoader.java:265)
> at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
> .postFindLocalClass(EclipseLazyStarter.java:106)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClass(ClasspathManager.java:453)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin
> dLocalClass(DefaultClassLoader.java:216)
> at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass
> (BundleLoader.java:393)
> at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadCla
> ss(SingleSourcePackage.java:33)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter
> nal(BundleLoader.java:466)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:422)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:410)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa
> dClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClassCond(Unknown Source)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.def
> ineClass(DefaultClassLoader.java:188)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineC
> lass(ClasspathManager.java:580)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findCla
> ssImpl(ClasspathManager.java:550)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClassImpl(ClasspathManager.java:481)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClass_LockClassLoader(ClasspathManager.java:469)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClass(ClasspathManager.java:449)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin
> dLocalClass(DefaultClassLoader.java:216)
> at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass
> (BundleLoader.java:393)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter
> nal(BundleLoader.java:469)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:422)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:410)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa
> dClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund
> leLoader.java:338)
> at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas
> s(BundleHost.java:232)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.load
> BundleActivator(AbstractBundle.java:149)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s
> tart(BundleContextImpl.java:751)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWor
> ker(BundleHost.java:370)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.star
> t(AbstractBundle.java:284)
> at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct
> ion.java:417)
> at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger
> (BundleLoader.java:265)
> at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
> .postFindLocalClass(EclipseLazyStarter.java:106)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClass(ClasspathManager.java:453)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin
> dLocalClass(DefaultClassLoader.java:216)
> at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass
> (BundleLoader.java:393)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter
> nal(BundleLoader.java:469)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:422)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:410)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa
> dClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund
> leLoader.java:338)
> at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas
> s(BundleHost.java:232)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.load
> Class(AbstractBundle.java:1197)
> at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI
> .createExecutableExtension(RegistryStrategyOSGI.java:174)
> at org.eclipse.core.internal.registry.ExtensionRegistry.createE
> xecutableExtension(ExtensionRegistry.java:904)
> at org.eclipse.core.internal.registry.ConfigurationElement.crea
> teExecutableExtension(ConfigurationElement.java:243)
> at org.eclipse.core.internal.registry.ConfigurationElementHandl
> e.createExecutableExtension(ConfigurationElementHandle.java: 55)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips
> eAppHandle.java:191)
> 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(EclipseS
> tarter.java:369)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
> tarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> 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.Main.run(Main.java:1407)
> Caused by: java.lang.NoClassDefFoundError: org/eclipse/swt/SWTError
> at java.lang.Class.getDeclaredConstructors0(Native Method)
> at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
> at java.lang.Class.getConstructor0(Unknown Source)
> at java.lang.Class.newInstance0(Unknown Source)
> at java.lang.Class.newInstance(Unknown Source)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.load
> BundleActivator(AbstractBundle.java:151)
> ... 67 more
> Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.SWTError
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter
> nal(BundleLoader.java:506)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:422)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:410)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa
> dClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> ... 73 more
> Root exception:
> java.lang.NoClassDefFoundError: org/eclipse/swt/SWTError
> at java.lang.Class.getDeclaredConstructors0(Native Method)
> at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
> at java.lang.Class.getConstructor0(Unknown Source)
> at java.lang.Class.newInstance0(Unknown Source)
> at java.lang.Class.newInstance(Unknown Source)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.load
> BundleActivator(AbstractBundle.java:151)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s
> tart(BundleContextImpl.java:751)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWor
> ker(BundleHost.java:370)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.star
> t(AbstractBundle.java:284)
> at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct
> ion.java:417)
> at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger
> (BundleLoader.java:265)
> at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
> .postFindLocalClass(EclipseLazyStarter.java:106)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClass(ClasspathManager.java:453)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin
> dLocalClass(DefaultClassLoader.java:216)
> at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass
> (BundleLoader.java:393)
> at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadCla
> ss(SingleSourcePackage.java:33)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter
> nal(BundleLoader.java:466)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:422)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:410)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa
> dClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClassCond(Unknown Source)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.def
> ineClass(DefaultClassLoader.java:188)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineC
> lass(ClasspathManager.java:580)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findCla
> ssImpl(ClasspathManager.java:550)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClassImpl(ClasspathManager.java:481)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClass_LockClassLoader(ClasspathManager.java:469)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClass(ClasspathManager.java:449)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin
> dLocalClass(DefaultClassLoader.java:216)
> at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass
> (BundleLoader.java:393)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter
> nal(BundleLoader.java:469)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:422)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:410)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa
> dClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund
> leLoader.java:338)
> at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas
> s(BundleHost.java:232)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.load
> BundleActivator(AbstractBundle.java:149)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s
> tart(BundleContextImpl.java:751)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWor
> ker(BundleHost.java:370)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.star
> t(AbstractBundle.java:284)
> at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct
> ion.java:417)
> at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger
> (BundleLoader.java:265)
> at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
> .postFindLocalClass(EclipseLazyStarter.java:106)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClass(ClasspathManager.java:453)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin
> dLocalClass(DefaultClassLoader.java:216)
> at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass
> (BundleLoader.java:393)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter
> nal(BundleLoader.java:469)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:422)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:410)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa
> dClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund
> leLoader.java:338)
> at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas
> s(BundleHost.java:232)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.load
> Class(AbstractBundle.java:1197)
> at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI
> .createExecutableExtension(RegistryStrategyOSGI.java:174)
> at org.eclipse.core.internal.registry.ExtensionRegistry.createE
> xecutableExtension(ExtensionRegistry.java:904)
> at org.eclipse.core.internal.registry.ConfigurationElement.crea
> teExecutableExtension(ConfigurationElement.java:243)
> at org.eclipse.core.internal.registry.ConfigurationElementHandl
> e.createExecutableExtension(ConfigurationElementHandle.java: 55)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips
> eAppHandle.java:191)
> 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(EclipseS
> tarter.java:369)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
> tarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> 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.Main.run(Main.java:1407)
> Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.SWTError
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter
> nal(BundleLoader.java:506)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:422)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:410)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa
> dClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> ... 73 more
>
> !ENTRY org.eclipse.osgi 4 0 2010-06-10 17:01:01.624
> !MESSAGE An error occurred while automatically activating bundle
> com.example.rcpapp (1).
> !STACK 0
> org.osgi.framework.BundleException: The activator
> com.example.rcpapp.Activator for bundle com.example.rcpapp is invalid
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.load
> BundleActivator(AbstractBundle.java:156)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s
> tart(BundleContextImpl.java:751)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWor
> ker(BundleHost.java:370)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.star
> t(AbstractBundle.java:284)
> at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct
> ion.java:417)
> at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger
> (BundleLoader.java:265)
> at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
> .postFindLocalClass(EclipseLazyStarter.java:106)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClass(ClasspathManager.java:453)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin
> dLocalClass(DefaultClassLoader.java:216)
> at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass
> (BundleLoader.java:393)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter
> nal(BundleLoader.java:469)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:422)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:410)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa
> dClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund
> leLoader.java:338)
> at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas
> s(BundleHost.java:232)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.load
> Class(AbstractBundle.java:1197)
> at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI
> .createExecutableExtension(RegistryStrategyOSGI.java:174)
> at org.eclipse.core.internal.registry.ExtensionRegistry.createE
> xecutableExtension(ExtensionRegistry.java:904)
> at org.eclipse.core.internal.registry.ConfigurationElement.crea
> teExecutableExtension(ConfigurationElement.java:243)
> at org.eclipse.core.internal.registry.ConfigurationElementHandl
> e.createExecutableExtension(ConfigurationElementHandle.java: 55)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips
> eAppHandle.java:191)
> 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(EclipseS
> tarter.java:369)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
> tarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> 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.Main.run(Main.java:1407)
> Caused by: java.lang.NoClassDefFoundError:
> org/eclipse/ui/plugin/AbstractUIPlugin
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClassCond(Unknown Source)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.def
> ineClass(DefaultClassLoader.java:188)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineC
> lass(ClasspathManager.java:580)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findCla
> ssImpl(ClasspathManager.java:550)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClassImpl(ClasspathManager.java:481)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClass_LockClassLoader(ClasspathManager.java:469)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClass(ClasspathManager.java:449)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin
> dLocalClass(DefaultClassLoader.java:216)
> at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass
> (BundleLoader.java:393)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter
> nal(BundleLoader.java:469)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:422)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:410)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa
> dClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund
> leLoader.java:338)
> at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas
> s(BundleHost.java:232)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.load
> BundleActivator(AbstractBundle.java:149)
> ... 33 more
> Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
> $TerminatingClassNotFoundException: An error occurred while
> automatically activating bundle org.eclipse.ui.workbench (27).
> at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
> .postFindLocalClass(EclipseLazyStarter.java:121)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClass(ClasspathManager.java:453)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin
> dLocalClass(DefaultClassLoader.java:216)
> at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass
> (BundleLoader.java:393)
> at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadCla
> ss(SingleSourcePackage.java:33)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter
> nal(BundleLoader.java:466)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:422)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:410)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa
> dClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> ... 52 more
> Caused by: org.osgi.framework.BundleException: The activator
> org.eclipse.ui.internal.WorkbenchPlugin for bundle
> org.eclipse.ui.workbench is invalid
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.load
> BundleActivator(AbstractBundle.java:156)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s
> tart(BundleContextImpl.java:751)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWor
> ker(BundleHost.java:370)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.star
> t(AbstractBundle.java:284)
> at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct
> ion.java:417)
> at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger
> (BundleLoader.java:265)
> at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
> .postFindLocalClass(EclipseLazyStarter.java:106)
> ... 61 more
> Caused by: java.lang.NoClassDefFoundError: org/eclipse/swt/SWTError
> at java.lang.Class.getDeclaredConstructors0(Native Method)
> at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
> at java.lang.Class.getConstructor0(Unknown Source)
> at java.lang.Class.newInstance0(Unknown Source)
> at java.lang.Class.newInstance(Unknown Source)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.load
> BundleActivator(AbstractBundle.java:151)
> ... 67 more
> Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.SWTError
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter
> nal(BundleLoader.java:506)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:422)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:410)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa
> dClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> ... 73 more
> Root exception:
> java.lang.NoClassDefFoundError: org/eclipse/ui/plugin/AbstractUIPlugin
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClassCond(Unknown Source)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.def
> ineClass(DefaultClassLoader.java:188)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineC
> lass(ClasspathManager.java:580)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findCla
> ssImpl(ClasspathManager.java:550)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClassImpl(ClasspathManager.java:481)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClass_LockClassLoader(ClasspathManager.java:469)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClass(ClasspathManager.java:449)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin
> dLocalClass(DefaultClassLoader.java:216)
> at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass
> (BundleLoader.java:393)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter
> nal(BundleLoader.java:469)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:422)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:410)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa
> dClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund
> leLoader.java:338)
> at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas
> s(BundleHost.java:232)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.load
> BundleActivator(AbstractBundle.java:149)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s
> tart(BundleContextImpl.java:751)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWor
> ker(BundleHost.java:370)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.star
> t(AbstractBundle.java:284)
> at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct
> ion.java:417)
> at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger
> (BundleLoader.java:265)
> at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
> .postFindLocalClass(EclipseLazyStarter.java:106)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClass(ClasspathManager.java:453)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin
> dLocalClass(DefaultClassLoader.java:216)
> at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass
> (BundleLoader.java:393)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter
> nal(BundleLoader.java:469)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:422)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:410)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa
> dClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund
> leLoader.java:338)
> at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas
> s(BundleHost.java:232)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.load
> Class(AbstractBundle.java:1197)
> at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI
> .createExecutableExtension(RegistryStrategyOSGI.java:174)
> at org.eclipse.core.internal.registry.ExtensionRegistry.createE
> xecutableExtension(ExtensionRegistry.java:904)
> at org.eclipse.core.internal.registry.ConfigurationElement.crea
> teExecutableExtension(ConfigurationElement.java:243)
> at org.eclipse.core.internal.registry.ConfigurationElementHandl
> e.createExecutableExtension(ConfigurationElementHandle.java: 55)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips
> eAppHandle.java:191)
> 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(EclipseS
> tarter.java:369)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
> tarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> 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.Main.run(Main.java:1407)
> Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
> $TerminatingClassNotFoundException: An error occurred while
> automatically activating bundle org.eclipse.ui.workbench (27).
> at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
> .postFindLocalClass(EclipseLazyStarter.java:121)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClass(ClasspathManager.java:453)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin
> dLocalClass(DefaultClassLoader.java:216)
> at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass
> (BundleLoader.java:393)
> at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadCla
> ss(SingleSourcePackage.java:33)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter
> nal(BundleLoader.java:466)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:422)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:410)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa
> dClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> ... 52 more
> Caused by: org.osgi.framework.BundleException: The activator
> org.eclipse.ui.internal.WorkbenchPlugin for bundle
> org.eclipse.ui.workbench is invalid
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.load
> BundleActivator(AbstractBundle.java:156)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s
> tart(BundleContextImpl.java:751)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWor
> ker(BundleHost.java:370)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.star
> t(AbstractBundle.java:284)
> at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct
> ion.java:417)
> at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger
> (BundleLoader.java:265)
> at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
> .postFindLocalClass(EclipseLazyStarter.java:106)
> ... 61 more
> Caused by: java.lang.NoClassDefFoundError: org/eclipse/swt/SWTError
> at java.lang.Class.getDeclaredConstructors0(Native Method)
> at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
> at java.lang.Class.getConstructor0(Unknown Source)
> at java.lang.Class.newInstance0(Unknown Source)
> at java.lang.Class.newInstance(Unknown Source)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.load
> BundleActivator(AbstractBundle.java:151)
> ... 67 more
> Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.SWTError
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter
> nal(BundleLoader.java:506)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:422)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:410)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa
> dClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> ... 73 more
>
> !ENTRY org.eclipse.osgi 2 0 2010-06-10 17:01:01.811
> !MESSAGE The following is a complete list of bundles which are not
> resolved, see the prior log entry for the root cause if it exists:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-10 17:01:01.811
> !MESSAGE Bundle
> org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503 [17] was
> not resolved.
> !SUBENTRY 2 org.eclipse.equinox.launcher.win32.win32.x86 2 0 2010-06-10
> 17:01:01.811
> !MESSAGE Platform filter did not match: (& (osgi.ws=win32)
> (osgi.os=win32) (osgi.arch=x86))
> !SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-10 17:01:01.811
> !MESSAGE Bundle org.eclipse.swt.win32.win32.x86_3.6.0.v3650 [25] was not
> resolved.
> !SUBENTRY 2 org.eclipse.swt.win32.win32.x86 2 0 2010-06-10 17:01:01.811
> !MESSAGE Platform filter did not match: (& (osgi.ws=win32)
> (osgi.os=win32) (osgi.arch=x86))
>
> !ENTRY org.eclipse.osgi 4 0 2010-06-10 17:01:01.827
> !MESSAGE Application error
> !STACK 1
> org.eclipse.core.runtime.CoreException: Plug-in com.example.rcpapp was
> unable to load class com.example.rcpapp.Application.
> at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI
> .throwException(RegistryStrategyOSGI.java:194)
> at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI
> .createExecutableExtension(RegistryStrategyOSGI.java:176)
> at org.eclipse.core.internal.registry.ExtensionRegistry.createE
> xecutableExtension(ExtensionRegistry.java:904)
> at org.eclipse.core.internal.registry.ConfigurationElement.crea
> teExecutableExtension(ConfigurationElement.java:243)
> at org.eclipse.core.internal.registry.ConfigurationElementHandl
> e.createExecutableExtension(ConfigurationElementHandle.java: 55)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips
> eAppHandle.java:191)
> 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(EclipseS
> tarter.java:369)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
> tarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> 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.Main.run(Main.java:1407)
> Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
> $TerminatingClassNotFoundException: An error occurred while
> automatically activating bundle com.example.rcpapp (1).
> at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
> .postFindLocalClass(EclipseLazyStarter.java:121)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClass(ClasspathManager.java:453)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin
> dLocalClass(DefaultClassLoader.java:216)
> at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass
> (BundleLoader.java:393)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter
> nal(BundleLoader.java:469)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:422)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:410)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa
> dClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund
> leLoader.java:338)
> at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas
> s(BundleHost.java:232)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.load
> Class(AbstractBundle.java:1197)
> at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI
> .createExecutableExtension(RegistryStrategyOSGI.java:174)
> ... 15 more
> Caused by: org.osgi.framework.BundleException: The activator
> com.example.rcpapp.Activator for bundle com.example.rcpapp is invalid
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.load
> BundleActivator(AbstractBundle.java:156)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s
> tart(BundleContextImpl.java:751)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWor
> ker(BundleHost.java:370)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.star
> t(AbstractBundle.java:284)
> at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct
> ion.java:417)
> at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger
> (BundleLoader.java:265)
> at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
> .postFindLocalClass(EclipseLazyStarter.java:106)
> ... 27 more
> Caused by: java.lang.NoClassDefFoundError:
> org/eclipse/ui/plugin/AbstractUIPlugin
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClassCond(Unknown Source)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.def
> ineClass(DefaultClassLoader.java:188)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineC
> lass(ClasspathManager.java:580)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findCla
> ssImpl(ClasspathManager.java:550)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClassImpl(ClasspathManager.java:481)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClass_LockClassLoader(ClasspathManager.java:469)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClass(ClasspathManager.java:449)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin
> dLocalClass(DefaultClassLoader.java:216)
> at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass
> (BundleLoader.java:393)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter
> nal(BundleLoader.java:469)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:422)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:410)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa
> dClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund
> leLoader.java:338)
> at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas
> s(BundleHost.java:232)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.load
> BundleActivator(AbstractBundle.java:149)
> ... 33 more
> Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
> $TerminatingClassNotFoundException: An error occurred while
> automatically activating bundle org.eclipse.ui.workbench (27).
> at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
> .postFindLocalClass(EclipseLazyStarter.java:121)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClass(ClasspathManager.java:453)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin
> dLocalClass(DefaultClassLoader.java:216)
> at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass
> (BundleLoader.java:393)
> at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadCla
> ss(SingleSourcePackage.java:33)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter
> nal(BundleLoader.java:466)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:422)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:410)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa
> dClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> ... 52 more
> Caused by: org.osgi.framework.BundleException: The activator
> org.eclipse.ui.internal.WorkbenchPlugin for bundle
> org.eclipse.ui.workbench is invalid
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.load
> BundleActivator(AbstractBundle.java:156)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s
> tart(BundleContextImpl.java:751)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWor
> ker(BundleHost.java:370)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.star
> t(AbstractBundle.java:284)
> at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct
> ion.java:417)
> at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger
> (BundleLoader.java:265)
> at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
> .postFindLocalClass(EclipseLazyStarter.java:106)
> ... 61 more
> Caused by: java.lang.NoClassDefFoundError: org/eclipse/swt/SWTError
> at java.lang.Class.getDeclaredConstructors0(Native Method)
> at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
> at java.lang.Class.getConstructor0(Unknown Source)
> at java.lang.Class.newInstance0(Unknown Source)
> at java.lang.Class.newInstance(Unknown Source)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.load
> BundleActivator(AbstractBundle.java:151)
> ... 67 more
> Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.SWTError
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter
> nal(BundleLoader.java:506)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:422)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:410)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa
> dClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> ... 73 more


---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: Exported RCP tutorial crashes when run [message #539713 is a reply to message #539686] Sat, 12 June 2010 03:50 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
On 12/06/10 2:04 AM, Nitin Dahyabhai wrote:
> !SUBENTRY 2 org.eclipse.swt.win32.win32.x86 2 0 2010-06-10 17:01:01.811
> !MESSAGE Platform filter did not match: (& (osgi.ws=win32)
> (osgi.os=win32) (osgi.arch=x86))


Looks like the SWT libraries are not loaded because the platform you
have specified is not correct.

- Prakash
Platform UI Team, IBM

www.eclipse-tips.com
Re: Exported RCP tutorial crashes when run [message #541555 is a reply to message #539713] Mon, 21 June 2010 14:29 Go to previous messageGo to next message
Nick Griffiths is currently offline Nick GriffithsFriend
Messages: 3
Registered: June 2010
Junior Member
Apologies for posting in the wrong forum previously.

Prakash, thanks for the reply.

I used the eclipse export wizard to auto-generate values etc for the app.

I'm running windows xp - 32 bit - all the values in
(osgi.ws=win32) (osgi.os=win32) (osgi.arch=x86) sound ok to me.

I've also tried doing the equivalent tutorial on a Linux box with the same results (java.lang.ClassNotFoundException: org.eclipse.swt.SWTError).

What I find most odd is that the tutorial works in Galileo but not Helios.

Any other suggestions?

Thanks.
Re: Exported RCP tutorial crashes when run [message #541579 is a reply to message #541555] Mon, 21 June 2010 15:28 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
> Command-line arguments: -os ${target.os} -ws ${target.ws} -arch
> ${target.arch} -consoleLog

Remove the ${target.os}, ${target.ws}, and ${target.arch} from the launcher
arguments section of the .product file. These are not valid arguments
because the launcher does not replace them at startup.

The fact that they are there is a bug.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=278598

Nick Griffiths wrote:

> Apologies for posting in the wrong forum previously.
>
> Prakash, thanks for the reply.
>
> I used the eclipse export wizard to auto-generate values etc for the app.
>
> I'm running windows xp - 32 bit - all the values in
> (osgi.ws=win32) (osgi.os=win32) (osgi.arch=x86) sound ok to me.
>
> I've also tried doing the equivalent tutorial on a Linux box with the same
> results (java.lang.ClassNotFoundException: org.eclipse.swt.SWTError).
>
> What I find most odd is that the tutorial works in Galileo but not Helios.
>
> Any other suggestions?
>
> Thanks.
Previous Topic:IObjectActionDelegate + ISelction filtering
Next Topic:OpenExternalFileAction doesn't handle new files so I want to override
Goto Forum:
  


Current Time: Wed Nov 26 04:40:29 GMT 2014

Powered by FUDForum. Page generated in 0.03333 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software