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

Upgrading to 7.15: AsyncTaskLifeCycleEventProducer

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.15.0.Final
    • Fix Version/s: 7.18.0.Final
    • Component/s: Migration
    • Labels:
      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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                elguardian Enrique González Martínez
                Reporter:
                jimmy001 Kevin Hirschmann
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: