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 "Todd Lipcon (JIRA)" <ji...@apache.org> on 2013/08/28 00:53:52 UTC

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

Todd Lipcon created HADOOP-9908:
-----------------------------------

             Summary: 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: 2.1.0-beta, 3.0.0
            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