Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

OOzie email action throwing NullPointerException:null

avatar
Expert Contributor

Hi,

 

After upgrading to CDH 5.5.1 from CDH 5.4.2 we started getting many errors in our oozie workflows which used to work smoothly.

One of the errors are related to email action which started throwing nullpointerexception.

I am not finding much INFO to share as logs only seen is NullPointerException:null as error.

Pasting below our oozie email action:

 

<action name="killEmail">
<email xmlns="uri:oozie:email-action:0.1">
<to>${emailRecipients}</to>
<subject>Oozie Workflow Run Error On abc-hist Workflow</subject>
<body>Oozie workflow id: ${wf:id()}, run failed.Error Message: [ ${wf:errorMessage(wf:lastErrorNode())} ]
</body>
</email>
<ok to="kill"/>
<error to="kill"/>
</action>

 

 

Can you please help us out !!!!

 

Thanks

1 ACCEPTED SOLUTION

avatar
Rising Star
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
4 REPLIES 4

avatar
Expert Contributor

i know this issue cause i have got this error too.  i think this is a bug.

there are two kind errors like below;

 

1) you have fill username and passwd,  the errors is like your password is wrong,(in fact it's right passwd)

2)  you didn't fill username and passwd,  you will got NULLpoint error.

 

how to slove this problem ?  

 

change mail server. you can test oozie mail service through third-part mail server ,eg: google 

avatar
New Contributor

We do have this issue too. (After Update)

 

I have not set Username/Password since we do not need authentification on our smtp server.

 

I get a Null Pointer Exception, which seems to be a bug. Has anybody a workaround ?

 

(Even if i set username/password i get the same error)

 

thanks...

avatar
Rising Star
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
Expert Contributor

Hi,

 

can we enable the  oozie.email.smtp.auth from cloudera manager UI ?