The following command throws me a NotSerializableException.
The _peer is an instance of a Peer class which implements serializable interface and has a static final long serialVersionUID = 40L.
Inside it i have int and String variables and two Vectors:
1) Vector<InetAddress> ipAddresses
2) Vector<Advertisement> adds (Advetrisment is a class which also implements Serializable and has two int variables)