Program: 88540
Project: 88540
Buggy source:
public String commitAction(){
  URIBuilder requestUri=MMSUtils.getServiceOrgsUri(project);
  if (requestUri == null) {
    return null;
  }
  JFrame selectionDialog=new JFrame();
  String org=JOptionPane.showInputDialog(selectionDialog,"String_Node_Str");
  if (org == null) {
    Application.getInstance().getGUILog().log("String_Node_Str");
    return null;
  }
  if (org.isEmpty()) {
    Application.getInstance().getGUILog().log("String_Node_Str");
    return null;
  }
  JsonParser responseParser;
  try {
    responseParser=MMSUtils.sendMMSRequest(project,MMSUtils.buildRequest(MMSUtils.HttpRequestType.GET,requestUri));
    ObjectNode response=JacksonUtils.parseJsonObject(responseParser);
    JsonNode arrayNode;
    if (response != null && (arrayNode=response.get("String_Node_Str")) != null && arrayNode.isArray()) {
      for (      JsonNode orgNode : arrayNode) {
        JsonNode value;
        if ((value=orgNode.get(MDKConstants.ID_KEY)) != null && value.isTextual()) {
          if (value.asText().equals(org)) {
            Application.getInstance().getGUILog().log("String_Node_Str");
            return org;
          }
        }
      }
    }
  }
 catch (  IOException|URISyntaxException|ServerException e) {
    Application.getInstance().getGUILog().log("String_Node_Str" + e.getMessage());
    e.printStackTrace();
    return null;
  }
  LinkedList<ObjectNode> orgs=new LinkedList<>();
  orgs.add(JacksonUtils.getObjectMapper().createObjectNode());
  try {
    File sendData=MMSUtils.createEntityFile(this.getClass(),ContentType.APPLICATION_JSON,orgs,MMSUtils.JsonBlobType.ORG);
    responseParser=MMSUtils.sendMMSRequest(project,MMSUtils.buildRequest(MMSUtils.HttpRequestType.POST,requestUri,sendData,ContentType.APPLICATION_JSON));
  }
 catch (  IOException|ServerException|URISyntaxException e) {
    Application.getInstance().getGUILog().log("String_Node_Str" + e.getMessage());
    e.printStackTrace();
    return null;
  }
  return org;
}

Fixed version (ground truth):
public String commitAction(){
  URIBuilder requestUri=MMSUtils.getServiceOrgsUri(project);
  if (requestUri == null) {
    return null;
  }
  JFrame selectionDialog=new JFrame();
  String org=JOptionPane.showInputDialog(selectionDialog,"String_Node_Str");
  if (org == null) {
    Application.getInstance().getGUILog().log("String_Node_Str");
    return null;
  }
  if (org.isEmpty()) {
    Application.getInstance().getGUILog().log("String_Node_Str");
    return null;
  }
  JsonParser responseParser;
  try {
    responseParser=MMSUtils.sendMMSRequest(project,MMSUtils.buildRequest(MMSUtils.HttpRequestType.GET,requestUri));
    ObjectNode response=JacksonUtils.parseJsonObject(responseParser);
    JsonNode arrayNode;
    if (response != null && (arrayNode=response.get("String_Node_Str")) != null && arrayNode.isArray()) {
      for (      JsonNode orgNode : arrayNode) {
        JsonNode value;
        if ((value=orgNode.get(MDKConstants.ID_KEY)) != null && value.isTextual()) {
          if (value.asText().equals(org)) {
            Application.getInstance().getGUILog().log("String_Node_Str");
            return org;
          }
        }
      }
    }
  }
 catch (  IOException|URISyntaxException|ServerException e) {
    Application.getInstance().getGUILog().log("String_Node_Str" + e.getMessage());
    e.printStackTrace();
    return null;
  }
  LinkedList<ObjectNode> orgs=new LinkedList<>();
  ObjectNode orgNode=JacksonUtils.getObjectMapper().createObjectNode();
  orgNode.put(MDKConstants.ID_KEY,org);
  orgNode.put(MDKConstants.NAME_KEY,org);
  orgs.add(orgNode);
  try {
    File sendData=MMSUtils.createEntityFile(this.getClass(),ContentType.APPLICATION_JSON,orgs,MMSUtils.JsonBlobType.ORG);
    responseParser=MMSUtils.sendMMSRequest(project,MMSUtils.buildRequest(MMSUtils.HttpRequestType.POST,requestUri,sendData,ContentType.APPLICATION_JSON));
  }
 catch (  IOException|ServerException|URISyntaxException e) {
    Application.getInstance().getGUILog().log("String_Node_Str" + e.getMessage());
    e.printStackTrace();
    return null;
  }
  return org;
}