Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Jobs and unloading of plugins
Jobs and unloading of plugins [message #325631] Sat, 23 February 2008 23:14
Pawan Singh is currently offline Pawan SinghFriend
Messages: 9
Registered: July 2009
Junior Member
Hi

I have a question about jobs/threads and unloading of plugins. I search
various newsgroups and could not find any reference docs.

Let us assume that pluginA depends on pluginB. I have a job/thread which
is running some code in pluginA which may call some code in pluginB. When
the Eclipse workbench is shutting down, I am assuming that both these
plugins will not be unloaded till this job is done. But what I am finding
is that it is not true. Many times my job will get a null pointer
exception when running code in pluginB which looks like:
PluginBActivator.getDefault().dosomething. Basically, stop() on pluginB
has been called - but the job is still running and can access these
methods in pluginB.

Is there something I am missing? Any guidelines regarding jobs and eclipse
osgi shutdown or any whitepaper reference will be greatly appreciated.

Thanks
Pawan
Previous Topic:Wiki update about complex expressions
Next Topic:Extending Folder resource
Goto Forum:
  


Current Time: Fri Jul 19 14:29:23 GMT 2024

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

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

Back to the top