Program: 30151
Project: 30151
Buggy source:
/** 
 * Create an SSL server socket at the specified InetSocketAddress. If the type is SSL_MUTUALAUTH then SSL client authentication is requested.
 */
private ServerSocket createSSLServerSocket(String type,InetSocketAddress inetSocketAddress) throws IOException {
  if (inetSocketAddress == null) {
    throw new IOException(getFormatMessage("String_Node_Str",new Object[]{null}));
  }
  int port=inetSocketAddress.getPort();
  Integer iport=new Integer(port);
  SSLInfo sslInfo=(SSLInfo)portToSSLInfo.get(iport);
  if (sslInfo == null) {
    throw new IOException(getFormatMessage("String_Node_Str",new Object[]{iport}));
  }
  SSLServerSocketFactory ssf=sslInfo.getContext().getServerSocketFactory();
  String[] ssl3TlsCiphers=sslInfo.getSsl3TlsCiphers();
  String[] ssl2Ciphers=sslInfo.getSsl2Ciphers();
  String[] ciphers=null;
  if (ssl3TlsCiphers != null || ssl2Ciphers != null) {
    String[] socketCiphers=ssf.getDefaultCipherSuites();
    ciphers=mergeCiphers(socketCiphers,ssl3TlsCiphers,ssl2Ciphers);
  }
  String cs[]=null;
  if (_logger.isLoggable(Level.FINE)) {
    cs=ssf.getSupportedCipherSuites();
    for (int i=0; i < cs.length; ++i) {
      _logger.log(Level.FINE,"String_Node_Str" + cs[i]);
    }
  }
  ServerSocket ss=null;
  try {
    ss=ssf.createServerSocket(port,BACKLOG,inetSocketAddress.getAddress());
    if (ciphers != null) {
      ((SSLServerSocket)ss).setEnabledCipherSuites(ciphers);
    }
  }
 catch (  IOException e) {
    _logger.log(Level.SEVERE,"String_Node_Str",new Object[]{type,String.valueOf(port)});
    _logger.log(Level.SEVERE,"String_Node_Str",e);
    throw e;
  }
  try {
    if (type.equals(SSL_MUTUALAUTH)) {
      _logger.log(Level.FINE,"String_Node_Str");
      ((SSLServerSocket)ss).setNeedClientAuth(true);
    }
  }
 catch (  Exception e) {
    _logger.log(Level.SEVERE,"String_Node_Str",e);
    throw new IOException(e.getMessage());
  }
  if (_logger.isLoggable(Level.FINE)) {
    _logger.log(Level.FINE,"String_Node_Str" + ss);
  }
  return ss;
}

Fixed version (ground truth):
/** 
 * Create an SSL server socket at the specified InetSocketAddress. If the type is SSL_MUTUALAUTH then SSL client authentication is requested.
 */
private ServerSocket createSSLServerSocket(String type,InetSocketAddress inetSocketAddress) throws IOException {
  if (inetSocketAddress == null) {
    throw new IOException(getFormatMessage("String_Node_Str",new Object[]{null}));
  }
  int port=inetSocketAddress.getPort();
  Integer iport=Integer.valueOf(port);
  SSLInfo sslInfo=(SSLInfo)portToSSLInfo.get(iport);
  if (sslInfo == null) {
    throw new IOException(getFormatMessage("String_Node_Str",new Object[]{iport}));
  }
  SSLServerSocketFactory ssf=sslInfo.getContext().getServerSocketFactory();
  String[] ssl3TlsCiphers=sslInfo.getSsl3TlsCiphers();
  String[] ssl2Ciphers=sslInfo.getSsl2Ciphers();
  String[] ciphers=null;
  if (ssl3TlsCiphers != null || ssl2Ciphers != null) {
    String[] socketCiphers=ssf.getDefaultCipherSuites();
    ciphers=mergeCiphers(socketCiphers,ssl3TlsCiphers,ssl2Ciphers);
  }
  String cs[]=null;
  if (_logger.isLoggable(Level.FINE)) {
    cs=ssf.getSupportedCipherSuites();
    for (int i=0; i < cs.length; ++i) {
      _logger.log(Level.FINE,"String_Node_Str" + cs[i]);
    }
  }
  ServerSocket ss=null;
  try {
    ss=ssf.createServerSocket(port,BACKLOG,inetSocketAddress.getAddress());
    if (ciphers != null) {
      ((SSLServerSocket)ss).setEnabledCipherSuites(ciphers);
    }
  }
 catch (  IOException e) {
    _logger.log(Level.SEVERE,"String_Node_Str",new Object[]{type,String.valueOf(port)});
    _logger.log(Level.SEVERE,"String_Node_Str",e);
    throw e;
  }
  try {
    if (type.equals(SSL_MUTUALAUTH)) {
      _logger.log(Level.FINE,"String_Node_Str");
      ((SSLServerSocket)ss).setNeedClientAuth(true);
    }
  }
 catch (  Exception e) {
    _logger.log(Level.SEVERE,"String_Node_Str",e);
    throw new IOException(e.getMessage());
  }
  if (_logger.isLoggable(Level.FINE)) {
    _logger.log(Level.FINE,"String_Node_Str" + ss);
  }
  return ss;
}