Program: 51876
Project: 51876
Buggy source:
public String performIncludeTranslations(String input) throws XulException {
  String output=input;
  for (  String includeSrc : includedSources) {
    try {
      ResourceBundle res=ResourceBundle.getBundle(includeSrc.replace("String_Node_Str","String_Node_Str"));
      resourceBundleList.add((ResourceBundle)res);
    }
 catch (    MissingResourceException e) {
      URL url=null;
      try {
        url=new File("String_Node_Str").toURL();
      }
 catch (      MalformedURLException ex) {
      }
      URLClassLoader cls=URLClassLoader.newInstance(new URL[]{url});
      try {
        resourceBundleList.add(ResourceBundle.getBundle(includeSrc.replace("String_Node_Str","String_Node_Str"),Locale.getDefault(),cls));
      }
 catch (      MissingResourceException ex) {
        continue;
      }
    }
  }
  for (  String resource : resourceBundles) {
    logger.debug("String_Node_Str" + resource);
    try {
      ResourceBundle res=ResourceBundle.getBundle(resource);
      if (res == null) {
        continue;
      }
      resourceBundleList.add((ResourceBundle)res);
    }
 catch (    MissingResourceException e) {
      URL url=null;
      try {
        url=new File("String_Node_Str").toURL();
      }
 catch (      MalformedURLException ex) {
      }
      URLClassLoader cls=URLClassLoader.newInstance(new URL[]{url});
      try {
        ResourceBundle res=ResourceBundle.getBundle(resource,Locale.getDefault(),cls);
        resourceBundleList.add(res);
      }
 catch (      MissingResourceException ex) {
        continue;
      }
    }
  }
  for (  Object bundle : resourceBundleList) {
    try {
      output=ResourceBundleTranslator.translate(output,(ResourceBundle)bundle);
    }
 catch (    IOException e) {
      e.printStackTrace();
    }
  }
  return output;
}

Fixed version (ground truth):
public String performIncludeTranslations(String input) throws XulException {
  String output=input;
  for (  String includeSrc : includedSources) {
    try {
      ResourceBundle res=null;
      for (      ClassLoader loader : classloaders) {
        try {
          res=ResourceBundle.getBundle(includeSrc.replace("String_Node_Str","String_Node_Str"),Locale.getDefault(),loader);
          resourceBundleList.add((ResourceBundle)res);
          break;
        }
 catch (        MissingResourceException e) {
        }
      }
    }
 catch (    MissingResourceException e) {
      URL url=null;
      try {
        url=new File("String_Node_Str").toURL();
      }
 catch (      MalformedURLException ex) {
      }
      URLClassLoader cls=URLClassLoader.newInstance(new URL[]{url});
      try {
        resourceBundleList.add(ResourceBundle.getBundle(includeSrc.replace("String_Node_Str","String_Node_Str"),Locale.getDefault(),cls));
      }
 catch (      MissingResourceException ex) {
        continue;
      }
    }
  }
  for (  String resource : resourceBundles) {
    logger.debug("String_Node_Str" + resource);
    try {
      ResourceBundle res=ResourceBundle.getBundle(resource);
      if (res == null) {
        continue;
      }
      resourceBundleList.add((ResourceBundle)res);
    }
 catch (    MissingResourceException e) {
      URL url=null;
      try {
        url=new File("String_Node_Str").toURL();
      }
 catch (      MalformedURLException ex) {
      }
      URLClassLoader cls=URLClassLoader.newInstance(new URL[]{url});
      try {
        ResourceBundle res=ResourceBundle.getBundle(resource,Locale.getDefault(),cls);
        resourceBundleList.add(res);
      }
 catch (      MissingResourceException ex) {
        continue;
      }
    }
  }
  for (  Object bundle : resourceBundleList) {
    try {
      output=ResourceBundleTranslator.translate(output,(ResourceBundle)bundle);
    }
 catch (    IOException e) {
      e.printStackTrace();
    }
  }
  return output;
}