Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » org.osgi.framework.BundleException
org.osgi.framework.BundleException [message #295174] Fri, 25 November 2005 07:52 Go to next message
Eclipse UserFriend
Originally posted by: greg.gigon.tugulu.com

I know it was on a newsgroup several times, but still I can't solve my problem.

When I launch my new developed Plugin in Eclipse enviroment, using link in Eclipse Plugin.xml,
everything works perfect. When I build and deploy plugins I got exception below.
I was trying a lot of things with my build tab, I just run out of ideas.
PLEASE give me some ideas, or advices :)


================ EXCEPTION ==================

!SESSION Nov 25, 2005 12:45:08.811 ---------------------------------------------
eclipse.buildId=M200503110845
java.version=1.4.2_09
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB

!ENTRY org.eclipse.osgi Nov 25, 2005 12:45:08.811
!MESSAGE An error occured while automatically activating bundle com.vicorp.xmp.eclipse.core (98).
!STACK 0
org.osgi.framework.BundleException: The activator com.vicorp.xmp.eclipse.core.internal.CorePlugin
for bundle com.vicorp.xmp.eclipse.core is invalid
at org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:158)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:933)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:421)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:293)
at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseClassLoader.java:110)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:371)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:402)
at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(AbstractClassLoader.java:93)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:307)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:336)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1313)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:131)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:124)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:113)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:196)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:51)
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:193)
at org.eclipse.ui.internal.EarlyStartupRunnable.getExecutableEx tension(EarlyStartupRunnable.java:109)
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:61)
at org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.Workbench$15.run(Workbench.java:1283 )
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.vicorp.xmp.eclipse.core.internal.CorePlugin
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:404)
at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(AbstractClassLoader.java:93)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:307)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:336)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:151)
... 23 more
================ EXCEPTION ==================
Re: org.osgi.framework.BundleException [message #295176 is a reply to message #295174] Fri, 25 November 2005 09:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.bettsockentraeger.de

Where is the class com.vicorp.xmp.eclipse.core.internal.CorePlugin
located? In your own plugin in a separate Plugin in another jar?

Greg wrote:
> I know it was on a newsgroup several times, but still I can't solve my
> problem.
>
> When I launch my new developed Plugin in Eclipse enviroment, using link
> in Eclipse Plugin.xml, everything works perfect. When I build and deploy
> plugins I got exception below.
> I was trying a lot of things with my build tab, I just run out of ideas.
> PLEASE give me some ideas, or advices :)
>
>
> ================ EXCEPTION ==================
>
> !SESSION Nov 25, 2005 12:45:08.811
> ---------------------------------------------
> eclipse.buildId=M200503110845
> java.version=1.4.2_09
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
>
> !ENTRY org.eclipse.osgi Nov 25, 2005 12:45:08.811
> !MESSAGE An error occured while automatically activating bundle
> com.vicorp.xmp.eclipse.core (98).
> !STACK 0
> org.osgi.framework.BundleException: The activator
> com.vicorp.xmp.eclipse.core.internal.CorePlugin for bundle
> com.vicorp.xmp.eclipse.core is invalid
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:158)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:933)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:421)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:293)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseClassLoader.java:110)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:371)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:402)
>
> at
> org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(AbstractClassLoader.java:93)
>
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:307)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:336)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1313)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:131)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:124)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:113)
>
> at
> org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:196)
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:51)
> at
> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:193)
>
> at
> org.eclipse.ui.internal.EarlyStartupRunnable.getExecutableEx tension(EarlyStartupRunnable.java:109)
>
> at
> org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:61)
>
> at
> org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:616)
>
> at org.eclipse.core.runtime.Platform.run(Platform.java:747)
> at org.eclipse.ui.internal.Workbench$15.run(Workbench.java:1283 )
> at java.lang.Thread.run(Unknown Source)
> Caused by: java.lang.ClassNotFoundException:
> com.vicorp.xmp.eclipse.core.internal.CorePlugin
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:404)
>
> at
> org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(AbstractClassLoader.java:93)
>
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:307)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:336)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:151)
>
> ... 23 more
> ================ EXCEPTION ==================
Re: org.osgi.framework.BundleException [message #295177 is a reply to message #295174] Fri, 25 November 2005 09:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: joachim82.arcor.de

hi
"Greg" <greg.gigon@tugulu.com> wrote:
>I know it was on a newsgroup several times, but still I can't solve my
>problem.
>
> When I launch my new developed Plugin in Eclipse enviroment, using link in
> Eclipse Plugin.xml, everything works perfect. When I build and deploy
> plugins I got exception below.
> I was trying a lot of things with my build tab, I just run out of ideas.
> PLEASE give me some ideas, or advices :)
>
I think the problem occurs because of incompatibilties between the
MANIFEST.MF, plugin.xml and the build.properties.
I've deleted the the MANIFEST.MF and the build.properties. After I have
created that two files once again, everything worked fine.

hth
--
Joachim
Re: org.osgi.framework.BundleException [message #295186 is a reply to message #295177] Fri, 25 November 2005 10:47 Go to previous message
Eclipse UserFriend
Originally posted by: greg.gigon.tugulu.com

You were right.
It was problem with build and manifest file.
I've just edited them manualy usin simple plugin as an example :)

Thank you for respond guys.

Greg

Joachim Schreibmaier wrote:
> hi
> "Greg" <greg.gigon@tugulu.com> wrote:
>
>>I know it was on a newsgroup several times, but still I can't solve my
>>problem.
>>
>>When I launch my new developed Plugin in Eclipse enviroment, using link in
>>Eclipse Plugin.xml, everything works perfect. When I build and deploy
>>plugins I got exception below.
>>I was trying a lot of things with my build tab, I just run out of ideas.
>>PLEASE give me some ideas, or advices :)
>>
>
> I think the problem occurs because of incompatibilties between the
> MANIFEST.MF, plugin.xml and the build.properties.
> I've deleted the the MANIFEST.MF and the build.properties. After I have
> created that two files once again, everything worked fine.
>
> hth
Previous Topic:View missing in packaged plugin
Next Topic:Questions about plugins
Goto Forum:
  


Current Time: Sun May 11 14:24:20 EDT 2025

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

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

Back to the top