Buggy code:
public final class PoolTcpConnector implements ServerConnector { public static final String VHOST_PORT = "vhost_port" ; public static final String VHOST_NAME = "vhost_name" ; public static final String VHOST_ADDRESS = "vhost_address" ; public static final String SOCKET_FACTORY = "socketFactory" ; public static final String INET = "inet" ; public static final String PORT = "port" ; public static final String HANDLER = "handler" ; public static final String THREAD_POOL = "thread_pool" ; public static final String MAX_THREADS = "max_threads" ; public static final String MAX_SPARE_THREADS = "max_spare_threads" ; public static final String MIN_SPARE_THREADS = "min_spare_threads" ; public static final String BACKLOG = "backlog" ; String handlerClassName ; PoolTcpEndpoint ep ; TcpConnectionHandler con ; Hashtable attributes = new Hashtable ( ) ; Object cm ; private LogHelper loghelper = new LogHelper ( "tc_log" , "PoolTcpConnector" ) ; private String vhost ; private InetAddress address ; private int port ; private int backlog = - 1 ; private boolean usePools = true ; private int maxThreads = - 1 ; private int maxSpareThreads = - 1 ; private int minSpareThreads = - 1 ; private ServerSocketFactory socketFactory ; private ServerSocket serverSocket ; boolean running = true ; int debug = 0 ; public PoolTcpConnector ( ) { } public void start ( ) throws Exception { } public void stop ( ) throws Exception { } public void setTcpConnectionHandler ( TcpConnectionHandler handler ) { } public TcpConnectionHandler getTcpConnectionHandler ( ) { } public void setServer ( Object ctx ) { } public void setDebug ( int i ) { } public void setPort ( int port ) { } public void setPort ( String portS ) { } public int getPort ( ) { } public void setAttribute ( String prop , Object value ) { if ( ( debug ) > 0 ) loghelper . log ( ( ( ( ( "setAttribute(<seq2seq4repair_space>" + prop ) + "<seq2seq4repair_space>,<seq2seq4repair_space>" ) + value ) + ")" ) ) ; try { if ( value instanceof String ) { String valueS = ( ( String ) ( value ) ) ; if ( PoolTcpConnector . PORT . equals ( prop ) ) { setPort ( valueS ) ; } else if ( PoolTcpConnector . HANDLER . equals ( prop ) ) { con = PoolTcpConnector . string2ConnectionHandler ( valueS ) ; } else if ( PoolTcpConnector . THREAD_POOL . equals ( prop ) ) { usePools = ! ( valueS . equalsIgnoreCase ( "off" ) ) ; } else if ( PoolTcpConnector . INET . equals ( prop ) ) { <START_BUG> address = PoolTcpConnector . string2Inet ( prop ) ; <END_BUG> } else if ( PoolTcpConnector . MAX_THREADS . equals ( prop ) ) { maxThreads = PoolTcpConnector . string2Int ( valueS ) ; } else if ( PoolTcpConnector . MAX_SPARE_THREADS . equals ( prop ) ) { maxSpareThreads = PoolTcpConnector . string2Int ( valueS ) ; } else if ( PoolTcpConnector . MIN_SPARE_THREADS . equals ( prop ) ) { minSpareThreads = PoolTcpConnector . string2Int ( valueS ) ; } else if ( PoolTcpConnector . VHOST_NAME . equals ( prop ) ) { vhost = valueS ; } else if ( PoolTcpConnector . BACKLOG . equals ( prop ) ) { backlog = PoolTcpConnector . string2Int ( valueS ) ; } else if ( PoolTcpConnector . VHOST_PORT . equals ( prop ) ) { port = PoolTcpConnector . string2Int ( valueS ) ; } else if ( PoolTcpConnector . SOCKET_FACTORY . equals ( prop ) ) { socketFactory = PoolTcpConnector . string2SocketFactory ( valueS ) ; } else if ( PoolTcpConnector . VHOST_ADDRESS . equals ( prop ) ) { address = PoolTcpConnector . string2Inet ( valueS ) ; } else { if ( valueS != null ) attributes . put ( prop , valueS ) ; } } else { if ( PoolTcpConnector . VHOST_PORT . equals ( prop ) ) { port = ( ( Integer ) ( value ) ) . intValue ( ) ; } else if ( PoolTcpConnector . VHOST_ADDRESS . equals ( prop ) ) { address = ( ( InetAddress ) ( value ) ) ; } else if ( PoolTcpConnector . SOCKET_FACTORY . equals ( prop ) ) { socketFactory = ( ( ServerSocketFactory ) ( value ) ) ; } else { if ( value != null ) attributes . put ( prop , value ) ; } } } catch ( Exception e ) { loghelper . log ( ( ( ( "setAttribute:<seq2seq4repair_space>" + prop ) + "=" ) + value ) , e , ERROR ) ; } } public void setProperty ( String prop , String value ) { } public void setLogger ( Logger logger ) { } private static TcpConnectionHandler string2ConnectionHandler ( String val ) throws ClassNotFoundException , IllegalAccessException , InstantiationException { } private static ServerSocketFactory string2SocketFactory ( String val ) throws ClassNotFoundException , IllegalAccessException , InstantiationException { } private static InetAddress string2Inet ( String val ) throws UnknownHostException { } private static int string2Int ( String val ) { } }

Fix:
address = PoolTcpConnector . string2Inet ( valueS ) ;