Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Platform.getBundleGroupProviders() fails
Platform.getBundleGroupProviders() fails [message #329066] Wed, 11 June 2008 18:39
DuWayne Morris is currently offline DuWayne MorrisFriend
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.
Previous Topic:workspace use-case that Eclipse fails to handle: build newly-opened project
Next Topic:Prevent plugin installation or warn users about JVM versions
Goto Forum:
  


Current Time: Thu Dec 26 11:10:47 GMT 2024

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

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

Back to the top