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 "Hudson (JIRA)" <ji...@apache.org> on 2013/09/05 16:47:53 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=13759129#comment-13759129 ] 

Hudson commented on HADOOP-9908:
--------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #4372 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/4372/])
HADOOP-9908. Fix NPE when versioninfo properties file is missing. Contributed by Todd Lipcon. (todd: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1520333)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/VersionInfo.java

                
> 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
>             Fix For: 3.0.0, 2.3.0
>
>         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