You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Cazen Lee (JIRA)" <ji...@apache.org> on 2015/09/21 04:57:04 UTC
[jira] [Commented] (OOZIE-2365) oozie fail to start when smtp
password not set
[ https://issues.apache.org/jira/browse/OOZIE-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14900157#comment-14900157 ]
Cazen Lee commented on OOZIE-2365:
----------------------------------
Good Day Michelle!
May I have a look? I think there will be NPE when getPassword with new String(null)..
And need some more details. Does it occured when start-up oozie? or when running e-mail action?
Thanks.
> 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
> Reporter: Michelle Chiang
>
> 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)