commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COMPRESS-412) NullPointerException defect in ChecksumCalculatingInputStream#getValue()
Date Fri, 16 Jun 2017 19:29:00 GMT

    [ https://issues.apache.org/jira/browse/COMPRESS-412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16052303#comment-16052303
] 

ASF GitHub Bot commented on COMPRESS-412:
-----------------------------------------

Github user TheRealHaui commented on the issue:

    https://github.com/apache/commons-compress/pull/33
  
    @bodewig 
    Thank you for your kind response!
    Really appreciate that!
    
    Therefore I've made all the changes you requested/proposed.
    And of course added myself as a contributor as heavily requested by you.
    Really couldn't disappoint you regarding that special topic. :-)
    
    Furthermore I've created a Jira Task for the bespoken bug: https://issues.apache.org/jira/browse/COMPRESS-412
    And fixed it in an own branch which I've commited, created tests for and pushed too.
    And which pull request I am going to link here in the next comment after I've created
it.



> 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
>
> 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)

Mime
View raw message