[
https://jira.jboss.org/jira/browse/JBPM-1756?page=com.atlassian.jira.plug...
]
Thomas Diesler resolved JBPM-1756.
----------------------------------
Resolution: Done
Done
if (bcc != null)
{
String resolvedTo = evaluate(bcc);
recipients.addAll(tokenize(resolvedTo));
}
NullPointerException using bcc recipients in org.jbpm.mail.Mail
----------------------------------------------------------------
Key: JBPM-1756
URL:
https://jira.jboss.org/jira/browse/JBPM-1756
Project: JBoss jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Core Engine
Affects Versions: jBPM 3.2.1
Reporter: Christiane Hausleiter
Assignee: Thomas Diesler
Fix For: jBPM 3.3.1 GA
The "getBccRecipients" method uses the "to" field instead of
"bcc", leading to a NPE if one works with actors and bcc recipients.
public List getBccRecipients() {
List recipients = new ArrayList();
...
if (bcc!=null) {
String resolvedTo = evaluate(to);
recipients.addAll(tokenize(resolvedTo));
}
...
return recipients;
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira