[
http://jira.jboss.com/jira/browse/JBPM-849?page=all ]
Tom Baeyens closed JBPM-849.
----------------------------
Fix Version/s: jBPM jPDL 3.2.1
Resolution: Done
thanks! added some nullpointer checks as the one you've indicated.
Unassigning task fails when task mail notification is enabled (with
notify="yes")
---------------------------------------------------------------------------------
Key: JBPM-849
URL:
http://jira.jboss.com/jira/browse/JBPM-849
Project: JBoss jBPM
Issue Type: Patch
Affects Versions: jBPM jPDL 3.2 beta 2
Reporter: Bruno Dumon
Assigned To: Tom Baeyens
Fix For: jBPM jPDL 3.2.1
Attachments: nullactor_mail_patch.txt, nullactor_mail_patch2.txt
When un-assigning a task (for the purpose of assigning it back to the pooled actors) by
calling TaskInstance.setActorId(null, false) the mail sending code will fail with a NPE.
The attached patch (against current CVS) fixes this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira