Program: 46984
Project: 46984
Buggy source:
@Inject public TemplateEngineFreemarker(Messages messages,Lang lang,Logger logger,TemplateEngineFreemarkerExceptionHandler templateEngineFreemarkerExceptionHandler,TemplateEngineHelper templateEngineHelper,TemplateEngineManager templateEngineManager,NinjaProperties ninjaProperties) throws Exception {
  this.messages=messages;
  this.lang=lang;
  this.logger=logger;
  this.templateEngineFreemarkerExceptionHandler=templateEngineFreemarkerExceptionHandler;
  this.templateEngineHelper=templateEngineHelper;
  cfg=new Configuration();
  cfg.setIncompatibleImprovements(new Version(2,3,20));
  cfg.setDefaultEncoding(NinjaConstant.UTF_8);
  cfg.setOutputEncoding(NinjaConstant.UTF_8);
  cfg.setTemplateExceptionHandler(templateEngineFreemarkerExceptionHandler);
  String srcDir=System.getProperty("String_Node_Str") + File.separator + "String_Node_Str"+ File.separator+ "String_Node_Str"+ File.separator+ "String_Node_Str";
  if (ninjaProperties.isDev() && new File(srcDir).exists()) {
    try {
      FileTemplateLoader fileTemplateLoader=new FileTemplateLoader(new File(srcDir));
      ClassTemplateLoader classTemplateLoader=new ClassTemplateLoader(this.getClass(),"String_Node_Str");
      TemplateLoader[] templateLoader=new TemplateLoader[]{fileTemplateLoader,classTemplateLoader};
      MultiTemplateLoader multiTemplateLoader=new MultiTemplateLoader(templateLoader);
      cfg.setTemplateLoader(multiTemplateLoader);
    }
 catch (    IOException e) {
      logger.error("String_Node_Str" + srcDir,e);
    }
    cfg.setTemplateUpdateDelay(1);
  }
 else {
    cfg.setClassForTemplateLoading(this.getClass(),"String_Node_Str");
    cfg.setTemplateUpdateDelay(Integer.MAX_VALUE);
    cfg.setSetting(Configuration.CACHE_STORAGE_KEY,"String_Node_Str");
  }
  cfg.setTemplateLoader(new TemplateEngineFreemarkerEscapedLoader(cfg.getTemplateLoader()));
  cfg.setNumberFormat("String_Node_Str");
  BeansWrapper beansWrapper=(BeansWrapper)cfg.getObjectWrapper();
  beansWrapper.setExposeFields(true);
}

Fixed version (ground truth):
@Inject public TemplateEngineFreemarker(Messages messages,Lang lang,Logger logger,TemplateEngineFreemarkerExceptionHandler templateEngineFreemarkerExceptionHandler,TemplateEngineHelper templateEngineHelper,TemplateEngineManager templateEngineManager,TemplateEngineFreemarkerReverseRouteMethod templateEngineFreemarkerReverseRouteMethod,TemplateEngineFreemarkerAssetsAtMethod templateEngineFreemarkerAssetsAtMethod,TemplateEngineFreemarkerWebJarsAtMethod templateEngineFreemarkerWebJarsAtMethod,NinjaProperties ninjaProperties) throws Exception {
  this.messages=messages;
  this.lang=lang;
  this.logger=logger;
  this.templateEngineFreemarkerExceptionHandler=templateEngineFreemarkerExceptionHandler;
  this.templateEngineHelper=templateEngineHelper;
  this.templateEngineFreemarkerReverseRouteMethod=templateEngineFreemarkerReverseRouteMethod;
  this.templateEngineFreemarkerAssetsAtMethod=templateEngineFreemarkerAssetsAtMethod;
  this.templateEngineFreemarkerWebJarsAtMethod=templateEngineFreemarkerWebJarsAtMethod;
  cfg=new Configuration();
  cfg.setIncompatibleImprovements(new Version(2,3,20));
  cfg.setDefaultEncoding(NinjaConstant.UTF_8);
  cfg.setOutputEncoding(NinjaConstant.UTF_8);
  cfg.setTemplateExceptionHandler(templateEngineFreemarkerExceptionHandler);
  String srcDir=System.getProperty("String_Node_Str") + File.separator + "String_Node_Str"+ File.separator+ "String_Node_Str"+ File.separator+ "String_Node_Str";
  if (ninjaProperties.isDev() && new File(srcDir).exists()) {
    try {
      FileTemplateLoader fileTemplateLoader=new FileTemplateLoader(new File(srcDir));
      ClassTemplateLoader classTemplateLoader=new ClassTemplateLoader(this.getClass(),"String_Node_Str");
      TemplateLoader[] templateLoader=new TemplateLoader[]{fileTemplateLoader,classTemplateLoader};
      MultiTemplateLoader multiTemplateLoader=new MultiTemplateLoader(templateLoader);
      cfg.setTemplateLoader(multiTemplateLoader);
    }
 catch (    IOException e) {
      logger.error("String_Node_Str" + srcDir,e);
    }
    cfg.setTemplateUpdateDelay(1);
  }
 else {
    cfg.setClassForTemplateLoading(this.getClass(),"String_Node_Str");
    cfg.setTemplateUpdateDelay(Integer.MAX_VALUE);
    cfg.setSetting(Configuration.CACHE_STORAGE_KEY,"String_Node_Str");
  }
  cfg.setTemplateLoader(new TemplateEngineFreemarkerEscapedLoader(cfg.getTemplateLoader()));
  cfg.setNumberFormat("String_Node_Str");
  BeansWrapper beansWrapper=(BeansWrapper)cfg.getObjectWrapper();
  beansWrapper.setExposeFields(true);
}