Re: Error
- From: "really_puzzled via JavaKB.com" <u17232@uwe>
- Date: Thu, 05 Jan 2006 11:55:04 GMT
Andrew, all my classes are serializable so I don't understand why it is doing
this.
In line 29 I am writing the object to an objectoutputstream.
Any comments gratefully appreciated.
Thank you.
..
Andrew Thompson wrote:
>> Can anyone comment on this error message ?
>
>Technically, it is an exception message, if you tried to 'catch'
>an Exception only, it would fail to catch an Error.
>
>> All classes currently implement Serializable.
>
>Not according to your exception message..
>
>> java.io.NotSerializableException: sun.awt.image.OffScreenImage
>
><http://jsourcery.com/output/sun/j2se/j2sdk/1.4.2_04/sun/awt/image/OffScreenImage.html>
>
>"All Implemented Interfaces:
> RenderedImage, WritableRenderedImage "
>
>> at ObjectHandler.saveObject(ObjectHandler.java:29)
>..
>What are you doing at line 29 of ObjectHandler?
>
--
Message posted via http://www.javakb.com
.
- Prev by Date: Re: Strange array out of bounds problem
- Next by Date: Re: Strange array out of bounds problem
- Previous by thread: Re: Error
- Next by thread: Re: Error
- Index(es):
Relevant Pages
|