[
https://issues.apache.org/jira/browse/IMAGING-253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bruno P. Kinoshita resolved IMAGING-253.
----------------------------------------
Resolution: Fixed
> Imaging.getBufferedImage(BufferedInputStream) throws IOException
> ----------------------------------------------------------------
>
> Key: IMAGING-253
> URL: https://issues.apache.org/jira/browse/IMAGING-253
> Project: Commons Imaging
> Issue Type: Bug
> Components: imaging.common.*
> Affects Versions: 1.0-alpha1
> Reporter: David Hrbacek
> Priority: Major
> Fix For: 1.0-alpha2
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> When reading any image with method
> {{Imaging#getBufferedImage(BufferedInputStream, Map)}} following exception is
> thrown:
> {{java.io.IOException: Could not read block (block start: 22, block length:
> 211540, data length: -1).}}
>
> The reason is that {{ByteSourceInputStream#getBlock}} does not work with
> initialized property {{streamLength}}.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)