[ 
https://issues.apache.org/jira/browse/HADOOP-12615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei-Chiu Chuang updated HADOOP-12615:
-------------------------------------
    Attachment: HADOOP-12615.001.patch

There are a few other classes that also use ClassLoader.getResourceAsStream()

> Fix NPE in MiniKMS.start()
> --------------------------
>
>                 Key: HADOOP-12615
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12615
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: kms
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>            Priority: Minor
>              Labels: supportability, test
>         Attachments: HADOOP-12615.001.patch
>
>
> Sometimes, KMS resource file can not be loaded. When this happens, an 
> InputStream variable will be a null pointer which will subsequently throw NPE.
> This is a supportability JIRA that makes the error message more explicit, and 
> explain why NPE is thrown. Ultimately, leads us to understand why the 
> resource files can not be loaded.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to