Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1776

ImageMetadataSequencer is not closing InputStream causing dead lock

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 3.1.0.Final
    • Sequencers
    • None

      ImageMetadataSequencer opens a SharedLockingInputStream to the image's binary data but does not close it afterwards. Because ImageMetadata.check() does not read the complete stream, the stream is not closed automatically.

      Now it's impossible to modify the binary data, because the SharedLockingInputStream still holds an unreleased readlock (=processLock).

            Unassigned Unassigned
            fscheffer Felix Scheffer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: