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

oozie fail to start when smtp password not set

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 4.3.0
    • Component/s: None
    • Labels:
      None

      Description

      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)

        Attachments

        1. OOZIE-2365-1.patch
          10 kB
          Rohini Palaniswamy

          Issue Links

            Activity

              People

              • Assignee:
                rohini Rohini Palaniswamy
                Reporter:
                mchiang_4work@yahoo.com Michelle Chiang
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: