Program: 48472
Project: 48472
Buggy source:
private HazelcastClient(ClientConfig config){
  this.config=config;
  final GroupConfig groupConfig=config.getGroupConfig();
  instanceName="String_Node_Str" + id + (groupConfig != null ? "String_Node_Str" + groupConfig.getName() : "String_Node_Str");
  threadGroup=new ThreadGroup(instanceName);
  lifecycleService=new LifecycleServiceImpl(this);
  try {
    String partitioningStrategyClassName=System.getProperty(GroupProperties.PROP_PARTITIONING_STRATEGY_CLASS);
    final PartitioningStrategy partitioningStrategy;
    if (partitioningStrategyClassName != null && partitioningStrategyClassName.length() > 0) {
      partitioningStrategy=ClassLoaderUtil.newInstance(config.getClassLoader(),partitioningStrategyClassName);
    }
 else {
      partitioningStrategy=new DefaultPartitioningStrategy();
    }
    serializationService=new SerializationServiceBuilder().setManagedContext(new HazelcastClientManagedContext(this,config.getManagedContext())).setClassLoader(config.getClassLoader()).setConfig(config.getSerializationConfig()).setPartitioningStrategy(partitioningStrategy).build();
  }
 catch (  Exception e) {
    throw ExceptionUtil.rethrow(e);
  }
  proxyManager=new ProxyManager(this);
  executionService=new ClientExecutionServiceImpl(instanceName,threadGroup,Thread.currentThread().getContextClassLoader(),config.getExecutorPoolSize());
  clusterService=new ClientClusterServiceImpl(this);
  LoadBalancer loadBalancer=config.getLoadBalancer();
  if (loadBalancer == null) {
    loadBalancer=new RoundRobinLB();
  }
  if (config.isSmartRouting()) {
    connectionManager=new SmartClientConnectionManager(this,clusterService.getAuthenticator(),loadBalancer);
  }
 else {
    connectionManager=new DummyClientConnectionManager(this,clusterService.getAuthenticator(),loadBalancer);
  }
  invocationService=new ClientInvocationServiceImpl(this);
  userContext=new ConcurrentHashMap<String,Object>();
  loadBalancer.init(getCluster(),config);
  proxyManager.init(config);
  partitionService=new ClientPartitionServiceImpl(this);
}

Fixed version (ground truth):
private HazelcastClient(ClientConfig config){
  this.config=config;
  final GroupConfig groupConfig=config.getGroupConfig();
  instanceName="String_Node_Str" + id + (groupConfig != null ? "String_Node_Str" + groupConfig.getName() : "String_Node_Str");
  threadGroup=new ThreadGroup(instanceName);
  lifecycleService=new LifecycleServiceImpl(this);
  try {
    String partitioningStrategyClassName=System.getProperty(GroupProperties.PROP_PARTITIONING_STRATEGY_CLASS);
    final PartitioningStrategy partitioningStrategy;
    if (partitioningStrategyClassName != null && partitioningStrategyClassName.length() > 0) {
      partitioningStrategy=ClassLoaderUtil.newInstance(config.getClassLoader(),partitioningStrategyClassName);
    }
 else {
      partitioningStrategy=new DefaultPartitioningStrategy();
    }
    serializationService=new SerializationServiceBuilder().setManagedContext(new HazelcastClientManagedContext(this,config.getManagedContext())).setClassLoader(config.getClassLoader()).setConfig(config.getSerializationConfig()).setPartitioningStrategy(partitioningStrategy).build();
  }
 catch (  Exception e) {
    throw ExceptionUtil.rethrow(e);
  }
  proxyManager=new ProxyManager(this);
  transactionManager=new ClientTransactionManager(this);
  executionService=new ClientExecutionServiceImpl(instanceName,threadGroup,Thread.currentThread().getContextClassLoader(),config.getExecutorPoolSize());
  clusterService=new ClientClusterServiceImpl(this);
  LoadBalancer loadBalancer=config.getLoadBalancer();
  if (loadBalancer == null) {
    loadBalancer=new RoundRobinLB();
  }
  if (config.isSmartRouting()) {
    connectionManager=new SmartClientConnectionManager(this,clusterService.getAuthenticator(),loadBalancer);
  }
 else {
    connectionManager=new DummyClientConnectionManager(this,clusterService.getAuthenticator(),loadBalancer);
  }
  invocationService=new ClientInvocationServiceImpl(this);
  userContext=new ConcurrentHashMap<String,Object>();
  loadBalancer.init(getCluster(),config);
  proxyManager.init(config);
  partitionService=new ClientPartitionServiceImpl(this);
}