Program: 65315
Project: 65315
Buggy source:
/** 
 * Complete project configuration.  Build descriptors for secondary SQL and complex arguments.  Set the projects on the DBWSBuilder instance.
 */
protected void finishUpProjects(Project orProject,Project oxProject){
  for (  OperationModel opModel : dbwsBuilder.operations) {
    if (opModel.hasBuildSql()) {
      addToOROXProjectsForBuildSql((ModelWithBuildSql)opModel,orProject,oxProject,nct);
    }
  }
  for (  OperationModel opModel : dbwsBuilder.operations) {
    if (opModel.isProcedureOperation()) {
      ProcedureOperationModel procedureOperation=(ProcedureOperationModel)opModel;
      if (procedureOperation.isPLSQLProcedureOperation() || procedureOperation.isAdvancedJDBCProcedureOperation()) {
        for (        ProcedureType procType : procedureOperation.getDbStoredProcedures()) {
          List<ArgumentType> args=getArgumentListForProcedureType(procType);
          boolean hasComplexArgs=hasComplexArgs(args);
          boolean hasPLSQLArgs=hasPLSQLArgs(args);
          boolean hasPLSQLScalarArgs=hasPLSQLScalarArgs(args);
          if (!procedureOperation.hasComplexArguments) {
            procedureOperation.setHasComplexArguments(hasComplexArgs);
          }
          if (hasComplexArgs || hasPLSQLScalarArgs) {
            addToOROXProjectsForComplexArgs(args,orProject,oxProject,procedureOperation);
            buildQueryForProcedureType(procType,orProject,oxProject,procedureOperation,hasPLSQLArgs);
          }
        }
      }
    }
  }
  DatabaseLogin databaseLogin=new DatabaseLogin();
  databaseLogin.removeProperty("String_Node_Str");
  databaseLogin.removeProperty("String_Node_Str");
  databaseLogin.setDriverClassName(null);
  databaseLogin.setConnectionString(null);
  orProject.setLogin(databaseLogin);
  XMLLogin xmlLogin=new XMLLogin();
  xmlLogin.setDatasourcePlatform(new DOMPlatform());
  xmlLogin.getProperties().remove("String_Node_Str");
  xmlLogin.getProperties().remove("String_Node_Str");
  oxProject.setLogin(xmlLogin);
  dbwsBuilder.setOrProject(orProject);
  dbwsBuilder.setOxProject(oxProject);
}

Fixed version (ground truth):
/** 
 * Complete project configuration.  Build descriptors for secondary SQL and complex arguments.  Set the projects on the DBWSBuilder instance.
 */
protected void finishUpProjects(Project orProject,Project oxProject,List<CompositeDatabaseType> typeList){
  for (  OperationModel opModel : dbwsBuilder.operations) {
    if (opModel.hasBuildSql()) {
      addToOROXProjectsForBuildSql((ModelWithBuildSql)opModel,orProject,oxProject,nct);
    }
  }
  addToOROXProjectsForComplexTypes(typeList,orProject,oxProject);
  for (  OperationModel opModel : dbwsBuilder.operations) {
    if (opModel.isProcedureOperation()) {
      ProcedureOperationModel procedureOperation=(ProcedureOperationModel)opModel;
      if (procedureOperation.isPLSQLProcedureOperation() || procedureOperation.isAdvancedJDBCProcedureOperation()) {
        for (        ProcedureType procType : procedureOperation.getDbStoredProcedures()) {
          List<ArgumentType> args=getArgumentListForProcedureType(procType);
          boolean hasComplexArgs=hasComplexArgs(args);
          boolean hasPLSQLArgs=hasPLSQLArgs(args);
          boolean hasPLSQLScalarArgs=hasPLSQLScalarArgs(args);
          if (!procedureOperation.hasComplexArguments) {
            procedureOperation.setHasComplexArguments(hasComplexArgs);
          }
          if (hasComplexArgs || hasPLSQLScalarArgs) {
            buildQueryForProcedureType(procType,orProject,oxProject,procedureOperation,hasPLSQLArgs);
          }
        }
      }
    }
  }
  DatabaseLogin databaseLogin=new DatabaseLogin();
  databaseLogin.removeProperty("String_Node_Str");
  databaseLogin.removeProperty("String_Node_Str");
  databaseLogin.setDriverClassName(null);
  databaseLogin.setConnectionString(null);
  orProject.setLogin(databaseLogin);
  XMLLogin xmlLogin=new XMLLogin();
  xmlLogin.setDatasourcePlatform(new DOMPlatform());
  xmlLogin.getProperties().remove("String_Node_Str");
  xmlLogin.getProperties().remove("String_Node_Str");
  oxProject.setLogin(xmlLogin);
  dbwsBuilder.setOrProject(orProject);
  dbwsBuilder.setOxProject(oxProject);
}