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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Complete
    • None
    • 4.3.22, 5.0.12, 5.1.4
    • [Other]
    • 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

            juergen.hoeller Juergen Hoeller
            jebil Jebil
            Spring Issues Spring Issues
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3 years, 38 weeks, 1 day ago