commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chicheng.C.Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IMAGING-177) java.io.IOException: Could not read block
Date Mon, 30 Nov 2015 02:15:10 GMT
Chicheng.C.Tsai created IMAGING-177:
---------------------------------------

             Summary: java.io.IOException: Could not read block
                 Key: IMAGING-177
                 URL: https://issues.apache.org/jira/browse/IMAGING-177
             Project: Commons Imaging
          Issue Type: Bug
          Components: Format: JPEG
    Affects Versions: 1.0
            Reporter: Chicheng.C.Tsai


We found specified picture, thow this issue.
{quote}
.jpgException in thread "main" java.io.IOException: Could not read block (block start: 8,
block length: 8895, data length: 2602).
	at org.apache.commons.imaging.common.bytesource.ByteSourceArray.getBlock(ByteSourceArray.java:47)
	at org.apache.commons.imaging.formats.tiff.TiffReader.getTiffRawImageData(TiffReader.java:447)
	at org.apache.commons.imaging.formats.tiff.TiffReader.readDirectory(TiffReader.java:224)
	at org.apache.commons.imaging.formats.tiff.TiffReader.readDirectory(TiffReader.java:122)
	at org.apache.commons.imaging.formats.tiff.TiffReader.readDirectories(TiffReader.java:115)
	at org.apache.commons.imaging.formats.tiff.TiffReader.read(TiffReader.java:427)
	at org.apache.commons.imaging.formats.tiff.TiffReader.readContents(TiffReader.java:419)
	at org.apache.commons.imaging.formats.tiff.TiffImageParser.getMetadata(TiffImageParser.java:123)
	at org.apache.commons.imaging.ImageParser.getMetadata(ImageParser.java:220)
	at org.apache.commons.imaging.formats.jpeg.JpegImageParser.getExifMetadata(JpegImageParser.java:355)
	at org.apache.commons.imaging.formats.jpeg.JpegImageParser.getMetadata(JpegImageParser.java:312)
	at org.apache.commons.imaging.Imaging.getMetadata(Imaging.java:1116)
	at org.apache.commons.imaging.Imaging.getMetadata(Imaging.java:1009)
	at org.apache.commons.imaging.Imaging.getMetadata(Imaging.java:984)
	at com.neweggtech.thumbnailgenerator.factory.ThumbnailGenerator.initMimeAndPicinfo(ThumbnailGenerator.java:113)
	at com.neweggtech.thumbnailgenerator.factory.ThumbnailGenerator.<init>(ThumbnailGenerator.java:85)
	at MainClass.main(MainClass.java:38)
{quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message