Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-8038

Upgrading to 7.15: AsyncTaskLifeCycleEventProducer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.18.0.Final
    • 7.15.0.Final
    • Migration
    • 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

      Attachments

        Activity

          People

            elguardian@gmail.com Enrique González Martínez (Inactive)
            khirschmann Kevin Hirschmann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: