log.error("UnicastTest.getReceiver(): " + e);
System.err.println("UnicastTest.getReceiver(): " + e);
    Address getReceiver() {        Vector mbrs=null;        int index;        BufferedReader reader;        String tmp;        try {            mbrs=channel.getView().getMembers();            System.out.println("pick receiver from the following members:");            for(int i=0; i < mbrs.size(); i++) {                if(mbrs.elementAt(i).equals(channel.getLocalAddress()))                    System.out.println("[" + i + "]: " + mbrs.elementAt(i) + " (self)");                else                    System.out.println("[" + i + "]: " + mbrs.elementAt(i));            }            System.out.flush();            System.in.skip(System.in.available());            reader=new BufferedReader(new InputStreamReader(System.in));            tmp=reader.readLine().trim();            index=Integer.parseInt(tmp);            return (Address)mbrs.elementAt(index); // index out of bounds caught below        }        catch(Exception e) {            log.error("UnicastTest.getReceiver(): " + e);            return null;        }    }