Program: 167103
Project: 167103
Buggy source:
private Config configHazelcast(Configuration configuration){
  Config config=new Config();
  config.getNetworkConfig().setPort(5900);
  config.getNetworkConfig().setPortAutoIncrement(true);
  String[] ips=configuration.getStringArray("String_Node_Str");
  if (ips.length > 0) {
    NetworkConfig network=config.getNetworkConfig();
    JoinConfig join=network.getJoin();
    join.getMulticastConfig().setEnabled(false);
    for (    String member : ips) {
      join.getTcpIpConfig().addMember(member);
    }
    join.getTcpIpConfig().setEnabled(true);
  }
  NearCacheConfig nearCacheConfig=new NearCacheConfig();
  MapConfig schemaMapConfig=new MapConfig();
  schemaMapConfig.setName(this.sqlgGraph.getConfiguration().getString("String_Node_Str") + SCHEMAS_HAZELCAST_MAP);
  schemaMapConfig.setNearCacheConfig(nearCacheConfig);
  config.addMapConfig(schemaMapConfig);
  MapConfig labelSchemasMapConfig=new MapConfig();
  labelSchemasMapConfig.setName(this.sqlgGraph.getConfiguration().getString("String_Node_Str") + SCHEMAS_HAZELCAST_MAP);
  labelSchemasMapConfig.setNearCacheConfig(nearCacheConfig);
  config.addMapConfig(labelSchemasMapConfig);
  MapConfig tableMapConfig=new MapConfig();
  tableMapConfig.setNearCacheConfig(nearCacheConfig);
  config.addMapConfig(tableMapConfig);
  MapConfig edgeForeignKeysMapConfig=new MapConfig();
  edgeForeignKeysMapConfig.setName(this.sqlgGraph.getConfiguration().getString("String_Node_Str") + SCHEMAS_HAZELCAST_MAP);
  edgeForeignKeysMapConfig.setNearCacheConfig(nearCacheConfig);
  config.addMapConfig(edgeForeignKeysMapConfig);
  MapConfig tableLabelMapConfig=new MapConfig();
  tableLabelMapConfig.setName(this.sqlgGraph.getConfiguration().getString("String_Node_Str") + SCHEMAS_HAZELCAST_MAP);
  tableLabelMapConfig.setNearCacheConfig(nearCacheConfig);
  config.addMapConfig(tableLabelMapConfig);
  return config;
}

Fixed version (ground truth):
private Config configHazelcast(Configuration configuration){
  Config config=new Config();
  config.getNetworkConfig().setPort(5900);
  config.getNetworkConfig().setPortAutoIncrement(true);
  String[] ips=configuration.getStringArray("String_Node_Str");
  if (ips.length > 0) {
    NetworkConfig network=config.getNetworkConfig();
    JoinConfig join=network.getJoin();
    join.getMulticastConfig().setEnabled(false);
    for (    String member : ips) {
      join.getTcpIpConfig().addMember(member);
    }
    join.getTcpIpConfig().setEnabled(true);
  }
  NearCacheConfig nearCacheConfig=new NearCacheConfig();
  MapConfig schemaMapConfig=new MapConfig();
  schemaMapConfig.setName(this.sqlgGraph.getConfiguration().getString("String_Node_Str") + SCHEMAS_HAZELCAST_MAP);
  schemaMapConfig.setNearCacheConfig(nearCacheConfig);
  config.addMapConfig(schemaMapConfig);
  MapConfig labelSchemasMapConfig=new MapConfig();
  labelSchemasMapConfig.setName(this.sqlgGraph.getConfiguration().getString("String_Node_Str") + LABEL_SCHEMAS_HAZELCAST_MAP);
  labelSchemasMapConfig.setNearCacheConfig(nearCacheConfig);
  config.addMapConfig(labelSchemasMapConfig);
  MapConfig tableMapConfig=new MapConfig();
  tableMapConfig.setName(this.sqlgGraph.getConfiguration().getString("String_Node_Str") + TABLES_HAZELCAST_MAP);
  tableMapConfig.setNearCacheConfig(nearCacheConfig);
  config.addMapConfig(tableMapConfig);
  MapConfig edgeForeignKeysMapConfig=new MapConfig();
  edgeForeignKeysMapConfig.setName(this.sqlgGraph.getConfiguration().getString("String_Node_Str") + EDGE_FOREIGN_KEYS_HAZELCAST_MAP);
  edgeForeignKeysMapConfig.setNearCacheConfig(nearCacheConfig);
  config.addMapConfig(edgeForeignKeysMapConfig);
  MapConfig tableLabelMapConfig=new MapConfig();
  tableLabelMapConfig.setName(this.sqlgGraph.getConfiguration().getString("String_Node_Str") + TABLE_LABELS_HAZELCAST_MAP);
  tableLabelMapConfig.setNearCacheConfig(nearCacheConfig);
  config.addMapConfig(tableLabelMapConfig);
  return config;
}