Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Eclipse standalone RCP plugin application does not start in WinXP

Reply
Thread Tools

Eclipse standalone RCP plugin application does not start in WinXP

 
 
Gerd Rother
Guest
Posts: n/a
 
      03-31-2006
Hi,

I created a standalone RCP application by following the steps described in
http://www.eclipse.org/articles/Arti...tutorial1.html
The application starts OK when I start it from the plugin.xml or I launch
the product from within Eclipse (3.1.1).
But when I export the product to a directory the application won't start.
I tried the same in Opensuse Linux 10.0 and it worked smoothly there.

In the log file below I think the main problem lies within
org.eclipse.core.runtime.CoreException[1]: java.lang.ClassNotFoundException:
de.greu.rcp1.Application

de.greu.rcp1.Application is my application's main class so I wonder why it
cannot find it.

Any help is much appreciated.


Regards,

Gerd



!SESSION 2006-03-31 12:37:37.819
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.osgi 2006-03-31 12:37:38.490
!MESSAGE An error occurred while automatically activating bundle
org.eclipse.ui.workbench (11).
!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.AbstractB undle.loadBundleActivator(AbstractBundle.java:149)
at
org.eclipse.osgi.framework.internal.core.BundleCon textImpl.start(BundleContextImpl.java:965)
at
org.eclipse.osgi.framework.internal.core.BundleHos t.startWorker(BundleHost.java:313)
at
org.eclipse.osgi.framework.internal.core.AbstractB undle.start(AbstractBundle.java:264)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoade r.findLocalClass(EclipseClassLoader.java:116)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findLocalClass(BundleLoader.java:337)
at
org.eclipse.osgi.framework.internal.core.SingleSou rcePackage.loadClass(SingleSourcePackage.java:37)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:386)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:350)
at
org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.loadClass(AbstractClassLoader.java:7
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at
org.eclipse.osgi.framework.adaptor.core.DefaultCla ssLoader.defineClass(DefaultClassLoader.java:370)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoade r.defineClass(EclipseClassLoader.java:233)
at
org.eclipse.osgi.framework.adaptor.core.DefaultCla ssLoader.findClassImpl(DefaultClassLoader.java:343 )
at
org.eclipse.osgi.framework.adaptor.core.DefaultCla ssLoader.findClass(DefaultClassLoader.java:235)
at
org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.findLocalClass(AbstractClassLoader.java: 183)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoade r.basicFindLocalClass(EclipseClassLoader.java:141)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoade r.findLocalClass(EclipseClassLoader.java:82)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findLocalClass(BundleLoader.java:337)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:389)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:350)
at
org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.loadClass(AbstractClassLoader.java:7
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.loadClass(BundleLoader.java:275)
at
org.eclipse.osgi.framework.internal.core.BundleHos t.loadClass(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractB undle.loadBundleActivator(AbstractBundle.java:142)
at
org.eclipse.osgi.framework.internal.core.BundleCon textImpl.start(BundleContextImpl.java:965)
at
org.eclipse.osgi.framework.internal.core.BundleHos t.startWorker(BundleHost.java:313)
at
org.eclipse.osgi.framework.internal.core.AbstractB undle.start(AbstractBundle.java:264)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoade r.findLocalClass(EclipseClassLoader.java:116)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findLocalClass(BundleLoader.java:337)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:389)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:350)
at
org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.loadClass(AbstractClassLoader.java:7
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.loadClass(BundleLoader.java:275)
at
org.eclipse.osgi.framework.internal.core.BundleHos t.loadClass(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractB undle.loadClass(AbstractBundle.java:124
at
org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:152)
at
org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:142)
at
org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:129)
at
org.eclipse.core.internal.registry.ConfigurationEl ementHandle.createExecutableExtension(Configuratio nElementHandle.java:4
at
org.eclipse.core.internal.runtime.PlatformActivato r$1.run(PlatformActivator.java:222)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Mai n.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java: 27
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:94
Caused by: java.lang.NoClassDefFoundError:
org/eclipse/jface/preference/IPreferenceStore
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unk nown 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.AbstractB undle.loadBundleActivator(AbstractBundle.java:144)
... 55 more
Root exception:
java.lang.NoClassDefFoundError:
org/eclipse/jface/preference/IPreferenceStore
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unk nown 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.AbstractB undle.loadBundleActivator(AbstractBundle.java:144)
at
org.eclipse.osgi.framework.internal.core.BundleCon textImpl.start(BundleContextImpl.java:965)
at
org.eclipse.osgi.framework.internal.core.BundleHos t.startWorker(BundleHost.java:313)
at
org.eclipse.osgi.framework.internal.core.AbstractB undle.start(AbstractBundle.java:264)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoade r.findLocalClass(EclipseClassLoader.java:116)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findLocalClass(BundleLoader.java:337)
at
org.eclipse.osgi.framework.internal.core.SingleSou rcePackage.loadClass(SingleSourcePackage.java:37)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:386)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:350)
at
org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.loadClass(AbstractClassLoader.java:7
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at
org.eclipse.osgi.framework.adaptor.core.DefaultCla ssLoader.defineClass(DefaultClassLoader.java:370)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoade r.defineClass(EclipseClassLoader.java:233)
at
org.eclipse.osgi.framework.adaptor.core.DefaultCla ssLoader.findClassImpl(DefaultClassLoader.java:343 )
at
org.eclipse.osgi.framework.adaptor.core.DefaultCla ssLoader.findClass(DefaultClassLoader.java:235)
at
org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.findLocalClass(AbstractClassLoader.java: 183)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoade r.basicFindLocalClass(EclipseClassLoader.java:141)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoade r.findLocalClass(EclipseClassLoader.java:82)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findLocalClass(BundleLoader.java:337)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:389)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:350)
at
org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.loadClass(AbstractClassLoader.java:7
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.loadClass(BundleLoader.java:275)
at
org.eclipse.osgi.framework.internal.core.BundleHos t.loadClass(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractB undle.loadBundleActivator(AbstractBundle.java:142)
at
org.eclipse.osgi.framework.internal.core.BundleCon textImpl.start(BundleContextImpl.java:965)
at
org.eclipse.osgi.framework.internal.core.BundleHos t.startWorker(BundleHost.java:313)
at
org.eclipse.osgi.framework.internal.core.AbstractB undle.start(AbstractBundle.java:264)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoade r.findLocalClass(EclipseClassLoader.java:116)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findLocalClass(BundleLoader.java:337)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:389)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:350)
at
org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.loadClass(AbstractClassLoader.java:7
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.loadClass(BundleLoader.java:275)
at
org.eclipse.osgi.framework.internal.core.BundleHos t.loadClass(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractB undle.loadClass(AbstractBundle.java:124
at
org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:152)
at
org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:142)
at
org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:129)
at
org.eclipse.core.internal.registry.ConfigurationEl ementHandle.createExecutableExtension(Configuratio nElementHandle.java:4
at
org.eclipse.core.internal.runtime.PlatformActivato r$1.run(PlatformActivator.java:222)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Mai n.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java: 27
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:94

!ENTRY org.eclipse.osgi 2006-03-31 12:37:38.510
!MESSAGE An error occurred while automatically activating bundle
de.greu.rcp1 (1).
!STACK 0
org.osgi.framework.BundleException: The activator de.greu.rcp1.Rcp1Plugin
for bundle de.greu.rcp1 is invalid
at
org.eclipse.osgi.framework.internal.core.AbstractB undle.loadBundleActivator(AbstractBundle.java:149)
at
org.eclipse.osgi.framework.internal.core.BundleCon textImpl.start(BundleContextImpl.java:965)
at
org.eclipse.osgi.framework.internal.core.BundleHos t.startWorker(BundleHost.java:313)
at
org.eclipse.osgi.framework.internal.core.AbstractB undle.start(AbstractBundle.java:264)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoade r.findLocalClass(EclipseClassLoader.java:116)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findLocalClass(BundleLoader.java:337)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:389)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:350)
at
org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.loadClass(AbstractClassLoader.java:7
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.loadClass(BundleLoader.java:275)
at
org.eclipse.osgi.framework.internal.core.BundleHos t.loadClass(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractB undle.loadClass(AbstractBundle.java:124
at
org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:152)
at
org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:142)
at
org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:129)
at
org.eclipse.core.internal.registry.ConfigurationEl ementHandle.createExecutableExtension(Configuratio nElementHandle.java:4
at
org.eclipse.core.internal.runtime.PlatformActivato r$1.run(PlatformActivator.java:222)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Mai n.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java: 27
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:94
Caused by: java.lang.NoClassDefFoundError:
org/eclipse/ui/plugin/AbstractUIPlugin
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at
org.eclipse.osgi.framework.adaptor.core.DefaultCla ssLoader.defineClass(DefaultClassLoader.java:370)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoade r.defineClass(EclipseClassLoader.java:233)
at
org.eclipse.osgi.framework.adaptor.core.DefaultCla ssLoader.findClassImpl(DefaultClassLoader.java:343 )
at
org.eclipse.osgi.framework.adaptor.core.DefaultCla ssLoader.findClass(DefaultClassLoader.java:235)
at
org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.findLocalClass(AbstractClassLoader.java: 183)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoade r.basicFindLocalClass(EclipseClassLoader.java:141)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoade r.findLocalClass(EclipseClassLoader.java:82)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findLocalClass(BundleLoader.java:337)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:389)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:350)
at
org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.loadClass(AbstractClassLoader.java:7
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.loadClass(BundleLoader.java:275)
at
org.eclipse.osgi.framework.internal.core.BundleHos t.loadClass(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractB undle.loadBundleActivator(AbstractBundle.java:142)
... 27 more
Root exception:
java.lang.NoClassDefFoundError: org/eclipse/ui/plugin/AbstractUIPlugin
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at
org.eclipse.osgi.framework.adaptor.core.DefaultCla ssLoader.defineClass(DefaultClassLoader.java:370)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoade r.defineClass(EclipseClassLoader.java:233)
at
org.eclipse.osgi.framework.adaptor.core.DefaultCla ssLoader.findClassImpl(DefaultClassLoader.java:343 )
at
org.eclipse.osgi.framework.adaptor.core.DefaultCla ssLoader.findClass(DefaultClassLoader.java:235)
at
org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.findLocalClass(AbstractClassLoader.java: 183)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoade r.basicFindLocalClass(EclipseClassLoader.java:141)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoade r.findLocalClass(EclipseClassLoader.java:82)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findLocalClass(BundleLoader.java:337)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:389)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:350)
at
org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.loadClass(AbstractClassLoader.java:7
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.loadClass(BundleLoader.java:275)
at
org.eclipse.osgi.framework.internal.core.BundleHos t.loadClass(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractB undle.loadBundleActivator(AbstractBundle.java:142)
at
org.eclipse.osgi.framework.internal.core.BundleCon textImpl.start(BundleContextImpl.java:965)
at
org.eclipse.osgi.framework.internal.core.BundleHos t.startWorker(BundleHost.java:313)
at
org.eclipse.osgi.framework.internal.core.AbstractB undle.start(AbstractBundle.java:264)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoade r.findLocalClass(EclipseClassLoader.java:116)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findLocalClass(BundleLoader.java:337)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:389)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:350)
at
org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.loadClass(AbstractClassLoader.java:7
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.loadClass(BundleLoader.java:275)
at
org.eclipse.osgi.framework.internal.core.BundleHos t.loadClass(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractB undle.loadClass(AbstractBundle.java:124
at
org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:152)
at
org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:142)
at
org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:129)
at
org.eclipse.core.internal.registry.ConfigurationEl ementHandle.createExecutableExtension(Configuratio nElementHandle.java:4
at
org.eclipse.core.internal.runtime.PlatformActivato r$1.run(PlatformActivator.java:222)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Mai n.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java: 27
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:94

!ENTRY org.eclipse.osgi 2006-03-31 12:37:38.520
!MESSAGE Application error
!STACK 1
org.eclipse.core.runtime.CoreException[1]: java.lang.ClassNotFoundException:
de.greu.rcp1.Application
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:405)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:350)
at
org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.loadClass(AbstractClassLoader.java:7
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.BundleLoa der.loadClass(BundleLoader.java:275)
at
org.eclipse.osgi.framework.internal.core.BundleHos t.loadClass(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractB undle.loadClass(AbstractBundle.java:124
at
org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:152)
at
org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:142)
at
org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:129)
at
org.eclipse.core.internal.registry.ConfigurationEl ementHandle.createExecutableExtension(Configuratio nElementHandle.java:4
at
org.eclipse.core.internal.runtime.PlatformActivato r$1.run(PlatformActivator.java:222)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Mai n.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java: 27
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:94

 
Reply With Quote
 
 
 
 
IchBin
Guest
Posts: n/a
 
      03-31-2006
Gerd Rother wrote:
> Hi,
>
> I created a standalone RCP application by following the steps described in
> http://www.eclipse.org/articles/Arti...tutorial1.html
> The application starts OK when I start it from the plugin.xml or I launch
> the product from within Eclipse (3.1.1).
> But when I export the product to a directory the application won't start.
> I tried the same in Opensuse Linux 10.0 and it worked smoothly there.
>
> In the log file below I think the main problem lies within
> org.eclipse.core.runtime.CoreException[1]: java.lang.ClassNotFoundException:
> de.greu.rcp1.Application
>
> de.greu.rcp1.Application is my application's main class so I wonder why it
> cannot find it.
>
> Any help is much appreciated.
>
>
> Regards,
>
> Gerd
>
>
>
> !SESSION 2006-03-31 12:37:37.819
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.5.0_06
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
> Command-line arguments: -os win32 -ws win32 -arch x86
>
> !ENTRY org.eclipse.osgi 2006-03-31 12:37:38.490
> !MESSAGE An error occurred while automatically activating bundle
> org.eclipse.ui.workbench (11).
> !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.AbstractB undle.loadBundleActivator(AbstractBundle.java:149)
> at
> org.eclipse.osgi.framework.internal.core.BundleCon textImpl.start(BundleContextImpl.java:965)
> at
> org.eclipse.osgi.framework.internal.core.BundleHos t.startWorker(BundleHost.java:313)
> at
> org.eclipse.osgi.framework.internal.core.AbstractB undle.start(AbstractBundle.java:264)
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoade r.findLocalClass(EclipseClassLoader.java:116)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findLocalClass(BundleLoader.java:337)
> at
> org.eclipse.osgi.framework.internal.core.SingleSou rcePackage.loadClass(SingleSourcePackage.java:37)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:386)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:350)
> at
> org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.loadClass(AbstractClassLoader.java:7
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at
> org.eclipse.osgi.framework.adaptor.core.DefaultCla ssLoader.defineClass(DefaultClassLoader.java:370)
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoade r.defineClass(EclipseClassLoader.java:233)
> at
> org.eclipse.osgi.framework.adaptor.core.DefaultCla ssLoader.findClassImpl(DefaultClassLoader.java:343 )
> at
> org.eclipse.osgi.framework.adaptor.core.DefaultCla ssLoader.findClass(DefaultClassLoader.java:235)
> at
> org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.findLocalClass(AbstractClassLoader.java: 183)
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoade r.basicFindLocalClass(EclipseClassLoader.java:141)
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoade r.findLocalClass(EclipseClassLoader.java:82)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findLocalClass(BundleLoader.java:337)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:389)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:350)
> at
> org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.loadClass(AbstractClassLoader.java:7
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.loadClass(BundleLoader.java:275)
> at
> org.eclipse.osgi.framework.internal.core.BundleHos t.loadClass(BundleHost.java:227)
> at
> org.eclipse.osgi.framework.internal.core.AbstractB undle.loadBundleActivator(AbstractBundle.java:142)
> at
> org.eclipse.osgi.framework.internal.core.BundleCon textImpl.start(BundleContextImpl.java:965)
> at
> org.eclipse.osgi.framework.internal.core.BundleHos t.startWorker(BundleHost.java:313)
> at
> org.eclipse.osgi.framework.internal.core.AbstractB undle.start(AbstractBundle.java:264)
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoade r.findLocalClass(EclipseClassLoader.java:116)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findLocalClass(BundleLoader.java:337)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:389)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:350)
> at
> org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.loadClass(AbstractClassLoader.java:7
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.loadClass(BundleLoader.java:275)
> at
> org.eclipse.osgi.framework.internal.core.BundleHos t.loadClass(BundleHost.java:227)
> at
> org.eclipse.osgi.framework.internal.core.AbstractB undle.loadClass(AbstractBundle.java:124
> at
> org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:152)
> at
> org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:142)
> at
> org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:129)
> at
> org.eclipse.core.internal.registry.ConfigurationEl ementHandle.createExecutableExtension(Configuratio nElementHandle.java:4
> at
> org.eclipse.core.internal.runtime.PlatformActivato r$1.run(PlatformActivator.java:222)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:376)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:163)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.core.launcher.Main.invokeFramework(Mai n.java:334)
> at org.eclipse.core.launcher.Main.basicRun(Main.java: 27
> at org.eclipse.core.launcher.Main.run(Main.java:973)
> at org.eclipse.core.launcher.Main.main(Main.java:94
> Caused by: java.lang.NoClassDefFoundError:
> org/eclipse/jface/preference/IPreferenceStore
> at java.lang.Class.getDeclaredConstructors0(Native Method)
> at java.lang.Class.privateGetDeclaredConstructors(Unk nown 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.AbstractB undle.loadBundleActivator(AbstractBundle.java:144)
> ... 55 more
> Root exception:
> java.lang.NoClassDefFoundError:
> org/eclipse/jface/preference/IPreferenceStore
> at java.lang.Class.getDeclaredConstructors0(Native Method)
> at java.lang.Class.privateGetDeclaredConstructors(Unk nown 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.AbstractB undle.loadBundleActivator(AbstractBundle.java:144)
> at
> org.eclipse.osgi.framework.internal.core.BundleCon textImpl.start(BundleContextImpl.java:965)
> at
> org.eclipse.osgi.framework.internal.core.BundleHos t.startWorker(BundleHost.java:313)
> at
> org.eclipse.osgi.framework.internal.core.AbstractB undle.start(AbstractBundle.java:264)
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoade r.findLocalClass(EclipseClassLoader.java:116)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findLocalClass(BundleLoader.java:337)
> at
> org.eclipse.osgi.framework.internal.core.SingleSou rcePackage.loadClass(SingleSourcePackage.java:37)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:386)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:350)
> at
> org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.loadClass(AbstractClassLoader.java:7
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at
> org.eclipse.osgi.framework.adaptor.core.DefaultCla ssLoader.defineClass(DefaultClassLoader.java:370)
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoade r.defineClass(EclipseClassLoader.java:233)
> at
> org.eclipse.osgi.framework.adaptor.core.DefaultCla ssLoader.findClassImpl(DefaultClassLoader.java:343 )
> at
> org.eclipse.osgi.framework.adaptor.core.DefaultCla ssLoader.findClass(DefaultClassLoader.java:235)
> at
> org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.findLocalClass(AbstractClassLoader.java: 183)
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoade r.basicFindLocalClass(EclipseClassLoader.java:141)
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoade r.findLocalClass(EclipseClassLoader.java:82)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findLocalClass(BundleLoader.java:337)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:389)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:350)
> at
> org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.loadClass(AbstractClassLoader.java:7
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.loadClass(BundleLoader.java:275)
> at
> org.eclipse.osgi.framework.internal.core.BundleHos t.loadClass(BundleHost.java:227)
> at
> org.eclipse.osgi.framework.internal.core.AbstractB undle.loadBundleActivator(AbstractBundle.java:142)
> at
> org.eclipse.osgi.framework.internal.core.BundleCon textImpl.start(BundleContextImpl.java:965)
> at
> org.eclipse.osgi.framework.internal.core.BundleHos t.startWorker(BundleHost.java:313)
> at
> org.eclipse.osgi.framework.internal.core.AbstractB undle.start(AbstractBundle.java:264)
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoade r.findLocalClass(EclipseClassLoader.java:116)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findLocalClass(BundleLoader.java:337)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:389)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:350)
> at
> org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.loadClass(AbstractClassLoader.java:7
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.loadClass(BundleLoader.java:275)
> at
> org.eclipse.osgi.framework.internal.core.BundleHos t.loadClass(BundleHost.java:227)
> at
> org.eclipse.osgi.framework.internal.core.AbstractB undle.loadClass(AbstractBundle.java:124
> at
> org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:152)
> at
> org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:142)
> at
> org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:129)
> at
> org.eclipse.core.internal.registry.ConfigurationEl ementHandle.createExecutableExtension(Configuratio nElementHandle.java:4
> at
> org.eclipse.core.internal.runtime.PlatformActivato r$1.run(PlatformActivator.java:222)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:376)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:163)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.core.launcher.Main.invokeFramework(Mai n.java:334)
> at org.eclipse.core.launcher.Main.basicRun(Main.java: 27
> at org.eclipse.core.launcher.Main.run(Main.java:973)
> at org.eclipse.core.launcher.Main.main(Main.java:94
>
> !ENTRY org.eclipse.osgi 2006-03-31 12:37:38.510
> !MESSAGE An error occurred while automatically activating bundle
> de.greu.rcp1 (1).
> !STACK 0
> org.osgi.framework.BundleException: The activator de.greu.rcp1.Rcp1Plugin
> for bundle de.greu.rcp1 is invalid
> at
> org.eclipse.osgi.framework.internal.core.AbstractB undle.loadBundleActivator(AbstractBundle.java:149)
> at
> org.eclipse.osgi.framework.internal.core.BundleCon textImpl.start(BundleContextImpl.java:965)
> at
> org.eclipse.osgi.framework.internal.core.BundleHos t.startWorker(BundleHost.java:313)
> at
> org.eclipse.osgi.framework.internal.core.AbstractB undle.start(AbstractBundle.java:264)
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoade r.findLocalClass(EclipseClassLoader.java:116)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findLocalClass(BundleLoader.java:337)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:389)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:350)
> at
> org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.loadClass(AbstractClassLoader.java:7
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.loadClass(BundleLoader.java:275)
> at
> org.eclipse.osgi.framework.internal.core.BundleHos t.loadClass(BundleHost.java:227)
> at
> org.eclipse.osgi.framework.internal.core.AbstractB undle.loadClass(AbstractBundle.java:124
> at
> org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:152)
> at
> org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:142)
> at
> org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:129)
> at
> org.eclipse.core.internal.registry.ConfigurationEl ementHandle.createExecutableExtension(Configuratio nElementHandle.java:4
> at
> org.eclipse.core.internal.runtime.PlatformActivato r$1.run(PlatformActivator.java:222)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:376)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:163)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.core.launcher.Main.invokeFramework(Mai n.java:334)
> at org.eclipse.core.launcher.Main.basicRun(Main.java: 27
> at org.eclipse.core.launcher.Main.run(Main.java:973)
> at org.eclipse.core.launcher.Main.main(Main.java:94
> Caused by: java.lang.NoClassDefFoundError:
> org/eclipse/ui/plugin/AbstractUIPlugin
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at
> org.eclipse.osgi.framework.adaptor.core.DefaultCla ssLoader.defineClass(DefaultClassLoader.java:370)
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoade r.defineClass(EclipseClassLoader.java:233)
> at
> org.eclipse.osgi.framework.adaptor.core.DefaultCla ssLoader.findClassImpl(DefaultClassLoader.java:343 )
> at
> org.eclipse.osgi.framework.adaptor.core.DefaultCla ssLoader.findClass(DefaultClassLoader.java:235)
> at
> org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.findLocalClass(AbstractClassLoader.java: 183)
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoade r.basicFindLocalClass(EclipseClassLoader.java:141)
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoade r.findLocalClass(EclipseClassLoader.java:82)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findLocalClass(BundleLoader.java:337)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:389)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:350)
> at
> org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.loadClass(AbstractClassLoader.java:7
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.loadClass(BundleLoader.java:275)
> at
> org.eclipse.osgi.framework.internal.core.BundleHos t.loadClass(BundleHost.java:227)
> at
> org.eclipse.osgi.framework.internal.core.AbstractB undle.loadBundleActivator(AbstractBundle.java:142)
> ... 27 more
> Root exception:
> java.lang.NoClassDefFoundError: org/eclipse/ui/plugin/AbstractUIPlugin
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at
> org.eclipse.osgi.framework.adaptor.core.DefaultCla ssLoader.defineClass(DefaultClassLoader.java:370)
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoade r.defineClass(EclipseClassLoader.java:233)
> at
> org.eclipse.osgi.framework.adaptor.core.DefaultCla ssLoader.findClassImpl(DefaultClassLoader.java:343 )
> at
> org.eclipse.osgi.framework.adaptor.core.DefaultCla ssLoader.findClass(DefaultClassLoader.java:235)
> at
> org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.findLocalClass(AbstractClassLoader.java: 183)
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoade r.basicFindLocalClass(EclipseClassLoader.java:141)
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoade r.findLocalClass(EclipseClassLoader.java:82)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findLocalClass(BundleLoader.java:337)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:389)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:350)
> at
> org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.loadClass(AbstractClassLoader.java:7
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.loadClass(BundleLoader.java:275)
> at
> org.eclipse.osgi.framework.internal.core.BundleHos t.loadClass(BundleHost.java:227)
> at
> org.eclipse.osgi.framework.internal.core.AbstractB undle.loadBundleActivator(AbstractBundle.java:142)
> at
> org.eclipse.osgi.framework.internal.core.BundleCon textImpl.start(BundleContextImpl.java:965)
> at
> org.eclipse.osgi.framework.internal.core.BundleHos t.startWorker(BundleHost.java:313)
> at
> org.eclipse.osgi.framework.internal.core.AbstractB undle.start(AbstractBundle.java:264)
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoade r.findLocalClass(EclipseClassLoader.java:116)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findLocalClass(BundleLoader.java:337)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:389)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:350)
> at
> org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.loadClass(AbstractClassLoader.java:7
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.loadClass(BundleLoader.java:275)
> at
> org.eclipse.osgi.framework.internal.core.BundleHos t.loadClass(BundleHost.java:227)
> at
> org.eclipse.osgi.framework.internal.core.AbstractB undle.loadClass(AbstractBundle.java:124
> at
> org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:152)
> at
> org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:142)
> at
> org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:129)
> at
> org.eclipse.core.internal.registry.ConfigurationEl ementHandle.createExecutableExtension(Configuratio nElementHandle.java:4
> at
> org.eclipse.core.internal.runtime.PlatformActivato r$1.run(PlatformActivator.java:222)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:376)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:163)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.core.launcher.Main.invokeFramework(Mai n.java:334)
> at org.eclipse.core.launcher.Main.basicRun(Main.java: 27
> at org.eclipse.core.launcher.Main.run(Main.java:973)
> at org.eclipse.core.launcher.Main.main(Main.java:94
>
> !ENTRY org.eclipse.osgi 2006-03-31 12:37:38.520
> !MESSAGE Application error
> !STACK 1
> org.eclipse.core.runtime.CoreException[1]: java.lang.ClassNotFoundException:
> de.greu.rcp1.Application
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:405)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:350)
> at
> org.eclipse.osgi.framework.adaptor.core.AbstractCl assLoader.loadClass(AbstractClassLoader.java:7
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoa der.loadClass(BundleLoader.java:275)
> at
> org.eclipse.osgi.framework.internal.core.BundleHos t.loadClass(BundleHost.java:227)
> at
> org.eclipse.osgi.framework.internal.core.AbstractB undle.loadClass(AbstractBundle.java:124
> at
> org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:152)
> at
> org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:142)
> at
> org.eclipse.core.internal.registry.ConfigurationEl ement.createExecutableExtension(ConfigurationEleme nt.java:129)
> at
> org.eclipse.core.internal.registry.ConfigurationEl ementHandle.createExecutableExtension(Configuratio nElementHandle.java:4
> at
> org.eclipse.core.internal.runtime.PlatformActivato r$1.run(PlatformActivator.java:222)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:376)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:163)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.core.launcher.Main.invokeFramework(Mai n.java:334)
> at org.eclipse.core.launcher.Main.basicRun(Main.java: 27
> at org.eclipse.core.launcher.Main.run(Main.java:973)
> at org.eclipse.core.launcher.Main.main(Main.java:94
>


You may get an answer here for your problem but it would make sense to
post your question to the Eclipse NNTP

news.ptd.net
eclipse.platform.rcp

Check out Eclipse site http://www.eclipse.org and their newsgroup page.

Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________ ________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
 
Reply With Quote
 
 
 
 
Roedy Green
Guest
Posts: n/a
 
      03-31-2006
On Fri, 31 Mar 2006 13:53:58 -0500, IchBin <(E-Mail Removed)> wrote,
quoted or indirectly quoted someone who said :

>> !MESSAGE An error occurred while automatically activating bundle
>> org.eclipse.ui.workbench (11).
>> !STACK 0
>> org.osgi.framework.BundleException: The activator
>> org.eclipse.ui.internal.WorkbenchPlugin for bundle org.eclipse.ui.workbench
>> is invalid


sounds like some plug-in called "workbench" is corrupt or not
installed.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
 
Reply With Quote
 
Gerd Rother
Guest
Posts: n/a
 
      03-31-2006
IchBin wrote:

> Gerd Rother wrote:
>> Hi,
>>
>> I created a standalone RCP application by following the steps described

[..]
>
> You may get an answer here for your problem but it would make sense to
> post your question to the Eclipse NNTP
>
> news.ptd.net
> eclipse.platform.rcp
>
> Check out Eclipse site http://www.eclipse.org and their newsgroup page.
>

[..]
I'll give it a try, sounds good.

Thanks,

Gerd
 
Reply With Quote
 
Gerd Rother
Guest
Posts: n/a
 
      03-31-2006
Roedy Green wrote:

> On Fri, 31 Mar 2006 13:53:58 -0500, IchBin <(E-Mail Removed)> wrote,
> quoted or indirectly quoted someone who said :
>
>>> !MESSAGE An error occurred while automatically activating bundle
>>> org.eclipse.ui.workbench (11).
>>> !STACK 0
>>> org.osgi.framework.BundleException: The activator
>>> org.eclipse.ui.internal.WorkbenchPlugin for bundle
>>> org.eclipse.ui.workbench is invalid

>
> sounds like some plug-in called "workbench" is corrupt or not
> installed.


Both org.eclipse.ui and org.eclipse.ui.workbench are in the configuration of
the product, and their jar's actually made it into the product's plugin
folder...
I will contact eclipse's newsgroup, but still hints are welcome.

Thank you

Gerd
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with RCP - Plugin (Eclipse) pod Java 0 05-23-2008 09:52 AM
Eclipse Plugin: how to modify perl build path from an eclipse Plugin java class eser@libero.it Java 1 09-07-2007 09:45 PM
eclipse, integrating crystal reports plugin with rcp app abdoul85 Java 2 08-13-2007 08:32 PM
Getting reference of eclipse plugin view or its component from another eclipse plugin view? Jimmy Java 0 03-15-2007 11:04 PM
looking for eclipse plugin for user management in RCP application Dominik Java 1 12-06-2004 08:23 PM



Advertisments