You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Suresh Srinivas (JIRA)" <ji...@apache.org> on 2013/08/28 01:43:52 UTC

[jira] [Commented] (HADOOP-9908) Fix NPE when versioninfo properties file is missing

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

Suresh Srinivas commented on HADOOP-9908:
-----------------------------------------

+1 for the patch.
                
> Fix NPE when versioninfo properties file is missing
> ---------------------------------------------------
>
>                 Key: HADOOP-9908
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9908
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 3.0.0, 2.1.0-beta
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hadoop-9908.txt
>
>
> When running tests in Eclipse I ran into an NPE in VersionInfo since the version info properties file didn't properly make it to the classpath. This is because getResourceAsStream can return null if the file is not found.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira