commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "edgar soldin (Jira)" <>
Subject [jira] [Created] (IMAGING-265) ArrayIndexOutOfBoundsException on reading TIFF
Date Sun, 06 Sep 2020 16:14:00 GMT
edgar soldin created IMAGING-265:

             Summary: ArrayIndexOutOfBoundsException on reading TIFF
                 Key: IMAGING-265
             Project: Commons Imaging
          Issue Type: Bug
          Components: Format: TIFF
    Affects Versions: 1.0-alpha2
            Reporter: edgar soldin
         Attachments: small_world.tif



we on the OpenJUMP project cannot open some GeoTIFFs with commons.imaging . for details you
may find a ticket in our bug tracker [] .


the gist is: on loading the attached file getBufferedImage() fails with this stack

Caused by: java.lang.ArrayIndexOutOfBoundsException: 8000Caused by: java.lang.ArrayIndexOutOfBoundsException:
8000 at org.apache.commons.imaging.formats.tiff.datareaders.DataReaderStrips.interpretStrip(
at org.apache.commons.imaging.formats.tiff.datareaders.DataReaderStrips.readImageData(
at org.apache.commons.imaging.formats.tiff.TiffImageParser.getBufferedImage(
at org.apache.commons.imaging.formats.tiff.TiffDirectory.getTiffImage(
at org.apache.commons.imaging.formats.tiff.TiffImageParser.getBufferedImage(
at org.apache.commons.imaging.Imaging.getBufferedImage( at org.apache.commons.imaging.Imaging.getBufferedImage(
at org.apache.commons.imaging.Imaging.getBufferedImage( at com.vividsolutions.jump.workbench.imagery.graphic.CommonsImage.initImage(

This message was sent by Atlassian Jira

View raw message