Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » org.osgi.framework.BundleException
org.osgi.framework.BundleException [message #437037] Mon, 19 September 2005 21:55
victor fiu is currently offline victor fiuFriend
Messages: 37
Registered: July 2009
Member
Hi, all,

Attached is a RCP plugin. I remembered I have successfully run it before.
However, after I upgraded Eclipse and GEF (Both 3.1.0 now, run in Windows
XP) and moved Eclipse into another location, I kept on getting error
information as below. I googled it and was told that it's related to GNU
classpath and unimplemented methods, but is it really because of that? and
did someone fix the same problem before? Thanks!

Regards,
Vince


!SESSION 2005-09-19
14:43:36.305 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product
org.eclipse.gef.examples.shapes.rcp.product -pdelaunch
Command-line arguments: -product
org.eclipse.gef.examples.shapes.rcp.product -data

d:\eclipse\runtime-shapes.product -dev

file:d:/eclipse/workspace/.metadata/.plugins/org.eclipse.pde .core/shapes.product/dev.propert

ies -pdelaunch -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.osgi 2005-09-19 14:43:37.106
!MESSAGE An error occurred while automatically activating bundle

org.eclipse.gef.examples.shapes.rcp (22).
!STACK 0
org.osgi.framework.BundleException: The activator

org.eclipse.gef.examples.shapes.ShapesPlugin for bundle
org.eclipse.gef.examples.shapes.rcp

is invalid
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:965)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker

(BundleHost.java:321)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.star t

(AbstractBundle.java:266)
at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass

(EclipseClassLoader.java:116)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass

(BundleLoader.java:337)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass

(BundleLoader.java:389)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass

(BundleLoader.java:350)
at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass

(AbstractClassLoader.java:78)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass

(BundleLoader.java:275)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s

(BundleHost.java:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class

(AbstractBundle.java:1259)
at

org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension

(ConfigurationElement.java:152)
at

org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension

(ConfigurationElement.java:142)
at

org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension

(ConfigurationElement.java:129)
at

org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension

(ConfigurationElementHandle.java:48)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run

(PlatformActivator.java:222)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
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.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Caused by: java.lang.ClassNotFoundException:
org.eclipse.gef.examples.shapes.ShapesPlugin
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass

(BundleLoader.java:403)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass

(BundleLoader.java:350)
at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass

(AbstractClassLoader.java:78)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass

(BundleLoader.java:275)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s

(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator

(AbstractBundle.java:144)
... 27 more
Root exception:
java.lang.ClassNotFoundException:
org.eclipse.gef.examples.shapes.ShapesPlugin
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass

(BundleLoader.java:403)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass

(BundleLoader.java:350)
at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass

(AbstractClassLoader.java:78)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass

(BundleLoader.java:275)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s

(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator

(AbstractBundle.java:144)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart

(BundleContextImpl.java:965)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker

(BundleHost.java:321)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.star t

(AbstractBundle.java:266)
at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass

(EclipseClassLoader.java:116)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass

(BundleLoader.java:337)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass

(BundleLoader.java:389)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass

(BundleLoader.java:350)
at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass

(AbstractClassLoader.java:78)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass

(BundleLoader.java:275)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s

(BundleHost.java:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class

(AbstractBundle.java:1259)
at

org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension

(ConfigurationElement.java:152)
at

org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension

(ConfigurationElement.java:142)
at

org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension

(ConfigurationElement.java:129)
at

org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension

(ConfigurationElementHandle.java:48)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run

(PlatformActivator.java:222)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
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.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)

!ENTRY org.eclipse.osgi 2005-09-19 14:43:37.126
!MESSAGE Application error
!STACK 1
org.eclipse.core.runtime.CoreException[1]: java.lang.ClassNotFoundException:

org.eclipse.gef.examples.shapes.Application
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass

(BundleLoader.java:403)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass

(BundleLoader.java:350)
at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass

(AbstractClassLoader.java:78)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass

(BundleLoader.java:275)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s

(BundleHost.java:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class

(AbstractBundle.java:1259)
at

org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension

(ConfigurationElement.java:152)
at

org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension

(ConfigurationElement.java:142)
at

org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension

(ConfigurationElement.java:129)
at

org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension

(ConfigurationElementHandle.java:48)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run

(PlatformActivator.java:222)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
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.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)



Previous Topic:OSGi documentation
Next Topic:Invalid Menu Extension error messages.
Goto Forum:
  


Current Time: Mon Dec 02 22:36:38 GMT 2024

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

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

Back to the top