Platform.getBundleGroupProviders() fails [message #329066] |
Wed, 11 June 2008 18:39 |
DuWayne Morris![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=dmorris%40us.ibm.com) Messages: 36 Registered: July 2009 |
Member |
|
|
When running Eclipse headless (-application specified),
getBundleGroupProviders() returns an empty list.
have traced the issue further into the following class:
org.eclipse.osgi.framework.internal.core.ServiceRegistryImpl .java which
implements org.eclipse.osgi.framework.adaptor.ServiceRegistry
The issue is that when lookupServiceReferences is called to find the
org.eclipse.core.runtime.IBundleGroupProvider service, it is not there in
the
case when running through ASF (it is there when running the IDE). The
publishedServicesByClass member of this class has been initialized and
contains
a HashMap of 33 services, but is missing the IBundleGroupProvider service
we
are looking for. Thus, the return value it null.
This is a critical defect in TPTP
https://bugs.eclipse.org/bugs/show_bug.cgi?id=222382. Does anyone in
eclipse platform have a work-around to calling this API or initializing so
that the call succeeds?
I will also be filing an eclipse platform defect on this.
|
|
|
Powered by
FUDForum. Page generated in 0.03103 seconds