Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2451

Oozie mail action fails due to the Null pointer exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 4.1.0
    • None
    • action, core, workflow
    • None
    • CDH 5.5.1

    Description

      The workflow is as follows

      <action name="send_email">
                <email xmlns="uri:oozie:email-action:0.1">
                    <to>me@example.com</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>
      

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              alec.tu Ming Hsuan Tu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: