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

Multiple work item handlers with reference to process service fail at boot with circular dependency exception

    Details

    • Sprint:
      2019 Week 02-04, 2018 Week 51-01
    • Story Points:
      1
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      When there are multiple work item handlers with auto wired process service will cause failure at boot with circular dependency exception.

      ***************************
      APPLICATION FAILED TO START
      ***************************
      
      Description:
      
      The dependencies of some of the beans in the application context form a cycle:
      
         Custom (field private org.jbpm.services.api.ProcessService org.jbpm.springboot.samples.handlers.CustomWorkItemHandler.processService)
      ┌─────┐
      |  processService defined in class path resource [org/jbpm/springboot/autoconfigure/JBPMAutoConfiguration.class]
      ↑     ↓
      |  runtimeDataService defined in class path resource [org/jbpm/springboot/autoconfigure/JBPMAutoConfiguration.class]
      ↑     ↓
      |  deploymentService defined in class path resource [org/jbpm/springboot/autoconfigure/JBPMAutoConfiguration.class]
      ↑     ↓
      |  Log (field private org.jbpm.services.api.ProcessService org.jbpm.springboot.samples.handlers.LogWorkItemHandler.processService)
      └─────┘
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                swiderski.maciej Maciej Swiderski
                Reporter:
                swiderski.maciej Maciej Swiderski
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: