Details
-
Bug
-
Resolution: Done
-
Major
-
7.15.0.Final
-
None
Description
Hello,
after upgrading to 7.15 I cannot complete, start Tasks. The error message is:
ConnectionFactory and Queue cannot be null: java.lang.IllegalStateException: ConnectionFactory and Queue cannot be null
at org.jbpm.services.task.audit.jms.AsyncTaskLifeCycleEventProducer.sendMessage(AsyncTaskLifeCycleEventProducer.java:588)
at org.jbpm.services.task.audit.jms.AsyncTaskLifeCycleEventProducer.afterTaskExitedEvent(AsyncTaskLifeCycleEventProducer.java:233)
at org.jbpm.services.task.events.TaskEventSupport.fireAfterTaskExited(TaskEventSupport.java:380)
I found out, that in HumanTaskServiceProducer the field "taskListeners" gets populated by all classes implementing TaskLifeCycleEventListener. One of these classes is "AsyncTaskLifeCycleEventProducer". When "taskListeners" is set by the CDI Container the fields "ConnectionFactory connectionFactory" and "private Queue queue" are never set. This results later in the error listed above.
I integrated the jbpm engine into my application, which itself uses CDI Beans.
Is this a bug or is this a configuration issue?
Thx