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:39:00 GMT

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

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

Github user coveralls commented on the issue:

    https://github.com/apache/commons-compress/pull/35
  
    
    [![Coverage Status](https://:/builds/12009215/badge)](https://:/builds/12009215)
    
    Coverage increased (+0.2%) to 84.678% when pulling **a0e5dd80b9ec43c315021701f9c2334be45c6271
on TheRealHaui:COMPRESS-412** into **7254daa3f84a2b7780050da936304ea42db324ef on apache:master**.



> 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