Program: 129691
Project: 129691
Buggy source:
public boolean createUser(String pseudo,String password,String firstname,String lastname,String country,boolean isProxyEnabled,String proxyHost,String proxyPort) throws BusinessException {
  BigInteger result=BigInteger.valueOf(-1);
  registNumber=null;
  if (isProxyEnabled) {
    System.setProperty("String_Node_Str",proxyHost);
    System.setProperty("String_Node_Str",proxyPort);
    if (proxyPort != null && proxyPort.trim().equals("String_Node_Str")) {
      proxyPort=null;
    }
    SiteManager.setHttpProxyInfo(true,proxyHost,proxyPort);
  }
  String osName=System.getProperty("String_Node_Str");
  String osVersion=System.getProperty("String_Node_Str");
  String javaVersion=System.getProperty("String_Node_Str");
  long totalMemory=Runtime.getRuntime().totalMemory();
  com.sun.management.OperatingSystemMXBean composantSystem=(com.sun.management.OperatingSystemMXBean)ManagementFactory.getOperatingSystemMXBean();
  Long memRAM=new Long(composantSystem.getTotalPhysicalMemorySize() / 1024);
  int nbProc=Runtime.getRuntime().availableProcessors();
  String version=VersionUtils.getVersion();
  RegisterUserPortTypeProxy proxy=new RegisterUserPortTypeProxy();
  proxy.setEndpoint("String_Node_Str");
  try {
    IBrandingService brandingService=(IBrandingService)GlobalServiceRegister.getDefault().getService(IBrandingService.class);
    result=proxy.createUser50(pseudo,password,firstname,lastname,country,version,brandingService.getShortProductName(),osName,osVersion,javaVersion,totalMemory + "String_Node_Str",memRAM + "String_Node_Str",nbProc + "String_Node_Str");
    if (result.intValue() != -110 && result.signum() < 0) {
      checkErrors(result.intValue());
    }
  }
 catch (  RemoteException e) {
    throw new BusinessException(e);
  }
  return result.intValue() == -110;
}

Fixed version (ground truth):
public boolean createUser(String pseudo,String password,String firstname,String lastname,String country,boolean isProxyEnabled,String proxyHost,String proxyPort) throws BusinessException {
  BigInteger result=BigInteger.valueOf(-1);
  registNumber=null;
  if (isProxyEnabled) {
    System.setProperty("String_Node_Str",proxyHost);
    System.setProperty("String_Node_Str",proxyPort);
    if (proxyPort != null && proxyPort.trim().equals("String_Node_Str")) {
      proxyPort=null;
    }
    SiteManager.setHttpProxyInfo(true,proxyHost,proxyPort);
  }
  String osName=System.getProperty("String_Node_Str");
  String osVersion=System.getProperty("String_Node_Str");
  String javaVersion=System.getProperty("String_Node_Str");
  long totalMemory=Runtime.getRuntime().totalMemory();
  com.sun.management.OperatingSystemMXBean composantSystem=(com.sun.management.OperatingSystemMXBean)ManagementFactory.getOperatingSystemMXBean();
  Long memRAM=new Long(composantSystem.getTotalPhysicalMemorySize() / 1024);
  int nbProc=Runtime.getRuntime().availableProcessors();
  String version=VersionUtils.getVersion();
  RegisterUserPortTypeProxy proxy=new RegisterUserPortTypeProxy();
  proxy.setEndpoint("String_Node_Str");
  try {
    IBrandingService brandingService=(IBrandingService)GlobalServiceRegister.getDefault().getService(IBrandingService.class);
    result=proxy.createUser50(pseudo,password,firstname,lastname,country,version,brandingService.getAcronym(),osName,osVersion,javaVersion,totalMemory + "String_Node_Str",memRAM + "String_Node_Str",nbProc + "String_Node_Str");
    if (result.intValue() != -110 && result.signum() < 0) {
      checkErrors(result.intValue());
    }
  }
 catch (  RemoteException e) {
    throw new BusinessException(e);
  }
  return result.intValue() == -110;
}