Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-1445

StreamCorruptedException/PageStore/Serialization broken because ObjectOutputStream was not flushed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.1, 1.3.2
    • 1.3.3
    • wicket
    • None

    Description

      The Objects.objectToByteArray() method incorrectly forgets to flush/close the ObjectOutputStream it uses. This can create corrupt object streams.

      Attachments

        1. wicket-close-stream.patch
          0.9 kB
          Niclas Hedhman

        Activity

          People

            ivaynberg Igor Vaynberg
            niclas Niclas Hedhman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: