org.picocontainer.defaults.CyclicDependencyException: Cyclic dependency: [interface com.atlassian.jira.ofbiz.OfBizDelegator, interface com.atlassian.jira.security.PermissionManager, interface com.atlassian.jira.project.ProjectManager, interface com.atlassian.jira.issue.CustomFieldManager]

Atlassian JIRA | Lars | 1 decade ago
  1. 0

    When I imported our data into the standalone preview installation, I got a message from pico about a cyclic dependency, see below. Maybe the scheduler should not run when an import is currently in progress? Any scheduled job, like subscription mails, would probably use invalid/incomplete data? Not sure if the pico problem only occurs when the import hasn't finished... [INFO] QuartzScheduler - -Scheduler JiraQuartzScheduler_$_NON_CLUSTERED started. Sched listeners: 1 calling sl... [ERROR] ErrorLogger - -Job (SEND_SUBSCRIPTION.SEND_SUBSCRIPTION threw an exception. <org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.picocontainer.defaults. CyclicDependencyException: Cyclic dependency: []]>org.quartz.SchedulerException: Job threw an unhand led exception. [See nested exception: org.picocontainer.defaults.CyclicDependencyException: Cyclic d ependency: []] at org.quartz.core.JobRunShell.run(JobRunShell.java:151) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) * Nested Exception (Underlying Cause) --------------- org.picocontainer.defaults.CyclicDependencyException: Cyclic dependency: [] at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.instantiateComponent(ConstructorInjectionComponentAdapter.java:195) at org.picocontainer.defaults.InstantiatingComponentAdapter.getComponentInstance(InstantiatingComponentAdapter.java:48) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:42) at com.atlassian.jira.config.component.ProfilingComponentAdapter.getComponentInstance(ProfilingComponentAdapter.java:27) at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstanceOfType(DefaultPicoContainer.java:306) at com.atlassian.jira.ManagerFactory.getSubscriptionManager(ManagerFactory.java:271) at com.atlassian.jira.issue.subscription.SendFilterJob.execute(SendFilterJob.java:19) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) 2004-09-07 08:08:00,417 ERROR [atlassian.jira.mail.SubscriptionMailQueueItem] org.picocontainer.defaults.CyclicDependencyException: Cyclic dependency: [interface com.atlassian.jira.ofbiz.OfBizDelegator, interface com.atlassian.jira.security.PermissionManager, interface com.atlassian.jira.project.ProjectManager, interface com.atlassian.jira.issue.CustomFieldManager] org.picocontainer.defaults.CyclicDependencyException: Cyclic dependency: [interface com.atlassian.jira.ofbiz.OfBizDelegator, interface com.atlassian.jira.security.PermissionManager, interface com.atlassian.jira.project.ProjectManager, interface com.atlassian.jira.issue.CustomFieldManager] at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.instantiateComponent(ConstructorInjectionComponentAdapter.java:195) at org.picocontainer.defaults.InstantiatingComponentAdapter.getComponentInstance(InstantiatingComponentAdapter.java:48) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:42) at com.atlassian.jira.config.component.ProfilingComponentAdapter.getComponentInstance(ProfilingComponentAdapter.java:27) at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstanceOfType(DefaultPicoContainer.java:306) at com.atlassian.jira.ManagerFactory.getSearchRequestManager(ManagerFactory.java:261) at com.atlassian.jira.mail.SubscriptionMailQueueItem.getSearchRequest(SubscriptionMailQueueItem.java:111) at com.atlassian.jira.mail.SubscriptionMailQueueItem.getSubject(SubscriptionMailQueueItem.java:94) at com.atlassian.jira.mail.SubscriptionMailQueueItem.toString(SubscriptionMailQueueItem.java:184) at java.lang.String.valueOf(String.java:2131) at java.lang.StringBuffer.append(StringBuffer.java:370) at com.atlassian.mail.queue.MailQueueImpl.addItem(MailQueueImpl.java:89) at com.atlassian.jira.issue.subscription.DefaultSubscriptionManager.runSubscription(DefaultSubscriptionManager.java:135) at com.atlassian.jira.issue.subscription.SendFilterJob.execute(SendFilterJob.java:23) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387) 2004-09-07 08:08:00,417 ERROR [atlassian.jira.mail.SubscriptionMailQueueItem] org.picocontainer.defaults.CyclicDependencyException: Cyclic dependency: [interface com.atlassian.jira.ofbiz.OfBizDelegator, interface com.atlassian.jira.security.PermissionManager, interface com.atlassian.jira.project.ProjectManager, interface com.atlassian.jira.issue.CustomFieldManager] org.picocontainer.defaults.CyclicDependencyException: Cyclic dependency: [interface com.atlassian.jira.ofbiz.OfBizDelegator, interface com.atlassian.jira.security.PermissionManager, interface com.atlassian.jira.project.ProjectManager, interface com.atlassian.jira.issue.CustomFieldManager] at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.instantiateComponent(ConstructorInjectionComponentAdapter.java:195) at org.picocontainer.defaults.InstantiatingComponentAdapter.getComponentInstance(InstantiatingComponentAdapter.java:48) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:42) at com.atlassian.jira.config.component.ProfilingComponentAdapter.getComponentInstance(ProfilingComponentAdapter.java:27) at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstanceOfType(DefaultPicoContainer.java:306) at com.atlassian.jira.ManagerFactory.getSearchRequestManager(ManagerFactory.java:261) at com.atlassian.jira.mail.SubscriptionMailQueueItem.getSearchRequest(SubscriptionMailQueueItem.java:111) at com.atlassian.jira.mail.SubscriptionMailQueueItem.getSubject(SubscriptionMailQueueItem.java:94) at com.atlassian.jira.mail.SubscriptionMailQueueItem.toString(SubscriptionMailQueueItem.java:184) at java.lang.String.valueOf(String.java:2131) at java.lang.StringBuffer.append(StringBuffer.java:370) at com.atlassian.mail.queue.MailQueueImpl.addItem(MailQueueImpl.java:89) at com.atlassian.jira.issue.subscription.DefaultSubscriptionManager.runSubscription(DefaultSubscriptionManager.java:135) at com.atlassian.jira.issue.subscription.SendFilterJob.execute(SendFilterJob.java:23) at org.quartz.core.JobRunShell.run(JobRunShell.java:147) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387)

    Atlassian JIRA | 1 decade ago | Lars
    org.picocontainer.defaults.CyclicDependencyException: Cyclic dependency: [interface com.atlassian.jira.ofbiz.OfBizDelegator, interface com.atlassian.jira.security.PermissionManager, interface com.atlassian.jira.project.ProjectManager, interface com.atlassian.jira.issue.CustomFieldManager]
  2. 0

    Cyclic dependency: class org.jetbrains.plugins.ruby.rails.migrations.MigrationParser

    YouTrack | 8 years ago
    java.lang.RuntimeException: org.picocontainer.defaults.CyclicDependencyException: Cyclic dependency: [class org.jetbrains.plugins.ruby.rails.migrations.MigrationParser, class org.jetbrains.plugins.ruby.rails.migrations.MigrationParser]
  3. 0

    I can see below exception in the console log but there is no problem with the plugin. Everything works OK. It happens when IDEA starts. {code} org.picocontainer.defaults.CyclicDependencyException: Cyclic dependency: [class com.atlassian.theplugin.idea.config.ProjectCfgManager, class com.atlassian.theplugin.idea.ProjectConfigurationComponent] at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:48) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:60) at com.intellij.openapi.components.impl.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:40) at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.getComponentInstance(ServiceManagerImpl.java:26) at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:199) at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:186) at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:168) at org.picocontainer.defaults.BasicComponentParameter.resolveInstance(BasicComponentParameter.java:77) at org.picocontainer.defaults.ComponentParameter.resolveInstance(ComponentParameter.java:114) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getConstructorArguments(ConstructorInjectionComponentAdapter.java:257) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:217) at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:60) at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:58) at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:8) at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:4) at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:199) at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:186) at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:168) at org.picocontainer.defaults.BasicComponentParameter.resolveInstance(BasicComponentParameter.java:77) at org.picocontainer.defaults.ComponentParameter.resolveInstance(ComponentParameter.java:114) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getConstructorArguments(ConstructorInjectionComponentAdapter.java:257) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:217) at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:60) at com.intellij.openapi.components.impl.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:40) at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.getComponentInstance(ServiceManagerImpl.java:26) at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:199) at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:186) at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:168) at org.picocontainer.defaults.BasicComponentParameter.resolveInstance(BasicComponentParameter.java:77) at org.picocontainer.defaults.ComponentParameter.resolveInstance(ComponentParameter.java:114) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getConstructorArguments(ConstructorInjectionComponentAdapter.java:257) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:217) at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:60) at com.intellij.openapi.components.impl.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:40) at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.getComponentInstance(ServiceManagerImpl.java:26) at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:199) at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:186) at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:168) at org.picocontainer.defaults.BasicComponentParameter.resolveInstance(BasicComponentParameter.java:77) at org.picocontainer.defaults.ComponentParameter.resolveInstance(ComponentParameter.java:114) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getConstructorArguments(ConstructorInjectionComponentAdapter.java:257) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:217) at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:60) at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:58) at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:8) at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:4) at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:199) at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:186) at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:168) at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75) at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:17) at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:38) at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:64) at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:24) at com.intellij.openapi.project.impl.ProjectImpl.init(ProjectImpl.java:73) at com.intellij.openapi.components.impl.stores.ProjectStoreImpl.loadProject(ProjectStoreImpl.java:75) at com.intellij.openapi.project.impl.ProjectManagerImpl.a(ProjectManagerImpl.java:38) at com.intellij.openapi.project.impl.ProjectManagerImpl.access$200(ProjectManagerImpl.java:243) at com.intellij.openapi.project.impl.ProjectManagerImpl$4.run(ProjectManagerImpl.java:15) at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:1) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:75) at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:90) at com.intellij.openapi.application.impl.ApplicationImpl$7$1.run(ApplicationImpl.java:3) at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:7) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:6) [ 9148] ERROR - ij.components.ComponentManager - {code}

    Ecosystem JIRA | 8 years ago | Jacek Jaroczynski
    org.picocontainer.defaults.CyclicDependencyException: Cyclic dependency: [class com.atlassian.theplugin.idea.config.ProjectCfgManager, class com.atlassian.theplugin.idea.ProjectConfigurationComponent]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cyclic dependency after updating to 2.7.1 RC2

    YouTrack | 4 years ago
    org.picocontainer.defaults.CyclicDependencyException: Cyclic dependency: [class com.intellij.psi.stubs.StubIndexImpl]
  6. 0

    Exception while starting IDEA

    YouTrack | 5 years ago
    org.picocontainer.defaults.CyclicDependencyException: Cyclic dependency: [class com.intellij.openapi.wm.impl.FocusManagerImpl]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.picocontainer.defaults.CyclicDependencyException

      Cyclic dependency: [interface com.atlassian.jira.ofbiz.OfBizDelegator, interface com.atlassian.jira.security.PermissionManager, interface com.atlassian.jira.project.ProjectManager, interface com.atlassian.jira.issue.CustomFieldManager]

      at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.instantiateComponent()
    2. org.picocontainer.defaults
      DecoratingComponentAdapter.getComponentInstance
      1. org.picocontainer.defaults.ConstructorInjectionComponentAdapter.instantiateComponent(ConstructorInjectionComponentAdapter.java:195)
      2. org.picocontainer.defaults.InstantiatingComponentAdapter.getComponentInstance(InstantiatingComponentAdapter.java:48)
      3. org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:42)
      3 frames
    3. com.atlassian.jira
      ProfilingComponentAdapter.getComponentInstance
      1. com.atlassian.jira.config.component.ProfilingComponentAdapter.getComponentInstance(ProfilingComponentAdapter.java:27)
      1 frame
    4. org.picocontainer.defaults
      DefaultPicoContainer.getComponentInstanceOfType
      1. org.picocontainer.defaults.DefaultPicoContainer.getComponentInstanceOfType(DefaultPicoContainer.java:306)
      1 frame
    5. com.atlassian.jira
      SubscriptionMailQueueItem.toString
      1. com.atlassian.jira.ManagerFactory.getSearchRequestManager(ManagerFactory.java:261)
      2. com.atlassian.jira.mail.SubscriptionMailQueueItem.getSearchRequest(SubscriptionMailQueueItem.java:111)
      3. com.atlassian.jira.mail.SubscriptionMailQueueItem.getSubject(SubscriptionMailQueueItem.java:94)
      4. com.atlassian.jira.mail.SubscriptionMailQueueItem.toString(SubscriptionMailQueueItem.java:184)
      4 frames
    6. Java RT
      StringBuffer.append
      1. java.lang.String.valueOf(String.java:2131)
      2. java.lang.StringBuffer.append(StringBuffer.java:370)
      2 frames
    7. com.atlassian.mail
      MailQueueImpl.addItem
      1. com.atlassian.mail.queue.MailQueueImpl.addItem(MailQueueImpl.java:89)
      1 frame
    8. com.atlassian.jira
      SendFilterJob.execute
      1. com.atlassian.jira.issue.subscription.DefaultSubscriptionManager.runSubscription(DefaultSubscriptionManager.java:135)
      2. com.atlassian.jira.issue.subscription.SendFilterJob.execute(SendFilterJob.java:23)
      2 frames
    9. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:147)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387)
      2 frames