David Hrbacek created IMAGING-253:
-------------------------------------

             Summary: 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


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)

Reply via email to