After you create your ObjectOutputStream, you need to flush it. You can
do this by typing the following:
ObjectOutputStream oos = new blah blah blah
oos.flush();
Make sure you call the flush command before you try to create the
ObjectInputStream.
Hope that helps
Henry