Example
public
class
ClassA {
OutputObject oo;
Object o;
public void
methodA(){
oo.writeObject(o);
}
}
Solution
Reconsider the use of the non-serializable object o. Replace o with a serializable object.