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

Purshotam Shah commented on OOZIE-2365:
---------------------------------------

+1

> oozie fail to start when smtp password not set
> ----------------------------------------------
>
>                 Key: OOZIE-2365
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2365
>             Project: Oozie
>          Issue Type: Bug
>    Affects Versions: trunk
>            Reporter: Michelle Chiang
>            Assignee: Rohini Palaniswamy
>            Priority: Minor
>         Attachments: OOZIE-2365-1.patch
>
>
> when oozie.email.smtp.password not set, oozie fails to start.
> it should be able to handle null or default-value.
> Caused by: java.lang.NullPointerException
>         at java.lang.String.<init>(String.java:166)
>         at 
> org.apache.oozie.service.ConfigurationService.getPassword(ConfigurationService.java:556)
>         at 
> org.apache.oozie.service.ConfigurationService.getPassword(ConfigurationService.java:571)
>         at 
> org.apache.oozie.sla.listener.SLAEmailEventListener.init(SLAEmailEventListener.java:110)
>         at 
> org.apache.oozie.service.EventHandlerService.addEventListener(EventHandlerService.java:142)
>         at 
> org.apache.oozie.service.EventHandlerService.initEventListeners(EventHandlerService.java:120)
>         at 
> org.apache.oozie.service.EventHandlerService.init(EventHandlerService.java:83)



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

Reply via email to