java.lang.IllegalStateException: No recipient has been provided on the MailMessage or the 'MailHeaders.TO' header.

Spring JIRA | Keith Donald | 7 years ago
  1. 0

    Error while Implementing HATEOAS in Spring

    Stack Overflow | 3 years ago | Sunil Ks
    java.lang.IllegalStateException: Could not find current request via RequestContextHolder
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Using g.applyLayout in controller breaks unit test

    Stack Overflow | 3 years ago | BillGoneMad
    java.lang.IllegalStateException: Cannot return Sitemesh factory it has not been set!
  4. 0

    Rearding spring error : Resource must exist: [class path resource [X:/Content/E/data/FIXED.dat]

    Stack Overflow | 4 years ago | Kosuri Naresh
    java.lang.IllegalStateException: Resource must exist: [class path resource [X:/Content/E/data/FIXED.dat**]]

  1. tvrmsmith 2 times, last 3 weeks ago
  2. tvrmsmith 4 times, last 2 months ago
  3. schoetty 8 times, last 7 months ago
  4. Александр Пастухов 1 times, last 7 months ago
48 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    No recipient has been provided on the MailMessage or the 'MailHeaders.TO' header.

    at org.springframework.util.Assert.state()
  2. Spring Core
    Assert.state
    1. org.springframework.util.Assert.state(Assert.java:384)
    1 frame
  3. org.springframework.integration
    MailSendingMessageHandler.handleMessage
    1. org.springframework.integration.mail.MailSendingMessageHandler.applyHeadersToMailMessage(MailSendingMessageHandler.java:132)
    2. org.springframework.integration.mail.MailSendingMessageHandler.convertMessageToMailMessage(MailSendingMessageHandler.java:99)
    3. org.springframework.integration.mail.MailSendingMessageHandler.handleMessage(MailSendingMessageHandler.java:69)
    3 frames