[jira] [Resolved] (COMPRESS-412) NullPointerException defect in ChecksumCalculatingInputStream#getValue()

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Resolved] (COMPRESS-412) NullPointerException defect in ChecksumCalculatingInputStream#getValue()

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/COMPRESS-412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Bodewig resolved COMPRESS-412.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.15

Many thanks!

Our workflow is that we mark an issue as resolved once the commit has been pushed to the ASF repo - and the reporter may close it or not. I don't think we really ever assign issues. Too few people who'd actually work on an issue, it is easier to coordinate on the dev list.

> NullPointerException defect in ChecksumCalculatingInputStream#getValue()
> ------------------------------------------------------------------------
>
>                 Key: COMPRESS-412
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-412
>             Project: Commons Compress
>          Issue Type: Bug
>            Reporter: Michael Hausegger
>            Priority: Minor
>             Fix For: 1.15
>
>
> NullPointerException defect in ChecksumCalculatingInputStream#getValue() detected as stated in pull request 33: https://github.com/apache/commons-compress/pull/33
> Furthermore the following test describes the problem:
> {code:java}
>     @Test(expected = NullPointerException.class) //I assume this behaviour to be a bug or at least a defect.
>     public void testGetValueThrowsNullPointerException() {
>         ChecksumCalculatingInputStream checksumCalculatingInputStream = new ChecksumCalculatingInputStream(null,null);
>         checksumCalculatingInputStream.getValue();
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
Loading...