Search:

Type: Posts; User: andbin

Search: Search took 0.08 seconds.

  1. Replies
    8
    Views
    1,424

    Re: Error reading objects from file

    But you have not solved much more .... you are still opening the file in "append" mode. If you run the app 2 times, you corrupt the stream as I have described.
  2. Replies
    8
    Views
    1,424

    Re: Error reading objects from file

    I can add an interesting thing. The main problem is given by that header. It's written or read/verified somewhere by the code into ObjectOutputStream / ObjectInputStream but fortunately this piece of...
  3. Replies
    8
    Views
    1,424

    Re: Error reading objects from file

    Sorry, there's an important quibble with object serialization: it doesn't work in "append" mode.
    The object serialization uses a well defined byte-level "protocol" and when you create an...
Results 1 to 3 of 3