Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » BundleActivator Problem
BundleActivator Problem [message #287624] Tue, 05 July 2005 11:06 Go to next message
Eclipse UserFriend
Originally posted by: callum.devnet-uk.net

I've got a plug-in with a class that implements BundleActivator. In my
start () method, I try to create an instance of a class:

serviceImpl = new SAServiceImpl() ;

And this seems to be the problem.

If I run like this:

serviceImpl = new SAServiceImpl() ;
System.out.println ("hello") ;

I never see the "hello", but if i remove the line where I create the
object, I see "hello". So obviously there's something wrong with the class.

There are no errors at any point, with or without the creatation of the
object. The SAServiceImpl class itself is in the same plug-in as the
BundleActivator class, and it inherits from a class from another plug-in.

Is there a way I can get a stack trace or bloody something to give me some
hints on where to start?

Note:- This is used on IBM's WCTME oppose to Eclipse, but the theory
should be same.


Thanks
Re: BundleActivator Problem [message #287630 is a reply to message #287624] Tue, 05 July 2005 11:50 Go to previous message
Eclipse UserFriend
Originally posted by: callum.devnet-uk.net

I appear to have fixed it. The [obvious when you think about it] problem
was that I wasn't exporting required packages from anther plug-in. Doh.
Previous Topic:How to share comments and annotations?
Next Topic:Community driven translations
Goto Forum:
  


Current Time: Wed Nov 05 16:32:12 EST 2025

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

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

Back to the top