posted 16 years ago
My program is compiles but throws the following exception at runtime:-
java.io.NotActiveException: not in call to writeObject
at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:413)
at Test.writeObject(Test.java:10)
at Test.main(Test.java:23)
please explain me why it throws NotActiveException,I am confused....
[ August 10, 2008: Message edited by: Ashok Pradhan ]
[ August 10, 2008: Message edited by: Ashok Pradhan ]
[ August 10, 2008: Message edited by: Ashok Pradhan ]