You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/04/09 14:49:00 UTC

[jira] [Work logged] (IMAGING-253) Imaging.getBufferedImage(BufferedInputStream) throws IOException

     [ https://issues.apache.org/jira/browse/IMAGING-253?focusedWorklogId=419433&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-419433 ]

ASF GitHub Bot logged work on IMAGING-253:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/Apr/20 14:48
            Start Date: 09/Apr/20 14:48
    Worklog Time Spent: 10m 
      Work Description: b923 commented on pull request #73: IMAGING-253: ByteSourceInputStream has initialized its length when reading starts
URL: https://github.com/apache/commons-imaging/pull/73
 
 
   The reason was that `streamLength` property was never initialized.
   
   Also added test for verification
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 419433)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>          Time Spent: 10m
>  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)