Program: 93862
Project: 93862
Buggy source:
/** 
 * {@inheritDoc}
 */
public void start(BundleContext context) throws Exception {
  publishConfigurations(context);
  ResolutionFailureDetective rfd=createResolutionFailureDetective(context);
  Repository repository=getPotentiallyDelayedService(context,Repository.class);
  PackageAdmin packageAdmin=getPotentiallyDelayedService(context,PackageAdmin.class);
  EventLogger eventLogger=getPotentiallyDelayedService(context,EventLoggerFactory.class).createEventLogger(context.getBundle());
  RegionDigraph regionDigraph=getPotentiallyDelayedService(context,RegionDigraph.class);
  WorkArea workArea=getPotentiallyDelayedService(context,WorkArea.class);
  ImportExpansionHandler importExpansionHandler=createImportExpansionHandler(context,packageAdmin,repository,eventLogger);
  this.registrationTracker.track(context.registerService(ImportExpander.class.getName(),importExpansionHandler,null));
  TransformedManifestProvidingBundleFileWrapper bundleTransformerHandler=createBundleTransformationHandler(importExpansionHandler);
  OsgiFramework osgiFramework=createOsgiFramework(context,packageAdmin,bundleTransformerHandler);
  this.registrationTracker.track(context.registerService(OsgiFramework.class.getName(),osgiFramework,null));
  DumpExtractor dumpExtractor=new StandardDumpExtractor(workArea);
  QuasiFrameworkFactory quasiFrameworkFactory=createQuasiFrameworkFactory(context,rfd,repository,bundleTransformerHandler,regionDigraph,dumpExtractor);
  this.registrationTracker.track(context.registerService(QuasiFrameworkFactory.class.getName(),quasiFrameworkFactory,null));
  EquinoxHookRegistrar hookRegistrar=createHookRegistrar(context,packageAdmin,bundleTransformerHandler);
  hookRegistrar.init();
  this.hookRegistrar=hookRegistrar;
  PackageAdminUtil packageAdminUtil=createPackageAdminUtil(context);
  this.registrationTracker.track(context.registerService(PackageAdminUtil.class.getName(),packageAdminUtil,null));
  scheduleRegistrationOfServiceScopingRegistryHooks(context,eventLogger);
  Dictionary<String,Object> properties=new Hashtable<String,Object>();
  properties.put(Constants.SERVICE_RANKING,Integer.MIN_VALUE);
  this.registrationTracker.track(context.registerService(ModuleContextAccessor.class.getName(),new EmptyModuleContextAccessor(),properties));
  scheduleInitialArtifactDeployerCreation(context,eventLogger);
  context.registerService(ConfigurationDeployer.class,new UserRegionConfigurationDeployer(context),null);
  initializeConsoleConfigurationConvertor(context);
  this.stateDumpMBeanExorter=new StateDumpMBeanExporter(quasiFrameworkFactory);
  initializeConsoleConfigurationConvertor(context);
}

Fixed version (ground truth):
/** 
 * {@inheritDoc}
 */
public void start(BundleContext context) throws Exception {
  publishConfigurations(context);
  ResolutionFailureDetective rfd=createResolutionFailureDetective(context);
  Repository repository=getPotentiallyDelayedService(context,Repository.class);
  PackageAdmin packageAdmin=getPotentiallyDelayedService(context,PackageAdmin.class);
  EventLogger eventLogger=getPotentiallyDelayedService(context,EventLoggerFactory.class).createEventLogger(context.getBundle());
  RegionDigraph regionDigraph=getPotentiallyDelayedService(context,RegionDigraph.class);
  WorkArea workArea=getPotentiallyDelayedService(context,WorkArea.class);
  ImportExpansionHandler importExpansionHandler=createImportExpansionHandler(context,packageAdmin,repository,eventLogger);
  this.registrationTracker.track(context.registerService(ImportExpander.class.getName(),importExpansionHandler,null));
  TransformedManifestProvidingBundleFileWrapper bundleTransformerHandler=createBundleTransformationHandler(importExpansionHandler);
  OsgiFramework osgiFramework=createOsgiFramework(context,packageAdmin,bundleTransformerHandler);
  this.registrationTracker.track(context.registerService(OsgiFramework.class.getName(),osgiFramework,null));
  DumpExtractor dumpExtractor=new StandardDumpExtractor(workArea);
  QuasiFrameworkFactory quasiFrameworkFactory=createQuasiFrameworkFactory(context,rfd,repository,bundleTransformerHandler,regionDigraph,dumpExtractor);
  this.registrationTracker.track(context.registerService(QuasiFrameworkFactory.class.getName(),quasiFrameworkFactory,null));
  EquinoxHookRegistrar hookRegistrar=createHookRegistrar(context,packageAdmin,bundleTransformerHandler);
  hookRegistrar.init();
  this.hookRegistrar=hookRegistrar;
  PackageAdminUtil packageAdminUtil=createPackageAdminUtil(context);
  this.registrationTracker.track(context.registerService(PackageAdminUtil.class.getName(),packageAdminUtil,null));
  scheduleRegistrationOfServiceScopingRegistryHooks(context,eventLogger);
  Dictionary<String,Object> properties=new Hashtable<String,Object>();
  properties.put(Constants.SERVICE_RANKING,Integer.MIN_VALUE);
  this.registrationTracker.track(context.registerService(ModuleContextAccessor.class.getName(),new EmptyModuleContextAccessor(),properties));
  scheduleInitialArtifactDeployerCreation(context,eventLogger);
  context.registerService(ConfigurationDeployer.class,new UserRegionConfigurationDeployer(context),null);
  initializeConsoleConfigurationConvertor(context);
  this.stateDumpMBeanExorter=new StateDumpMBeanExporter(quasiFrameworkFactory);
}