<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: OOzie email action throwing NullPointerException:null in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/OOzie-email-action-throwing-NullPointerException-null/m-p/36635#M16168</link>
    <description>&lt;P&gt;i know this issue cause i have got this error too. &amp;nbsp;i think this is a bug.&lt;/P&gt;&lt;P&gt;there are two&amp;nbsp;kind errors like below;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) you have fill username and passwd, &amp;nbsp;the errors is like your password is wrong,(in fact it's right passwd)&lt;/P&gt;&lt;P&gt;2) &amp;nbsp;you didn't fill username and passwd, &amp;nbsp;you will got NULLpoint error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how to slove this problem ? &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;change mail server. you can test oozie mail service through third-part mail server ,eg: google&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jan 2016 16:38:01 GMT</pubDate>
    <dc:creator>iamfromsky</dc:creator>
    <dc:date>2016-01-26T16:38:01Z</dc:date>
    <item>
      <title>OOzie email action throwing NullPointerException:null</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/OOzie-email-action-throwing-NullPointerException-null/m-p/36566#M16167</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;One of the errors are related to email action which started throwing nullpointerexception.&lt;/P&gt;&lt;P&gt;I am not finding much INFO to share as logs only seen is&amp;nbsp;NullPointerException:null as error.&lt;/P&gt;&lt;P&gt;Pasting below our oozie email action:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;action name="killEmail"&amp;gt;&lt;BR /&gt;&amp;lt;email xmlns="uri:oozie:email-action:0.1"&amp;gt;&lt;BR /&gt;&amp;lt;to&amp;gt;${emailRecipients}&amp;lt;/to&amp;gt;&lt;BR /&gt;&amp;lt;subject&amp;gt;Oozie Workflow Run Error On abc-hist Workflow&amp;lt;/subject&amp;gt;&lt;BR /&gt;&amp;lt;body&amp;gt;Oozie workflow id: ${wf:id()}, run failed.Error Message: [ ${wf:errorMessage(wf:lastErrorNode())} ]&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/email&amp;gt;&lt;BR /&gt;&amp;lt;ok to="kill"/&amp;gt;&lt;BR /&gt;&amp;lt;error to="kill"/&amp;gt;&lt;BR /&gt;&amp;lt;/action&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please help us out !!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:59:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/OOzie-email-action-throwing-NullPointerException-null/m-p/36566#M16167</guid>
      <dc:creator>Jais</dc:creator>
      <dc:date>2022-09-16T09:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: OOzie email action throwing NullPointerException:null</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/OOzie-email-action-throwing-NullPointerException-null/m-p/36635#M16168</link>
      <description>&lt;P&gt;i know this issue cause i have got this error too. &amp;nbsp;i think this is a bug.&lt;/P&gt;&lt;P&gt;there are two&amp;nbsp;kind errors like below;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) you have fill username and passwd, &amp;nbsp;the errors is like your password is wrong,(in fact it's right passwd)&lt;/P&gt;&lt;P&gt;2) &amp;nbsp;you didn't fill username and passwd, &amp;nbsp;you will got NULLpoint error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how to slove this problem ? &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;change mail server. you can test oozie mail service through third-part mail server ,eg: google&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2016 16:38:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/OOzie-email-action-throwing-NullPointerException-null/m-p/36635#M16168</guid>
      <dc:creator>iamfromsky</dc:creator>
      <dc:date>2016-01-26T16:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: OOzie email action throwing NullPointerException:null</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/OOzie-email-action-throwing-NullPointerException-null/m-p/36883#M16169</link>
      <description>&lt;P&gt;We do have this issue too. (After Update)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have not set Username/Password since we do not need authentification on our smtp server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get a Null Pointer Exception, which seems to be a bug. Has anybody a workaround ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Even if i set username/password i get the same error)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks...&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jan 2016 18:20:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/OOzie-email-action-throwing-NullPointerException-null/m-p/36883#M16169</guid>
      <dc:creator>andorn3</dc:creator>
      <dc:date>2016-01-31T18:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: OOzie email action throwing NullPointerException:null</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/OOzie-email-action-throwing-NullPointerException-null/m-p/37108#M16170</link>
      <description>&lt;P&gt;We're aware of this issue and there's a fix coming in CDH 5.5.2. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the meantime, you can add&amp;nbsp;the following to your oozie-site.xml (or safety-valve in CM's Oozie configuration) as a workaround:&lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt;
&amp;lt;name&amp;gt;oozie.email.smtp.password&amp;lt;/name&amp;gt;
&amp;lt;value&amp;gt;aaa&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;The value can be any string (it won't actually be used if&amp;nbsp;&lt;FONT face="andale mono,times"&gt;oozie.email.smtp.auth&lt;/FONT&gt; is &lt;FONT face="andale mono,times"&gt;false&lt;/FONT&gt;, the default).&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For those interested, this is fixed by&amp;nbsp;&lt;A href="https://issues.apache.org/jira/browse/OOZIE-2365" target="_self"&gt;OOZIE-2365&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2016 20:11:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/OOzie-email-action-throwing-NullPointerException-null/m-p/37108#M16170</guid>
      <dc:creator>Robert K</dc:creator>
      <dc:date>2016-02-05T20:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: OOzie email action throwing NullPointerException:null</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/OOzie-email-action-throwing-NullPointerException-null/m-p/37164#M16171</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can we enable the&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="andale mono,times"&gt;oozie.email.smtp.auth from cloudera manager UI ?&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2016 01:07:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/OOzie-email-action-throwing-NullPointerException-null/m-p/37164#M16171</guid>
      <dc:creator>Jais</dc:creator>
      <dc:date>2016-02-09T01:07:50Z</dc:date>
    </item>
  </channel>
</rss>

