You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Zheng Shao (JIRA)" <ji...@apache.org> on 2009/03/11 19:16:50 UTC

[jira] Commented: (HADOOP-5213) BZip2CompressionOutputStream NullPointerException

    [ https://issues.apache.org/jira/browse/HADOOP-5213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680964#action_12680964 ] 

Zheng Shao commented on HADOOP-5213:
------------------------------------

Agree. In the ideal case, the check of needsReset inside internalReset() should be "assert".
But I guess this is OK considering all the overhead of remaking the patch and waiting for hudson.


> BZip2CompressionOutputStream NullPointerException
> -------------------------------------------------
>
>                 Key: HADOOP-5213
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5213
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.19.0
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>             Fix For: 0.19.2, 0.20.0
>
>         Attachments: HADOOP-5213.2.19.patch, HADOOP-5213.2.patch
>
>
> BZip2CompressionOutputStream will throw a NullPointerException if the user creates a BZip2CompressionOutputStream and close it without writing out any data.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.