NotSerializableException means you are trying to serialise an object which has some field or other which doesn't implement the java.io.Serializable interface, or doesn't implement the Serializable interface itself. More details here.
See where your hand is? Not there. It's next to this tiny ad:
Thread Boost - a very different sort of advertising