Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » 'Bundle Activator invalid' exceptions in I20040127 builds and later on OS X
'Bundle Activator invalid' exceptions in I20040127 builds and later on OS X [message #188004] Sun, 01 February 2004 22:23 Go to next message
Channing Walton is currently offline Channing WaltonFriend
Messages: 110
Registered: July 2009
Senior Member
Hi,
On OS X, I am getting the following exception when 3rd party plugins are
loaded in I20040127 (3.0 stream) builds and later:

!MESSAGE Plug-in com.teaminabox.eclipse.wiki was unable to load class
com.teaminabox.eclipse.wiki.editors.WikiEditor.
!STACK 0
org.osgi.framework.BundleException: The BundleActivator
com.teaminabox.eclipse.wiki.WikiPlugin is invalid
at
org.eclipse.osgi.framework.internal.core.Bundle.loadBundleAc tivator(Bundle.java:176)
at
org.eclipse.osgi.framework.internal.core.BundleContext.start (BundleContext.java:987)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:403)

(I used the wiki editor as an example - lots of others plugins have the
same problem.)

Before raising a bug I wanted to check if its simply a case of the
plugins needing updating.
The example plugins load properly so I suspect this is the case.

Has anyone else found this problem?

regards,

Channing
Re: 'Bundle Activator invalid' exceptions in I20040127 builds and later on OS X [message #188070 is a reply to message #188004] Mon, 02 February 2004 03:41 Go to previous messageGo to next message
Dave Carlson is currently offline Dave CarlsonFriend
Messages: 34
Registered: July 2009
Member
I installled the 20040130 build yesterday and got the same error, even when
running a sample project generate from the new project wizard (a sample
view).

Seems that the problem is in needing org.eclipse.core.runtime.compatiblity
instead of org.elipse.core.runtime. Try changing this in the plugin.xml in
your third-party plugin. This also needs to be changed in the new project
wizard...

Cheers,
Dave Carlson

"Channing Walton" <channingwalton@mac.com> wrote in message
news:bvju5d$5l8$1@eclipse.org...
> Hi,
> On OS X, I am getting the following exception when 3rd party plugins are
> loaded in I20040127 (3.0 stream) builds and later:
>
> !MESSAGE Plug-in com.teaminabox.eclipse.wiki was unable to load class
> com.teaminabox.eclipse.wiki.editors.WikiEditor.
> !STACK 0
> org.osgi.framework.BundleException: The BundleActivator
> com.teaminabox.eclipse.wiki.WikiPlugin is invalid
> at
>
org.eclipse.osgi.framework.internal.core.Bundle.loadBundleAc tivator(Bundle.j
ava:176)
> at
>
org.eclipse.osgi.framework.internal.core.BundleContext.start (BundleContext.j
ava:987)
> at
>
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.j
ava:403)
>
> (I used the wiki editor as an example - lots of others plugins have the
> same problem.)
>
> Before raising a bug I wanted to check if its simply a case of the
> plugins needing updating.
> The example plugins load properly so I suspect this is the case.
>
> Has anyone else found this problem?
>
> regards,
>
> Channing
Re: 'Bundle Activator invalid' exceptions in I20040127 builds and later on OS X [message #188144 is a reply to message #188070] Mon, 02 February 2004 10:32 Go to previous messageGo to next message
Channing Walton is currently offline Channing WaltonFriend
Messages: 110
Registered: July 2009
Senior Member
Thanks Dave.

Is this a bug or just the new world of OSGi ?

Channing

Dave Carlson wrote:
> I installled the 20040130 build yesterday and got the same error, even when
> running a sample project generate from the new project wizard (a sample
> view).
>
> Seems that the problem is in needing org.eclipse.core.runtime.compatiblity
> instead of org.elipse.core.runtime. Try changing this in the plugin.xml in
> your third-party plugin. This also needs to be changed in the new project
> wizard...
>
> Cheers,
> Dave Carlson
>
> "Channing Walton" <channingwalton@mac.com> wrote in message
> news:bvju5d$5l8$1@eclipse.org...
>
>>Hi,
>>On OS X, I am getting the following exception when 3rd party plugins are
>>loaded in I20040127 (3.0 stream) builds and later:
>>
>>!MESSAGE Plug-in com.teaminabox.eclipse.wiki was unable to load class
>>com.teaminabox.eclipse.wiki.editors.WikiEditor.
>>!STACK 0
>>org.osgi.framework.BundleException: The BundleActivator
>>com.teaminabox.eclipse.wiki.WikiPlugin is invalid
>>at
>>
>
> org.eclipse.osgi.framework.internal.core.Bundle.loadBundleAc tivator(Bundle.j
> ava:176)
>
>>at
>>
>
> org.eclipse.osgi.framework.internal.core.BundleContext.start (BundleContext.j
> ava:987)
>
>>at
>>
>
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.j
> ava:403)
>
>>(I used the wiki editor as an example - lots of others plugins have the
>>same problem.)
>>
>>Before raising a bug I wanted to check if its simply a case of the
>>plugins needing updating.
>>The example plugins load properly so I suspect this is the case.
>>
>>Has anyone else found this problem?
>>
>>regards,
>>
>>Channing
>
>
>
Re: 'Bundle Activator invalid' exceptions in I20040127 builds and later on OS X [message #188176 is a reply to message #188070] Mon, 02 February 2004 11:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pascal_rapicault.yahoo.fr

It looks like the WikiPlugin class had a problem to start. It might be
missing a default constructor.

Plz us now what your findings ours.

PaScaL

"Dave Carlson" <dcarlson@ontogenics.com> a
Re: 'Bundle Activator invalid' exceptions in I20040127 builds and later on OS X [message #188307 is a reply to message #188144] Mon, 02 February 2004 16:22 Go to previous messageGo to next message
Dave Carlson is currently offline Dave CarlsonFriend
Messages: 34
Registered: July 2009
Member
I am still very new to the world of OSGi, so can't provide the official
answer to this. The 3.0 porting guide indicates that that the
org.eclipse.core.runtime.compatibility will be used during some interim
period, but I expect it will be deprecated for new plugin development.

Dave

"Channing Walton" <channingwalton@mac.com> wrote in message
news:bvl8se$c53$1@eclipse.org...
> Thanks Dave.
>
> Is this a bug or just the new world of OSGi ?
>
> Channing
>
> Dave Carlson wrote:
> > I installled the 20040130 build yesterday and got the same error, even
when
> > running a sample project generate from the new project wizard (a sample
> > view).
> >
> > Seems that the problem is in needing
org.eclipse.core.runtime.compatiblity
> > instead of org.elipse.core.runtime. Try changing this in the plugin.xml
in
> > your third-party plugin. This also needs to be changed in the new
project
> > wizard...
> >
> > Cheers,
> > Dave Carlson
> >
> > "Channing Walton" <channingwalton@mac.com> wrote in message
> > news:bvju5d$5l8$1@eclipse.org...
> >
> >>Hi,
> >>On OS X, I am getting the following exception when 3rd party plugins are
> >>loaded in I20040127 (3.0 stream) builds and later:
> >>
> >>!MESSAGE Plug-in com.teaminabox.eclipse.wiki was unable to load class
> >>com.teaminabox.eclipse.wiki.editors.WikiEditor.
> >>!STACK 0
> >>org.osgi.framework.BundleException: The BundleActivator
> >>com.teaminabox.eclipse.wiki.WikiPlugin is invalid
> >>at
> >>
> >
> >
org.eclipse.osgi.framework.internal.core.Bundle.loadBundleAc tivator(Bundle.j
> > ava:176)
> >
> >>at
> >>
> >
> >
org.eclipse.osgi.framework.internal.core.BundleContext.start (BundleContext.j
> > ava:987)
> >
> >>at
> >>
> >
> >
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.j
> > ava:403)
> >
> >>(I used the wiki editor as an example - lots of others plugins have the
> >>same problem.)
> >>
> >>Before raising a bug I wanted to check if its simply a case of the
> >>plugins needing updating.
> >>The example plugins load properly so I suspect this is the case.
> >>
> >>Has anyone else found this problem?
> >>
> >>regards,
> >>
> >>Channing
> >
> >
> >
Re: 'Bundle Activator invalid' exceptions in I20040127 builds and later on OS X [message #188354 is a reply to message #188176] Mon, 02 February 2004 17:29 Go to previous messageGo to next message
Channing Walton is currently offline Channing WaltonFriend
Messages: 110
Registered: July 2009
Senior Member
Pascal Rapicault wrote:
> It looks like the WikiPlugin class had a problem to start. It might be
> missing a default constructor.
>
> Plz us now what your findings ours.

I'll have a look but all the plugins I use which aren't default plugins
fail to load. Of course, I may just be unlucky and selected plugins that
are wrong :-)

Channing
Re: 'Bundle Activator invalid' exceptions in I20040127 builds and later on OS X [message #188362 is a reply to message #188354] Mon, 02 February 2004 17:33 Go to previous messageGo to next message
Dave Carlson is currently offline Dave CarlsonFriend
Messages: 34
Registered: July 2009
Member
No, I don't think you are just unlucky :-) Several plugins I developed
which ran on 3.0 M5 also failed to load on the new integration build.
Making the change mentioned earlier in this thread fixed the problem. I
looked at the plugin.xml file from several eclipse default plugins and saw
the same "compatibility" variation of the runtime library was used. It
appears to be required now.

"Channing Walton" <channingwalton@mac.com> wrote in message
news:bvm18t$8ol$1@eclipse.org...
> Pascal Rapicault wrote:
> > It looks like the WikiPlugin class had a problem to start. It might be
> > missing a default constructor.
> >
> > Plz us now what your findings ours.
>
> I'll have a look but all the plugins I use which aren't default plugins
> fail to load. Of course, I may just be unlucky and selected plugins that
> are wrong :-)
>
> Channing
Re: 'Bundle Activator invalid' exceptions in I20040127 builds and later on OS X [message #188608 is a reply to message #188362] Tue, 03 February 2004 09:12 Go to previous message
Channing Walton is currently offline Channing WaltonFriend
Messages: 110
Registered: July 2009
Senior Member
Dave Carlson wrote:
> No, I don't think you are just unlucky :-)

Thanks Dave - I'll make the changes you suggested.

regards,

Channing
Previous Topic:CVS and Sourceforge
Next Topic:scrollbar shared among controls
Goto Forum:
  


Current Time: Mon Jul 22 00:20:59 GMT 2024

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

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

Back to the top