Program: 113362
Project: 113362
Buggy source:
private void processStep2(final Volume volData,final String volumeId,final MRCRequest rq,ServiceSet response){
  try {
    for (    Service reg : response.getServicesList())     if (volData.getName().equals(reg.getName())) {
      String uuid=reg.getUuid();
      throw new UserException(POSIXErrno.POSIX_ERROR_EEXIST,"String_Node_Str" + volData.getName() + "String_Node_Str"+ uuid+ "String_Node_Str");
    }
    String uid=volData.getOwnerUserId();
    String gid=volData.getOwnerGroupId();
    if ("String_Node_Str".equals(uid))     uid=rq.getDetails().userId;
    if ("String_Node_Str".equals(gid))     gid=rq.getDetails().groupIds.get(0);
    master.getVolumeManager().createVolume(master.getFileAccessManager(),volumeId,volData.getName(),(short)volData.getAccessControlPolicy().getNumber(),uid,gid,volData.getDefaultStripingPolicy(),volData.getMode(),volData.getQuota(),volData.getAttrsList());
    master.notifyVolumeCreated();
    ServiceDataMap.Builder dmap=ServiceDataMap.newBuilder();
    dmap.addData(KeyValuePair.newBuilder().setKey("String_Node_Str").setValue(master.getConfig().getUUID().toString()));
    dmap.addData(KeyValuePair.newBuilder().setKey("String_Node_Str").setValue("String_Node_Str"));
    for (    KeyValuePair kv : volData.getAttrsList())     dmap.addData(KeyValuePair.newBuilder().setKey("String_Node_Str" + kv.getKey()).setValue(kv.getValue()));
    final Service vol=Service.newBuilder().setType(ServiceType.SERVICE_TYPE_VOLUME).setUuid(volumeId).setVersion(0).setName(volData.getName()).setLastUpdatedS(0).setData(dmap).build();
    Runnable rqThr=new Runnable(){
      @Override public void run(){
        try {
          master.getDirClient().xtreemfs_service_register(null,rq.getDetails().auth,RPCAuthentication.userService,vol);
          processStep3(volData,volumeId,rq);
        }
 catch (        Exception ex) {
          finishRequest(rq,new ErrorRecord(ErrorType.INTERNAL_SERVER_ERROR,POSIXErrno.POSIX_ERROR_NONE,"String_Node_Str",ex));
        }
      }
    }
;
    Thread thr=new Thread(rqThr);
    thr.start();
    new VolumeQuotaManager(master.getMrcQuotaManager(),master.getVolumeManager().getStorageManager(volumeId),volumeId);
  }
 catch (  UserException exc) {
    if (Logging.isDebug())     Logging.logUserError(Logging.LEVEL_DEBUG,Category.proc,this,exc);
    finishRequest(rq,new ErrorRecord(ErrorType.ERRNO,exc.getErrno(),exc.getMessage(),exc));
  }
catch (  DatabaseException exc) {
    finishRequest(rq,new ErrorRecord(ErrorType.INTERNAL_SERVER_ERROR,POSIXErrno.POSIX_ERROR_NONE,"String_Node_Str",exc));
  }
catch (  Throwable exc) {
    finishRequest(rq,new ErrorRecord(ErrorType.INTERNAL_SERVER_ERROR,POSIXErrno.POSIX_ERROR_NONE,"String_Node_Str",exc));
  }
}

Fixed version (ground truth):
private void processStep2(final Volume volData,final String volumeId,final MRCRequest rq,ServiceSet response){
  try {
    for (    Service reg : response.getServicesList())     if (volData.getName().equals(reg.getName())) {
      String uuid=reg.getUuid();
      throw new UserException(POSIXErrno.POSIX_ERROR_EEXIST,"String_Node_Str" + volData.getName() + "String_Node_Str"+ uuid+ "String_Node_Str");
    }
    String uid=volData.getOwnerUserId();
    String gid=volData.getOwnerGroupId();
    if ("String_Node_Str".equals(uid))     uid=rq.getDetails().userId;
    if ("String_Node_Str".equals(gid))     gid=rq.getDetails().groupIds.get(0);
    master.getVolumeManager().createVolume(master.getFileAccessManager(),volumeId,volData.getName(),(short)volData.getAccessControlPolicy().getNumber(),uid,gid,volData.getDefaultStripingPolicy(),volData.getMode(),volData.getQuota(),volData.getAttrsList());
    master.notifyVolumeCreated();
    ServiceDataMap.Builder dmap=ServiceDataMap.newBuilder();
    dmap.addData(KeyValuePair.newBuilder().setKey("String_Node_Str").setValue(master.getConfig().getUUID().toString()));
    dmap.addData(KeyValuePair.newBuilder().setKey("String_Node_Str").setValue("String_Node_Str"));
    for (    KeyValuePair kv : volData.getAttrsList())     dmap.addData(KeyValuePair.newBuilder().setKey("String_Node_Str" + kv.getKey()).setValue(kv.getValue()));
    final Service vol=Service.newBuilder().setType(ServiceType.SERVICE_TYPE_VOLUME).setUuid(volumeId).setVersion(0).setName(volData.getName()).setLastUpdatedS(0).setData(dmap).build();
    Runnable rqThr=new Runnable(){
      @Override public void run(){
        try {
          master.getDirClient().xtreemfs_service_register(null,rq.getDetails().auth,RPCAuthentication.userService,vol);
          processStep3(volData,volumeId,rq);
        }
 catch (        Exception ex) {
          finishRequest(rq,new ErrorRecord(ErrorType.INTERNAL_SERVER_ERROR,POSIXErrno.POSIX_ERROR_NONE,"String_Node_Str",ex));
        }
      }
    }
;
    Thread thr=new Thread(rqThr);
    thr.start();
    VolumeQuotaManager volumeQuotaManager=new VolumeQuotaManager(master.getMrcQuotaManager(),master.getVolumeManager().getStorageManager(volumeId),volumeId);
    volumeQuotaManager.init();
  }
 catch (  UserException exc) {
    if (Logging.isDebug())     Logging.logUserError(Logging.LEVEL_DEBUG,Category.proc,this,exc);
    finishRequest(rq,new ErrorRecord(ErrorType.ERRNO,exc.getErrno(),exc.getMessage(),exc));
  }
catch (  DatabaseException exc) {
    finishRequest(rq,new ErrorRecord(ErrorType.INTERNAL_SERVER_ERROR,POSIXErrno.POSIX_ERROR_NONE,"String_Node_Str",exc));
  }
catch (  Throwable exc) {
    finishRequest(rq,new ErrorRecord(ErrorType.INTERNAL_SERVER_ERROR,POSIXErrno.POSIX_ERROR_NONE,"String_Node_Str",exc));
  }
}