Program: 48789
Project: 48789
Buggy source:
@Override public Void call() throws Exception {
  if (vcVm == null) {
    logger.info("String_Node_Str");
    return null;
  }
  final VcVirtualMachine vm=VcCache.getIgnoreMissing(vcVm.getId());
  if (vm == null) {
    logger.info("String_Node_Str");
  }
  VcContext.inVcSessionDo(new VcSession<Void>(){
    @Override protected Void body() throws Exception {
      List<OptionValue> options=new ArrayList<OptionValue>();
      if (vm.getId().equalsIgnoreCase(masterMoId)) {
        options.add(new OptionValueImpl(VHMConstants.VHM_ENABLE,enableAutoElasticity.toString()));
        options.add(new OptionValueImpl(VHMConstants.VHM_INSTANCERANGE_COMPUTENODE_NUM,(new Integer(minComputeNodeNum)).toString() + "String_Node_Str" + (new Integer(maxComputeNodeNum)).toString()));
        options.add(new OptionValueImpl(VHMConstants.VHM_JOBTRACKER_PORT,jobTrackerPort));
      }
      options.add(new OptionValueImpl(VHMConstants.VHM_MASTER_MOID,masterMoId.split("String_Node_Str")[2]));
      options.add(new OptionValueImpl(VHMConstants.VHM_MASTER_UUID,masterUUID));
      options.add(new OptionValueImpl(VHMConstants.VHM_SERENGETI_UUID,serengetiUUID));
      options.add(new OptionValueImpl(VHMConstants.VHM_ELASTIC,(new Boolean(isComputeOnlyNode)).toString()));
      OptionValue[] optionValues=options.toArray((OptionValue[])Array.newInstance(OptionValue.class,options.size()));
      ConfigSpec spec=new ConfigSpecImpl();
      spec.setExtraConfig(optionValues);
      vm.reconfigure(spec);
      logger.info("String_Node_Str" + masterMoId + "String_Node_Str"+ masterUUID+ "String_Node_Str"+ isComputeOnlyNode+ "String_Node_Str"+ enableAutoElasticity+ "String_Node_Str"+ jobTrackerPort+ "String_Node_Str"+ minComputeNodeNum+ "String_Node_Str"+ maxComputeNodeNum);
      return null;
    }
    protected boolean isTaskSession(){
      return true;
    }
  }
);
  return null;
}

Fixed version (ground truth):
@Override public Void call() throws Exception {
  if (vcVm == null) {
    logger.info("String_Node_Str");
    return null;
  }
  final VcVirtualMachine vm=VcCache.getIgnoreMissing(vcVm.getId());
  if (vm == null) {
    logger.info("String_Node_Str");
  }
  VcContext.inVcSessionDo(new VcSession<Void>(){
    @Override protected Void body() throws Exception {
      List<OptionValue> options=new ArrayList<OptionValue>();
      if (vm.getId().equalsIgnoreCase(masterMoId)) {
        options.add(new OptionValueImpl(VHMConstants.VHM_ENABLE,enableAutoElasticity.toString()));
        options.add(new OptionValueImpl(VHMConstants.VHM_INSTANCERANGE_COMPUTENODE_NUM,(new Integer(minComputeNodeNum)).toString() + "String_Node_Str" + (new Integer(maxComputeNodeNum)).toString()));
        options.add(new OptionValueImpl(VHMConstants.VHM_JOBTRACKER_PORT,jobTrackerPort));
        options.add(new OptionValueImpl(VHMConstants.VHM_CLUSTER_NAME,clusterName));
      }
      options.add(new OptionValueImpl(VHMConstants.VHM_MASTER_MOID,masterMoId.split("String_Node_Str")[2]));
      options.add(new OptionValueImpl(VHMConstants.VHM_MASTER_UUID,masterUUID));
      options.add(new OptionValueImpl(VHMConstants.VHM_SERENGETI_UUID,serengetiUUID));
      options.add(new OptionValueImpl(VHMConstants.VHM_ELASTIC,(new Boolean(isComputeOnlyNode)).toString()));
      OptionValue[] optionValues=options.toArray((OptionValue[])Array.newInstance(OptionValue.class,options.size()));
      ConfigSpec spec=new ConfigSpecImpl();
      spec.setExtraConfig(optionValues);
      vm.reconfigure(spec);
      logger.info("String_Node_Str" + masterMoId + "String_Node_Str"+ masterUUID+ "String_Node_Str"+ isComputeOnlyNode+ "String_Node_Str"+ enableAutoElasticity+ "String_Node_Str"+ jobTrackerPort+ "String_Node_Str"+ minComputeNodeNum+ "String_Node_Str"+ maxComputeNodeNum);
      return null;
    }
    protected boolean isTaskSession(){
      return true;
    }
  }
);
  return null;
}