Program: 4249
Project: 4249
Buggy source:
/** 
 * Actual constructor.  If the firewalled flag is set and a PE object is passed it is used, if  no PE object is passed a new one is created. 
 */
private RemoteFileDesc(String host,int port,long index,String filename,int size,byte[] clientGUID,int speed,boolean chat,int quality,boolean browseHost,LimeXMLDocument xmlDoc,Set urns,boolean replyToMulticast,boolean firewalled,String vendor,long timestamp,Set proxies,long createTime,int FWTVersion,PushEndpoint pe){
  if (!NetworkUtils.isValidPort(port)) {
    throw new IllegalArgumentException("String_Node_Str" + port);
  }
  if ((speed & 0xFFFFFFFF00000000L) != 0) {
    throw new IllegalArgumentException("String_Node_Str" + speed);
  }
  if (filename == null) {
    throw new NullPointerException("String_Node_Str");
  }
  if (filename.equals("String_Node_Str")) {
    throw new IllegalArgumentException("String_Node_Str");
  }
  if ((size & 0xFFFFFFFF00000000L) != 0) {
    throw new IllegalArgumentException("String_Node_Str" + size);
  }
  if ((index & 0xFFFFFFFF00000000L) != 0) {
    throw new IllegalArgumentException("String_Node_Str" + index);
  }
  if (host == null) {
    throw new NullPointerException("String_Node_Str");
  }
  _speed=speed;
  _host=host;
  _port=port;
  _index=index;
  _filename=filename;
  _size=size;
  _firewalled=firewalled;
  if (firewalled) {
    if (pe != null)     _pushAddr=pe;
 else {
      try {
        _pushAddr=new PushEndpoint(clientGUID,proxies,PushEndpoint.PLAIN,FWTVersion,new IpPortImpl(_host,_port));
      }
 catch (      UnknownHostException uhe) {
        throw new IllegalArgumentException("String_Node_Str");
      }
    }
    _clientGUID=_pushAddr.getClientGUID();
  }
 else   _clientGUID=clientGUID;
  _chatEnabled=chat;
  _quality=quality;
  _browseHostEnabled=browseHost;
  _replyToMulticast=replyToMulticast;
  _vendor=vendor;
  _timestamp=timestamp;
  _creationTime=createTime;
  if (xmlDoc != null)   _xmlDocs=new LimeXMLDocument[]{xmlDoc};
 else   _xmlDocs=null;
  if (urns == null) {
    _urns=Collections.EMPTY_SET;
  }
 else {
    _urns=Collections.unmodifiableSet(urns);
  }
  _http11=(!_urns.isEmpty());
}

Fixed version (ground truth):
/** 
 * Actual constructor.  If the firewalled flag is set and a PE object is passed it is used, if  no PE object is passed a new one is created. 
 */
private RemoteFileDesc(String host,int port,long index,String filename,int size,byte[] clientGUID,int speed,boolean chat,int quality,boolean browseHost,LimeXMLDocument xmlDoc,Set urns,boolean replyToMulticast,boolean firewalled,String vendor,Set proxies,long createTime,int FWTVersion,PushEndpoint pe){
  if (!NetworkUtils.isValidPort(port)) {
    throw new IllegalArgumentException("String_Node_Str" + port);
  }
  if ((speed & 0xFFFFFFFF00000000L) != 0) {
    throw new IllegalArgumentException("String_Node_Str" + speed);
  }
  if (filename == null) {
    throw new NullPointerException("String_Node_Str");
  }
  if (filename.equals("String_Node_Str")) {
    throw new IllegalArgumentException("String_Node_Str");
  }
  if ((size & 0xFFFFFFFF00000000L) != 0) {
    throw new IllegalArgumentException("String_Node_Str" + size);
  }
  if ((index & 0xFFFFFFFF00000000L) != 0) {
    throw new IllegalArgumentException("String_Node_Str" + index);
  }
  if (host == null) {
    throw new NullPointerException("String_Node_Str");
  }
  _speed=speed;
  _host=host;
  _port=port;
  _index=index;
  _filename=filename;
  _size=size;
  _firewalled=firewalled;
  if (firewalled) {
    if (pe != null)     _pushAddr=pe;
 else {
      try {
        _pushAddr=new PushEndpoint(clientGUID,proxies,PushEndpoint.PLAIN,FWTVersion,new IpPortImpl(_host,_port));
      }
 catch (      UnknownHostException uhe) {
        throw new IllegalArgumentException("String_Node_Str");
      }
    }
    _clientGUID=_pushAddr.getClientGUID();
  }
 else   _clientGUID=clientGUID;
  _chatEnabled=chat;
  _quality=quality;
  _browseHostEnabled=browseHost;
  _replyToMulticast=replyToMulticast;
  _vendor=vendor;
  _creationTime=createTime;
  if (xmlDoc != null)   _xmlDocs=new LimeXMLDocument[]{xmlDoc};
 else   _xmlDocs=null;
  if (urns == null) {
    _urns=Collections.EMPTY_SET;
  }
 else {
    _urns=Collections.unmodifiableSet(urns);
  }
  _http11=(!_urns.isEmpty());
}