Re: Error
- From: "Oliver" <oliver.richman@xxxxxxxxx>
- Date: 5 Jan 2006 04:10:35 -0800
I may be wrong, but the error message you're getting,
java.io.NotSerializableException: sun.awt.image.OffScreenImage, seems
to tell me that inside one of your classes there is an
"OffScreenImage". It is this object which is not serializable.
To the best of my knowledge, objects in your class must be
serializable, not just your class itself. Are you sure that
OffScreenImages, a part of the sun.awt.* packages, is serializable?
Maybe you need to subclass OffScreenImage and write a serialization
routine for it. Just an idea, I am not sure if that is the best way to
fix it.
Oliver Richman
.
- References: