javax.imageio.IIOException: Unsupported Image Type

Mirth Project | Austin Yi | 3 months ago
  1. 0

    Viewing a multipaged tiff attachment returns an error or does nothing at all. Below is the specific stack trace that gets returned when attempting to view a multipaged tiff file under the message browser. {code} Unsupported Image Type javax.imageio.IIOException: Unsupported Image Type at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:1063) at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:1034) at com.sun.media.imageioimpl.plugins.tiff.TIFFJPEGDecompressor.decodeRaw(TIFFJPEGDecompressor.java:104) at com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode(TIFFDecompressor.java:2010) at com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(TIFFImageReader.java:836) at com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(TIFFImageReader.java:1081) at javax.imageio.ImageIO.read(ImageIO.java:1448) at javax.imageio.ImageIO.read(ImageIO.java:1352) at com.mirth.connect.plugins.imageviewer.ImageViewer.viewAttachments(ImageViewer.java:61) at com.mirth.connect.client.ui.browsers.message.MessageBrowser$19.doInBackground(MessageBrowser.java:1614) at com.mirth.connect.client.ui.browsers.message.MessageBrowser$19.doInBackground(MessageBrowser.java:1611) at javax.swing.SwingWorker$1.call(SwingWorker.java:296) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at javax.swing.SwingWorker.run(SwingWorker.java:335) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {code}

    Mirth Project | 3 months ago | Austin Yi
    javax.imageio.IIOException: Unsupported Image Type
  2. 0

    How to exclude specific TIFF reader from ImageIO?

    Stack Overflow | 5 months ago | mavarazy
    javax.imageio.IIOException: Invalid component ID 3 in SOS
  3. 0

    JumpLoader :: View topic - Photoshop Mac images: File Access error

    jumploader.com | 6 months ago
    javax.imageio.IIOException: Unsupported Image Type
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Servoy Talk • View topic - Issue with JPEG image

    servoy.com | 8 months ago
    javax.imageio.IIOException: Unsupported Image Type
  6. 0

    We're noticing quite a few image processing related exceptions in our blobstore analytics events, which report when provided attachment processing functions throw exceptions. The stack trace for one: {code} javax.imageio.IIOException: Unsupported Image Type at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:977) at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:948) at com.atlassian.jira.issue.thumbnail.StreamingImageRenderer.scaleDown(StreamingImageRenderer.java:53) at com.atlassian.jira.issue.thumbnail.StreamingImageRenderer.renderThumbnail(StreamingImageRenderer.java:28) at com.atlassian.jira.issue.thumbnail.DefaultThumbnailManager$6.withInputStream(DefaultThumbnailManager.java:492) at com.atlassian.jira.issue.thumbnail.DefaultThumbnailManager$6.withInputStream(DefaultThumbnailManager.java:488) at com.atlassian.jira.issue.managers.DefaultAttachmentManager$6.get(DefaultAttachmentManager.java:725) at com.atlassian.jira.issue.managers.DefaultAttachmentManager$6.get(DefaultAttachmentManager.java:719) at com.atlassian.util.concurrent.Functions$ToGoogleAdapter.apply(Functions.java:131) at com.google.common.base.Functions$FunctionComposition.apply(Functions.java:205) at com.atlassian.fugue.Option.map(Option.java:281)\n\tat com.atlassian.fugue.Options$1.apply(Options.java:113) at com.atlassian.fugue.Options$1.apply(Options.java:111) at io.atlassian.blobstore.plugin.analytics.EventPublishingBlobStoreService$3.apply(EventPublishingBlobStoreService.java:80) at io.atlassian.blobstore.plugin.analytics.EventPublishingBlobStoreService$3.apply(EventPublishingBlobStoreService.java:78) at io.atlassian.blobstore.client.impl.RemoteBlobStoreImpl$1$2$1.get(RemoteBlobStoreImpl.java:126) at io.atlassian.blobstore.client.impl.Throws$1.call(Throws.java:30) at io.atlassian.blobstore.client.impl.Throws.nonFatal(Throws.java:46) at io.atlassian.blobstore.client.impl.Throws.nonFatal(Throws.java:28) at io.atlassian.blobstore.client.impl.Result.catching(Result.java:36) at io.atlassian.blobstore.client.impl.Result.catching(Result.java:52) at io.atlassian.blobstore.client.impl.RemoteBlobStoreImpl$1$2.apply(RemoteBlobStoreImpl.java:123) at io.atlassian.blobstore.client.impl.RemoteBlobStoreImpl$1$2.apply(RemoteBlobStoreImpl.java:120) at com.atlassian.fugue.Either$RightProjection.flatMap(Either.java:485) at io.atlassian.blobstore.client.impl.RemoteBlobStoreImpl$1.get(RemoteBlobStoreImpl.java:119) at io.atlassian.blobstore.client.impl.RemoteBlobStoreImpl$1.get(RemoteBlobStoreImpl.java:103) at com.atlassian.fugue.retry.RetrySupplier.get(RetrySupplier.java:93) at io.atlassian.blobstore.client.impl.RemoteBlobStoreImpl$6.get(RemoteBlobStoreImpl.java:293) at io.atlassian.blobstore.client.impl.RemoteBlobStoreImpl$6.get(RemoteBlobStoreImpl.java:290) at com.atlassian.util.concurrent.Suppliers$FromGoogleAdapter.get(Suppliers.java:100) at com.atlassian.util.concurrent.Suppliers$CallableAdapter.call(Suppliers.java:119) at com.atlassian.util.concurrent.Executors$DefaultSubmitter$CallableRunner.run(Executors.java:62) at com.atlassian.util.concurrent.LimitedExecutor$Runner.run(LimitedExecutor.java:93) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) {code} We're also seeing these other exceptions that have the DefaultThumbnailManager in the stacktrace somewhere: * javax.imageio.IIOException: Unsupported Image Type * javax.imageio.IIOException: New BMP version not implemented yet. * javax.imageio.IIOException: Failed to read a chunk of type 1933723988 * javax.imageio.IIOException: Invalid icc profile: duplicate sequence numbers * java.lang.IllegalArgumentException: Numbers of source Raster bands and source color space components do not match For more details, feel free to ping us in the BlobStore room. These are just creating noise in our analytics, and presumably not impacting the app itself. Ideally these exceptions shouldn't be thrown but passed back as a failure return type.

    Atlassian JIRA | 2 years ago | Brydie McCoy [Atlassian]
    javax.imageio.IIOException: Unsupported Image Type

    6 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.imageio.IIOException

      Unsupported Image Type

      at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal()
    2. Java RT
      JPEGImageReader.read
      1. com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:1063)
      2. com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:1034)
      2 frames
    3. com.sun.media
      TIFFImageReader.read
      1. com.sun.media.imageioimpl.plugins.tiff.TIFFJPEGDecompressor.decodeRaw(TIFFJPEGDecompressor.java:104)
      2. com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode(TIFFDecompressor.java:2010)
      3. com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(TIFFImageReader.java:836)
      4. com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(TIFFImageReader.java:1081)
      4 frames
    4. Java RT
      ImageIO.read
      1. javax.imageio.ImageIO.read(ImageIO.java:1448)
      2. javax.imageio.ImageIO.read(ImageIO.java:1352)
      2 frames
    5. com.mirth.connect
      MessageBrowser$19.doInBackground
      1. com.mirth.connect.plugins.imageviewer.ImageViewer.viewAttachments(ImageViewer.java:61)
      2. com.mirth.connect.client.ui.browsers.message.MessageBrowser$19.doInBackground(MessageBrowser.java:1614)
      3. com.mirth.connect.client.ui.browsers.message.MessageBrowser$19.doInBackground(MessageBrowser.java:1611)
      3 frames
    6. Java RT
      Thread.run
      1. javax.swing.SwingWorker$1.call(SwingWorker.java:296)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      3. javax.swing.SwingWorker.run(SwingWorker.java:335)
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      6. java.lang.Thread.run(Thread.java:745)
      6 frames