Community
Participate
Working Groups
In the initialization of the file-based discovery there is a race condition in org.eclipse.ecf.osgi.services.discovery.local.FileBasedDiscoveryImpl.init(). Since the BundleTracker is created and opened *before* the discoTrackerCustomizer, it's possible for other bundles being started/activated to result in notifications to the BundleTracker, resulting in accesses to the discoTrackerCustomizer before it's actually created/set and opened. The solution is to move the BundleTracker creation and opening to after the discoTrackerCustomizer creation (and with reciprocal behavior in destroy). A patch with this restructuring will be put on this bug, and with the approval from SEN, can/will be applied to the OSU OSL codebase (prior to the resolution of CQ http://dev.eclipse.org/ipzilla/show_bug.cgi?id=3232).
I agree, that would solve the issue. +1 from my side.
+1 from my side as well
Described fix committed to HEAD.