Program: 21270
Project: 21270
Buggy source:
/** 
 * Prüft anhand der Globalen IP Check einstellungen die IP
 * @return ip oder /offline
 */
public static String getIPAddress(){
  Browser br=new Browser();
  if (JDUtilities.getSubConfig("String_Node_Str").getBooleanProperty(Configuration.PARAM_GLOBAL_IP_DISABLE,false)) {
    logger.finer("String_Node_Str");
    return System.currentTimeMillis() + "String_Node_Str";
  }
  String site=JDUtilities.getSubConfig("String_Node_Str").getStringProperty(Configuration.PARAM_GLOBAL_IP_CHECK_SITE,"String_Node_Str");
  String patt=JDUtilities.getSubConfig("String_Node_Str").getStringProperty(Configuration.PARAM_GLOBAL_IP_PATTERN,"String_Node_Str");
  try {
    logger.finer("String_Node_Str" + site);
    Pattern pattern=Pattern.compile(patt);
    Matcher matcher=pattern.matcher(br.getPage(site));
    if (matcher.find()) {
      if (matcher.groupCount() > 0) {
        return matcher.group(1);
      }
 else {
        logger.severe("String_Node_Str" + patt);
      }
    }
    logger.info("String_Node_Str" + patt + "String_Node_Str"+ site+ "String_Node_Str"+ br.toString());
  }
 catch (  Exception e1) {
    logger.severe("String_Node_Str" + e1.toString());
  }
  try {
    logger.finer("String_Node_Str");
    Pattern pattern=Pattern.compile(patt);
    Matcher matcher=pattern.matcher(br.getPage("String_Node_Str"));
    if (matcher.find()) {
      if (matcher.groupCount() > 0) {
        return matcher.group(1);
      }
 else {
        logger.severe("String_Node_Str" + patt);
      }
    }
    return "String_Node_Str";
  }
 catch (  Exception e1) {
    logger.severe("String_Node_Str" + e1.toString());
    logger.info("String_Node_Str");
  }
  return "String_Node_Str";
}

Fixed version (ground truth):
/** 
 * Prüft anhand der Globalen IP Check einstellungen die IP
 * @return ip oder /offline
 */
public static String getIPAddress(){
  Browser br=new Browser();
  br.setConnectTimeout(5000);
  br.setReadTimeout(5000);
  if (JDUtilities.getSubConfig("String_Node_Str").getBooleanProperty(Configuration.PARAM_GLOBAL_IP_DISABLE,false)) {
    logger.finer("String_Node_Str");
    return System.currentTimeMillis() + "String_Node_Str";
  }
  String site=JDUtilities.getSubConfig("String_Node_Str").getStringProperty(Configuration.PARAM_GLOBAL_IP_CHECK_SITE,"String_Node_Str");
  String patt=JDUtilities.getSubConfig("String_Node_Str").getStringProperty(Configuration.PARAM_GLOBAL_IP_PATTERN,"String_Node_Str");
  try {
    logger.finer("String_Node_Str" + site);
    Pattern pattern=Pattern.compile(patt);
    Matcher matcher=pattern.matcher(br.getPage(site));
    if (matcher.find()) {
      if (matcher.groupCount() > 0) {
        return matcher.group(1);
      }
 else {
        logger.severe("String_Node_Str" + patt);
      }
    }
    logger.info("String_Node_Str" + patt + "String_Node_Str"+ site+ "String_Node_Str"+ br.toString());
  }
 catch (  Exception e1) {
    logger.severe("String_Node_Str" + e1.toString());
  }
  try {
    logger.finer("String_Node_Str");
    Pattern pattern=Pattern.compile(patt);
    Matcher matcher=pattern.matcher(br.getPage("String_Node_Str"));
    if (matcher.find()) {
      if (matcher.groupCount() > 0) {
        return matcher.group(1);
      }
 else {
        logger.severe("String_Node_Str" + patt);
      }
    }
    return "String_Node_Str";
  }
 catch (  Exception e1) {
    logger.severe("String_Node_Str" + e1.toString());
    logger.info("String_Node_Str");
  }
  return "String_Node_Str";
}