Uploaded image for project: 'JIRA Server (including JIRA Core)'
  1. JIRA Server (including JIRA Core)
  2. JRASERVER-20072

Attachment and thumbnail missing in issue when CMYK jpeg image attached.

    XMLWordPrintable

    Details

    • Regular Expression:
      javax\.imageio\.IIOException\:\sUnsupported\sImage\sType

      Description

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      The thumbnail is not generated, and also the attachment does not appear in the attachments list when a CMYK JPEG image is attached to an issue due to the following exception during the ImageIO parsing:

      javax.imageio.IIOException: Unsupported Image Type
      at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:940)
      at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:915)
      at javax.imageio.ImageIO.read(ImageIO.java:1422)
      at javax.imageio.ImageIO.read(ImageIO.java:1326)
      at com.atlassian.core.util.thumbnail.Thumber.getImage(Thumber.java:281)
      at com.atlassian.core.util.thumbnail.Thumber.createThumbnail(Thumber.java:241)
      at com.atlassian.core.util.thumbnail.Thumber.retrieveOrCreateThumbNail(Thumber.java:215)
      at com.atlassian.core.util.thumbnail.Thumber.retrieveOrCreateThumbNail(Thumber.java:86)
      .....

        Attachments

        1. cmyk.jpg
          cmyk.jpg
          874 kB
        2. CMYK JPEG - No Color Profile Error
          214 kB
        3. SourceProfileTest_CMYK_5percent-en.jpg
          SourceProfileTest_CMYK_5percent-en.jpg
          3.79 MB

          Issue Links

            Activity

              People

              • Assignee:
                jhazelwood James Hazelwood
                Reporter:
                astuckey Adam Stuckey [Atlassian]
              • Votes:
                17 Vote for this issue
                Watchers:
                24 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: