NullPointerException while sending email in jBPM when task has notify="true"
Issue
Using jBPM 3.2 in SOA-P 5.0.2.GA, we encountered a NullPointerException while sending email on the task that has notify="true" attribute:
java.lang.NullPointerException
at org.jbpm.mail.Mail.send(Mail.java:132)
at org.jbpm.mail.Mail.execute(Mail.java:73)
at org.jbpm.graph.def.Action.execute(Action.java:137)
at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:280)
at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:237)
at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:207)
at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:190)
We have customized the jbpm.mail.templates.xml file to meet our business requirements.
Environment
- JBoss Enterprise SOA Platform (SOA-P)
- jBPM 3.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.