[
https://issues.apache.org/jira/browse/OOZIE-2451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15149445#comment-15149445
]
Robert Kanter commented on OOZIE-2451:
--------------------------------------
You don't have to enable oozie.email.smtp.auth if you put
oozie.email.smtp.password in via the safety valve instead of using the CM
config property for it.
> Oozie mail action fails due to the Null pointer exception
> ---------------------------------------------------------
>
> Key: OOZIE-2451
> URL: https://issues.apache.org/jira/browse/OOZIE-2451
> Project: Oozie
> Issue Type: Bug
> Components: action, core, workflow
> Affects Versions: 4.1.0
> Environment: CDH 5.5.1
> Reporter: Ming Hsuan Tu
> Fix For: trunk
>
>
> The workflow is as follows
> {code:xml}
> <action name="send_email">
> <email xmlns="uri:oozie:email-action:0.1">
> <to>[email protected]</to>
> <subject>${app_name} in ${date} failed</subject>
> <body>The workflow ${wf:id()} had issues and was killed.</body>
> </email>
> <ok to="fail"/>
> <error to="fail"/>
> </action>
> {code}
> but the mail action just threw up the NULL pointer exception and no other
> logs can be found.
> I have configured the smtp server correctly.
> This issues occurred when I upgrade to CDH 5.5.1 from CDH 5.4.6.
> Thank you.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)