Program: 12014
Project: 12014
Buggy source:
protected Configulation loadConfig(){
  Configulation config=new Configulation();
  config.language=language;
  config.outputFileEncoding=outputFileEncoding;
  config.directoryPathOfProductSourceCode=directoryPathOfProductSourceCode;
  config.directoryPathOfTestSourceCode=directoryPathOfTestSourceCode;
  try {
    config.junitVersion=JUnitVersion.valueOf(junitVersion);
  }
 catch (  Exception e) {
    config.junitVersion=JUnitVersion.version4;
  }
  config.testCaseClassNameToExtend=testCaseClassNameToExtend;
  config.isTemplateImplementationRequired=isTemplateImplementationRequired;
  config.target.isAccessorExcluded=target_isAccessorExcluded;
  config.target.isExceptionPatternRequired=target_isExceptionPatternRequired;
  config.target.isPackageLocalMethodRequired=target_isPackageLocalMethodRequired;
  config.target.isProtectedMethodRequired=target_isProtectedMethodRequired;
  config.target.isPublicMethodRequired=target_isPublicMethodRequired;
  config.testMethodName.isArgsRequired=testMethodName_isArgsRequired;
  config.testMethodName.isReturnRequired=testMethodName_isReturnRequired;
  config.testMethodName.basicDelimiter=testMethodName_basicDelimiter;
  config.testMethodName.argsAreaPrefix=testMethodName_argsAreaPrefix;
  config.testMethodName.argsAreaDelimiter=testMethodName_argsAreaDelimiter;
  config.testMethodName.returnAreaPrefix=testMethodName_returnAreaPrefix;
  config.testMethodName.returnAreaDelimiter=testMethodName_returnAreaDelimiter;
  config.testMethodName.exceptionAreaPrefix=testMethodName_exceptionAreaPrefix;
  config.testMethodName.exceptionAreaDelimiter=testMethodName_exceptionAreaDelimiter;
  try {
    config.mockObjectFramework=MockObjectFramework.valueOf(mockObjectFramework);
  }
 catch (  Exception e) {
    config.mockObjectFramework=null;
  }
  return config;
}

Fixed version (ground truth):
protected Configuration loadConfig(){
  Configuration config=new Configuration();
  config.language=language;
  config.outputFileEncoding=outputFileEncoding;
  config.directoryPathOfProductSourceCode=directoryPathOfProductSourceCode;
  config.directoryPathOfTestSourceCode=directoryPathOfTestSourceCode;
  try {
    config.junitVersion=JUnitVersion.valueOf(junitVersion);
  }
 catch (  Exception e) {
    config.junitVersion=JUnitVersion.version4;
  }
  config.testCaseClassNameToExtend=testCaseClassNameToExtend;
  config.isTemplateImplementationRequired=isTemplateImplementationRequired;
  config.target.isAccessorExcluded=target_isAccessorExcluded;
  config.target.isExceptionPatternRequired=target_isExceptionPatternRequired;
  config.target.isPackageLocalMethodRequired=target_isPackageLocalMethodRequired;
  config.target.isProtectedMethodRequired=target_isProtectedMethodRequired;
  config.target.isPublicMethodRequired=target_isPublicMethodRequired;
  config.testMethodName.isArgsRequired=testMethodName_isArgsRequired;
  config.testMethodName.isReturnRequired=testMethodName_isReturnRequired;
  config.testMethodName.basicDelimiter=testMethodName_basicDelimiter;
  config.testMethodName.argsAreaPrefix=testMethodName_argsAreaPrefix;
  config.testMethodName.argsAreaDelimiter=testMethodName_argsAreaDelimiter;
  config.testMethodName.returnAreaPrefix=testMethodName_returnAreaPrefix;
  config.testMethodName.returnAreaDelimiter=testMethodName_returnAreaDelimiter;
  config.testMethodName.exceptionAreaPrefix=testMethodName_exceptionAreaPrefix;
  config.testMethodName.exceptionAreaDelimiter=testMethodName_exceptionAreaDelimiter;
  try {
    config.mockObjectFramework=MockObjectFramework.valueOf(mockObjectFramework);
  }
 catch (  Exception e) {
    config.mockObjectFramework=null;
  }
  try {
    config.testingPatternExplicitComment=TestingPatternExplicitComment.valueOf(testingPatternExplicitComment);
  }
 catch (  Exception e) {
    config.testingPatternExplicitComment=null;
  }
  return config;
}