Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-17540

Spring JavaMailSenderImpl does not show proper message when recipient list is empty

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 4.3.22, 5.0.12, 5.1.4
    • Component/s: [Other]
    • Labels:
      None

      Description

      org.springframework.mail.javamail.JavaMailSenderImpl does not show proper message when recipient list is empty.

      Currently it just throws NPE, which is hard to debug for beginners.

        Attachments

          Activity

            People

            Assignee:
            juergen.hoeller Juergen Hoeller
            Reporter:
            jebil Jebil
            Last updater:
            Spring Issuemaster
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 25 weeks, 1 day ago