Hi All,
I am trying to read a BufferedImage that I previously wrote to a File using writeObject() of the ObjectOutputStream class.
I am not getting any IOExceptions at runtime, but yet my BufferedImage is null after the object is read. I have doubled checked the filename, and it is correct. Can anyone tell me what I am missing here? Thanks!
Note: The NullPointerException is happening at the '
String s = image1.toString();' line
Barry:
Thxs for attempting to use the CODE tags.
For these thing to work, use [ ] and [/ ]
and not < >.
regds.
- satya
[This message has been edited by Madhav Lakkapragada (edited March 05, 2001).]