Program: 121427
Project: 121427
Buggy source:
/** 
 * DOC hcyi Comment method "updateRevisionService".
 * @param idExtension
 * @param typeExtension
 * @param username
 * @param passwordHash
 * @param version
 * @param listVersionCompatibles
 * @param description
 * @param agreement
 * @return
 */
public static WebserviceStatus updateRevisionService(String idRevision,String typeExtension,String username,String passwordHash,String version,String listVersionCompatibles,String description,String agreement){
  WebserviceStatus ws=new WebserviceStatus();
  ws.setResult(false);
  JSONObject tokenMessage=new JSONObject();
  try {
    tokenMessage.put("String_Node_Str",username);
    tokenMessage.put("String_Node_Str",passwordHash);
    tokenMessage.put("String_Node_Str",idRevision);
    tokenMessage.put("String_Node_Str",typeExtension);
    tokenMessage.put("String_Node_Str",version);
    tokenMessage.put("String_Node_Str",listVersionCompatibles);
    tokenMessage.put("String_Node_Str",description);
    tokenMessage.put("String_Node_Str",agreement);
    JSONObject token=new us.monoid.json.JSONObject();
    token.put("String_Node_Str",tokenMessage);
    String u=exchangeWSServer + "String_Node_Str" + token;
    JSONObject resultObj=readJsonFromUrl(u);
    if (resultObj != null) {
      Object object=resultObj.get("String_Node_Str");
      if (object != null && object.equals("String_Node_Str")) {
        ws.setResult(true);
        ws.setMessageException(Messages.getString("String_Node_Str"));
      }
 else {
        ws.setMessageException(object.toString());
      }
    }
  }
 catch (  JSONException e) {
    ws.setMessageException(e.getMessage());
  }
catch (  IOException e) {
    e.printStackTrace();
    ws.setMessageException(e.getMessage());
  }
catch (  Exception e) {
    e.printStackTrace();
    ws.setMessageException(e.getMessage());
  }
  return ws;
}

Fixed version (ground truth):
/** 
 * DOC hcyi Comment method "updateRevisionService".
 * @param idExtension
 * @param typeExtension
 * @param username
 * @param passwordHash
 * @param version
 * @param listVersionCompatibles
 * @param description
 * @param agreement
 * @return
 */
public static WebserviceStatus updateRevisionService(String idRevision,String typeExtension,String username,String passwordHash,String version,String listVersionCompatibles,String description,String agreement){
  WebserviceStatus ws=new WebserviceStatus();
  ws.setResult(false);
  JSONObject tokenMessage=new JSONObject();
  try {
    tokenMessage.put("String_Node_Str",username);
    tokenMessage.put("String_Node_Str",passwordHash);
    tokenMessage.put("String_Node_Str",idRevision);
    tokenMessage.put("String_Node_Str",typeExtension);
    tokenMessage.put("String_Node_Str",version);
    tokenMessage.put("String_Node_Str",listVersionCompatibles);
    tokenMessage.put("String_Node_Str",description.replace("String_Node_Str","String_Node_Str"));
    tokenMessage.put("String_Node_Str",agreement);
    JSONObject token=new us.monoid.json.JSONObject();
    token.put("String_Node_Str",tokenMessage);
    String u=exchangeWSServer + "String_Node_Str" + token;
    JSONObject resultObj=readJsonFromUrl(u);
    if (resultObj != null) {
      Object object=resultObj.get("String_Node_Str");
      if (object != null && object.equals("String_Node_Str")) {
        ws.setResult(true);
        ws.setMessageException(Messages.getString("String_Node_Str"));
      }
 else {
        ws.setMessageException(object.toString());
      }
    }
  }
 catch (  JSONException e) {
    ws.setMessageException(e.getMessage());
  }
catch (  IOException e) {
    e.printStackTrace();
    ws.setMessageException(e.getMessage());
  }
catch (  Exception e) {
    e.printStackTrace();
    ws.setMessageException(e.getMessage());
  }
  return ws;
}