org.picocontainer.defaults.UnsatisfiableDependenciesException: com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexService doesn't have any satisfiable constructors. Unsatisfiable dependencies: [[interface com.atlassian.jira.plugin.ext.subversion.MultipleSubversionRepositoryManager]]

Atlassian JIRA | Kai Fung Chong [Atlassian] | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    I am converting JIRA SVN to Plugins2. In com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexService, I have changed MultipleSubversionRepositoryManager to be injected by Spring. The following code can be found in RevisionIndexService. {code} public static void install(ServiceManager serviceManager) throws Exception { if (serviceManager.getServiceWithName(REVISION_INDEX_SERVICE_NAME) == null) { serviceManager.addService(REVISION_INDEX_SERVICE_NAME, RevisionIndexService.class.getName(), REVISION_INDEX_SERVICE_DELAY); } } {code} I install the plugin and restart JIRA. The following error is shown in the log {code} 2011-01-27 10:29:04,200 main ERROR [ext.subversion.revisions.RevisionIndexer] Error installing the revision index service. org.picocontainer.defaults.UnsatisfiableDependenciesException: com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexService doesn't have any satisfiable constructors. Unsatisfiable dependencies: [[interface com.atlassian.jira.plugin.ext.subversion.MultipleSubversionRepositoryManager]] at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getGreediestSatisifableConstructor(ConstructorInjectionComponentAdapter.java:138) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.instantiateComponent(ConstructorInjectionComponentAdapter.java:193) at org.picocontainer.defaults.InstantiatingComponentAdapter.getComponentInstance(InstantiatingComponentAdapter.java:48) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:42) at org.picocontainer.defaults.SynchronizedComponentAdapter.getComponentInstance(SynchronizedComponentAdapter.java:35) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:42) at com.atlassian.jira.config.component.ProfilingComponentAdapter.getComponentInstance(ProfilingComponentAdapter.java:38) at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:298) at com.atlassian.jira.util.JiraUtils.loadComponent(JiraUtils.java:121) at com.atlassian.jira.util.JiraUtils.loadComponent(JiraUtils.java:99) at com.atlassian.jira.service.OfBizServiceConfigStore.addServiceConfig(OfBizServiceConfigStore.java:54) at com.atlassian.jira.service.DefaultServiceManager.addService(DefaultServiceManager.java:158) at com.atlassian.jira.service.DefaultServiceManager.addService(DefaultServiceManager.java:145) at com.atlassian.jira.service.DefaultServiceManager.addService(DefaultServiceManager.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at $Proxy336.addService(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:147) at $Proxy336.addService(Unknown Source) at com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexService.install(RevisionIndexService.java:59) at com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexer.start(RevisionIndexer.java:115) at com.atlassian.jira.plugin.ext.subversion.MultipleSubversionRepositoryManagerImpl.startRevisionIndexer(MultipleSubversionRepositoryManagerImpl.java:275) at com.atlassian.jira.plugin.ext.subversion.MultipleSubversionRepositoryManagerImpl.start(MultipleSubversionRepositoryManagerImpl.java:284) at com.atlassian.sal.jira.lifecycle.JiraLifecycleManager.notifyOnStart(JiraLifecycleManager.java:83) at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.start(DefaultLifecycleManager.java:50) at com.atlassian.sal.jira.lifecycle.JiraLifecycleManager.onJiraStart(JiraLifecycleManager.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:28) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:56) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:151) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:70) at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:88) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:269) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:212) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:63) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:42) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:583) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) {code}

    Atlassian JIRA | 6 years ago | Kai Fung Chong [Atlassian]
    org.picocontainer.defaults.UnsatisfiableDependenciesException: com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexService doesn't have any satisfiable constructors. Unsatisfiable dependencies: [[interface com.atlassian.jira.plugin.ext.subversion.MultipleSubversionRepositoryManager]]
  2. 0

    I am converting JIRA SVN to Plugins2. In com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexService, I have changed MultipleSubversionRepositoryManager to be injected by Spring. The following code can be found in RevisionIndexService. {code} public static void install(ServiceManager serviceManager) throws Exception { if (serviceManager.getServiceWithName(REVISION_INDEX_SERVICE_NAME) == null) { serviceManager.addService(REVISION_INDEX_SERVICE_NAME, RevisionIndexService.class.getName(), REVISION_INDEX_SERVICE_DELAY); } } {code} I install the plugin and restart JIRA. The following error is shown in the log {code} 2011-01-27 10:29:04,200 main ERROR [ext.subversion.revisions.RevisionIndexer] Error installing the revision index service. org.picocontainer.defaults.UnsatisfiableDependenciesException: com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexService doesn't have any satisfiable constructors. Unsatisfiable dependencies: [[interface com.atlassian.jira.plugin.ext.subversion.MultipleSubversionRepositoryManager]] at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getGreediestSatisifableConstructor(ConstructorInjectionComponentAdapter.java:138) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.instantiateComponent(ConstructorInjectionComponentAdapter.java:193) at org.picocontainer.defaults.InstantiatingComponentAdapter.getComponentInstance(InstantiatingComponentAdapter.java:48) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:42) at org.picocontainer.defaults.SynchronizedComponentAdapter.getComponentInstance(SynchronizedComponentAdapter.java:35) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:42) at com.atlassian.jira.config.component.ProfilingComponentAdapter.getComponentInstance(ProfilingComponentAdapter.java:38) at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:298) at com.atlassian.jira.util.JiraUtils.loadComponent(JiraUtils.java:121) at com.atlassian.jira.util.JiraUtils.loadComponent(JiraUtils.java:99) at com.atlassian.jira.service.OfBizServiceConfigStore.addServiceConfig(OfBizServiceConfigStore.java:54) at com.atlassian.jira.service.DefaultServiceManager.addService(DefaultServiceManager.java:158) at com.atlassian.jira.service.DefaultServiceManager.addService(DefaultServiceManager.java:145) at com.atlassian.jira.service.DefaultServiceManager.addService(DefaultServiceManager.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at $Proxy336.addService(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:147) at $Proxy336.addService(Unknown Source) at com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexService.install(RevisionIndexService.java:59) at com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexer.start(RevisionIndexer.java:115) at com.atlassian.jira.plugin.ext.subversion.MultipleSubversionRepositoryManagerImpl.startRevisionIndexer(MultipleSubversionRepositoryManagerImpl.java:275) at com.atlassian.jira.plugin.ext.subversion.MultipleSubversionRepositoryManagerImpl.start(MultipleSubversionRepositoryManagerImpl.java:284) at com.atlassian.sal.jira.lifecycle.JiraLifecycleManager.notifyOnStart(JiraLifecycleManager.java:83) at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.start(DefaultLifecycleManager.java:50) at com.atlassian.sal.jira.lifecycle.JiraLifecycleManager.onJiraStart(JiraLifecycleManager.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:28) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:56) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:151) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:70) at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:88) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:269) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:212) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:63) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:42) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:583) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) {code}

    Atlassian JIRA | 6 years ago | Kai Fung Chong [Atlassian]
    org.picocontainer.defaults.UnsatisfiableDependenciesException: com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexService doesn't have any satisfiable constructors. Unsatisfiable dependencies: [[interface com.atlassian.jira.plugin.ext.subversion.MultipleSubversionRepositoryManager]]
  3. 0

    I was trying to get SAC up to JIRA 4.0 and came accross this issue. {code} 009-09-07 17:04:33,098 main ERROR [atlassian.jira.event.DefaultListenerManager] Could not create listener named: Hercules com.atlassian.jira.event.ListenerException: Could not create listener for class: com.atlassian.hercules.events.HerculesEventListener at com.atlassian.jira.event.ListenerFactory.getListener(ListenerFactory.java:43) at com.atlassian.jira.event.DefaultListenerManager$Listeners.loadListeners(DefaultListenerManager.java:80) at com.atlassian.jira.event.DefaultListenerManager$Listeners.create(DefaultListenerManager.java:41) at com.atlassian.jira.event.DefaultListenerManager$Listeners.create(DefaultListenerManager.java:36) at com.atlassian.util.concurrent.LazyReference$1.call(LazyReference.java:79) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:146) at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:115) at com.atlassian.jira.event.DefaultListenerManager.getListeners(DefaultListenerManager.java:25) at com.atlassian.jirafisheyeplugin.perforce.listener.JobUpdateListener.remove(JobUpdateListener.java:68) at com.atlassian.jirafisheyeplugin.perforce.PerforceConfigStoreImpl.installListenerIfValidConfigExists(PerforceConfigStoreImpl.java:337) at com.atlassian.jirafisheyeplugin.perforce.PerforceConfigStoreImpl.refresh(PerforceConfigStoreImpl.java:329) at com.atlassian.jirafisheyeplugin.config.RefreshManager.refreshAll(RefreshManager.java:75) at com.atlassian.jirafisheyeplugin.config.RefreshManager.onFrameworkStart(RefreshManager.java:98) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.event.impl.DefaultPluginEventManager$Listener.notify(DefaultPluginEventManager.java:196) at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:70) at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:156) at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:49) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1223) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:190) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:176) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:63) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:42) Caused by: org.picocontainer.defaults.UnsatisfiableDependenciesException: com.atlassian.hercules.events.HerculesEventListener doesn't have any satisfiable constructors. Unsatisfiable dependencies: [[interface com.atlassian.hercules.HerculesService]] at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getGreediestSatisifableConstructor(ConstructorInjectionComponentAdapter.java:138) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.instantiateComponent(ConstructorInjectionComponentAdapter.java:193) at org.picocontainer.defaults.InstantiatingComponentAdapter.getComponentInstance(InstantiatingComponentAdapter.java:48) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:42) at org.picocontainer.defaults.SynchronizedComponentAdapter.getComponentInstance(SynchronizedComponentAdapter.java:35) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:42) at com.atlassian.jira.config.component.ProfilingComponentAdapter.getComponentInstance(ProfilingComponentAdapter.java:38) at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:298) at com.atlassian.jira.util.JiraUtils.loadComponent(JiraUtils.java:116) at com.atlassian.jira.util.JiraUtils.loadComponent(JiraUtils.java:94) at com.atlassian.jira.util.JiraUtils.loadComponent(JiraUtils.java:89) at com.atlassian.jira.event.ListenerFactory.getListener(ListenerFactory.java:32) {code} It seems that the FishEye plugin causes the listeners to be loaded But the Hercules listener is not available at this time. All the class are in the mix but I suspect the plugin has not been initialised yet! We need to think about how this can be made to work.

    Atlassian JIRA | 8 years ago | Brad Baker [Atlassian]
    com.atlassian.jira.event.ListenerException: Could not create listener for class: com.atlassian.hercules.events.HerculesEventListener
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I was trying to get SAC up to JIRA 4.0 and came accross this issue. {code} 009-09-07 17:04:33,098 main ERROR [atlassian.jira.event.DefaultListenerManager] Could not create listener named: Hercules com.atlassian.jira.event.ListenerException: Could not create listener for class: com.atlassian.hercules.events.HerculesEventListener at com.atlassian.jira.event.ListenerFactory.getListener(ListenerFactory.java:43) at com.atlassian.jira.event.DefaultListenerManager$Listeners.loadListeners(DefaultListenerManager.java:80) at com.atlassian.jira.event.DefaultListenerManager$Listeners.create(DefaultListenerManager.java:41) at com.atlassian.jira.event.DefaultListenerManager$Listeners.create(DefaultListenerManager.java:36) at com.atlassian.util.concurrent.LazyReference$1.call(LazyReference.java:79) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:146) at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:115) at com.atlassian.jira.event.DefaultListenerManager.getListeners(DefaultListenerManager.java:25) at com.atlassian.jirafisheyeplugin.perforce.listener.JobUpdateListener.remove(JobUpdateListener.java:68) at com.atlassian.jirafisheyeplugin.perforce.PerforceConfigStoreImpl.installListenerIfValidConfigExists(PerforceConfigStoreImpl.java:337) at com.atlassian.jirafisheyeplugin.perforce.PerforceConfigStoreImpl.refresh(PerforceConfigStoreImpl.java:329) at com.atlassian.jirafisheyeplugin.config.RefreshManager.refreshAll(RefreshManager.java:75) at com.atlassian.jirafisheyeplugin.config.RefreshManager.onFrameworkStart(RefreshManager.java:98) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.event.impl.DefaultPluginEventManager$Listener.notify(DefaultPluginEventManager.java:196) at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:70) at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:156) at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:49) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1223) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:190) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:176) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:63) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:42) Caused by: org.picocontainer.defaults.UnsatisfiableDependenciesException: com.atlassian.hercules.events.HerculesEventListener doesn't have any satisfiable constructors. Unsatisfiable dependencies: [[interface com.atlassian.hercules.HerculesService]] at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getGreediestSatisifableConstructor(ConstructorInjectionComponentAdapter.java:138) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.instantiateComponent(ConstructorInjectionComponentAdapter.java:193) at org.picocontainer.defaults.InstantiatingComponentAdapter.getComponentInstance(InstantiatingComponentAdapter.java:48) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:42) at org.picocontainer.defaults.SynchronizedComponentAdapter.getComponentInstance(SynchronizedComponentAdapter.java:35) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:42) at com.atlassian.jira.config.component.ProfilingComponentAdapter.getComponentInstance(ProfilingComponentAdapter.java:38) at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:298) at com.atlassian.jira.util.JiraUtils.loadComponent(JiraUtils.java:116) at com.atlassian.jira.util.JiraUtils.loadComponent(JiraUtils.java:94) at com.atlassian.jira.util.JiraUtils.loadComponent(JiraUtils.java:89) at com.atlassian.jira.event.ListenerFactory.getListener(ListenerFactory.java:32) {code} It seems that the FishEye plugin causes the listeners to be loaded But the Hercules listener is not available at this time. All the class are in the mix but I suspect the plugin has not been initialised yet! We need to think about how this can be made to work.

    Atlassian JIRA | 8 years ago | Brad Baker [Atlassian]
    com.atlassian.jira.event.ListenerException: Could not create listener for class: com.atlassian.hercules.events.HerculesEventListener
  6. 0

    Hi We are trying to upgrade from JIRA 4.2.1 to 4.3.2, but when JIRA is starting, the following error appears, and VertygoSLA don't appears in the menu (neither Edit configuration nor Détails de license). {code} ___ Plugin System Started _________________ 2011-04-15 14:46:38,760 main ERROR [atlassian.jira.event.DefaultListenerManager] Could not configure listener: VertygoSLA className:com.valiantys.jira.plugins.vertygo.sla.listener.AutoRetrieveAgreementListener com.atlassian.jira.event.ListenerException: Could not create listener for class: com.valiantys.jira.plugins.vertygo.sla.listener.AutoRetrieveAgreementListener at com.atlassian.jira.event.ListenerFactory.getListener(ListenerFactory.java:42) at com.atlassian.jira.event.DefaultListenerManager$Listeners.loadListeners(DefaultListenerManager.java:139) at com.atlassian.jira.event.DefaultListenerManager$Listeners.create(DefaultListenerManager.java:78) at com.atlassian.jira.event.DefaultListenerManager$Listeners.create(DefaultListenerManager.java:73) at com.atlassian.util.concurrent.ResettableLazyReference$InternalReference.create(ResettableLazyReference.java:143) at com.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:326) at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:146) at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:115) at com.atlassian.util.concurrent.ResettableLazyReference.get(ResettableLazyReference.java:89) at com.atlassian.jira.event.DefaultListenerManager$Listeners.start(DefaultListenerManager.java:100) at com.atlassian.jira.event.DefaultListenerManager.start(DefaultListenerManager.java:45) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:290) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:237) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:61) at com.atlassian.jira.upgrade.ConsistencyLauncher.start(ConsistencyLauncher.java:39) at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:39) at com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:57) at com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:52) at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.get(MultiTenantComponentMapImpl.java:121) at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.onTenantStart(MultiTenantComponentMapImpl.java:165) at com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:134) at com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:131) at com.atlassian.multitenant.impl.DefaultMultiTenantManager.runForEachListener(DefaultMultiTenantManager.java:256) at com.atlassian.multitenant.impl.DefaultMultiTenantManager.startTenant(DefaultMultiTenantManager.java:130) at com.atlassian.multitenant.impl.DefaultMultiTenantManager.startAll(DefaultMultiTenantManager.java:203) at com.atlassian.jira.startup.LauncherContextListener.contextInitialized(LauncherContextListener.java:85) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: org.picocontainer.defaults.UnsatisfiableDependenciesException: com.valiantys.jira.plugins.vertygo.sla.listener.AutoRetrieveAgreementListener doesn't have any satisfiable constructors. Unsatisfiable dependencies: [[interface com.atlassian.jira.util.I18nHelper$BeanFactory, interface com.valiantys.jira.plugins.vertygo.sla.business.trigger.manager.TriggerManager, interface com.atlassian.jira.issue.CustomFieldManager, interface com.atlassian.jira.security.JiraAuthenticationContext, interface com.atlassian.jira.issue.index.IssueIndexManager]] at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getGreediestSatisifableConstructor(ConstructorInjectionComponentAdapter.java:138) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.instantiateComponent(ConstructorInjectionComponentAdapter.java:193) at org.picocontainer.defaults.InstantiatingComponentAdapter.getComponentInstance(InstantiatingComponentAdapter.java:48) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:42) at org.picocontainer.defaults.SynchronizedComponentAdapter.getComponentInstance(SynchronizedComponentAdapter.java:35) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:42) at com.atlassian.jira.config.component.ProfilingComponentAdapter.getComponentInstance(ProfilingComponentAdapter.java:42) at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:298) at com.atlassian.jira.util.JiraUtils.loadComponent(JiraUtils.java:121) at com.atlassian.jira.util.JiraUtils.loadComponent(JiraUtils.java:99) at com.atlassian.jira.plugin.DefaultComponentClassManager.constructEvenIfNotEnabled(DefaultComponentClassManager.java:140) at com.atlassian.jira.plugin.DefaultComponentClassManager.newInstance(DefaultComponentClassManager.java:70) at com.atlassian.jira.event.ListenerFactory.getListener(ListenerFactory.java:31) ... 40 more {code} Moreover SLA customfields don't appears either in any issue. And if we try to add a new listener this error happens: !listener.png! Thanks

    JIRA | 6 years ago | Maria Magdalena Buades Fuster
    com.atlassian.jira.event.ListenerException: Could not create listener for class: com.valiantys.jira.plugins.vertygo.sla.listener.AutoRetrieveAgreementListener

    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.UnsatisfiableDependenciesException

      com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexService doesn't have any satisfiable constructors. Unsatisfiable dependencies: [[interface com.atlassian.jira.plugin.ext.subversion.MultipleSubversionRepositoryManager]]

      at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getGreediestSatisifableConstructor()
    2. org.picocontainer.defaults
      DecoratingComponentAdapter.getComponentInstance
      1. org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getGreediestSatisifableConstructor(ConstructorInjectionComponentAdapter.java:138)
      2. org.picocontainer.defaults.ConstructorInjectionComponentAdapter.instantiateComponent(ConstructorInjectionComponentAdapter.java:193)
      3. org.picocontainer.defaults.InstantiatingComponentAdapter.getComponentInstance(InstantiatingComponentAdapter.java:48)
      4. org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:42)
      5. org.picocontainer.defaults.SynchronizedComponentAdapter.getComponentInstance(SynchronizedComponentAdapter.java:35)
      6. org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:42)
      6 frames
    3. com.atlassian.jira
      ProfilingComponentAdapter.getComponentInstance
      1. com.atlassian.jira.config.component.ProfilingComponentAdapter.getComponentInstance(ProfilingComponentAdapter.java:38)
      1 frame
    4. org.picocontainer.defaults
      DefaultPicoContainer.getComponentInstance
      1. org.picocontainer.defaults.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:298)
      1 frame
    5. com.atlassian.jira
      DefaultServiceManager.addService
      1. com.atlassian.jira.util.JiraUtils.loadComponent(JiraUtils.java:121)
      2. com.atlassian.jira.util.JiraUtils.loadComponent(JiraUtils.java:99)
      3. com.atlassian.jira.service.OfBizServiceConfigStore.addServiceConfig(OfBizServiceConfigStore.java:54)
      4. com.atlassian.jira.service.DefaultServiceManager.addService(DefaultServiceManager.java:158)
      5. com.atlassian.jira.service.DefaultServiceManager.addService(DefaultServiceManager.java:145)
      6. com.atlassian.jira.service.DefaultServiceManager.addService(DefaultServiceManager.java:132)
      6 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    7. com.atlassian.plugin
      DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke
      1. com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)
      1 frame
    8. Unknown
      $Proxy336.addService
      1. $Proxy336.addService(Unknown Source)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    10. com.atlassian.plugin
      HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke
      1. com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:147)
      1 frame
    11. Unknown
      $Proxy336.addService
      1. $Proxy336.addService(Unknown Source)
      1 frame
    12. com.atlassian.jira
      MultipleSubversionRepositoryManagerImpl.start
      1. com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexService.install(RevisionIndexService.java:59)
      2. com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexer.start(RevisionIndexer.java:115)
      3. com.atlassian.jira.plugin.ext.subversion.MultipleSubversionRepositoryManagerImpl.startRevisionIndexer(MultipleSubversionRepositoryManagerImpl.java:275)
      4. com.atlassian.jira.plugin.ext.subversion.MultipleSubversionRepositoryManagerImpl.start(MultipleSubversionRepositoryManagerImpl.java:284)
      4 frames
    13. com.atlassian.sal
      JiraLifecycleManager.onJiraStart
      1. com.atlassian.sal.jira.lifecycle.JiraLifecycleManager.notifyOnStart(JiraLifecycleManager.java:83)
      2. com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.start(DefaultLifecycleManager.java:50)
      3. com.atlassian.sal.jira.lifecycle.JiraLifecycleManager.onJiraStart(JiraLifecycleManager.java:60)
      3 frames
    14. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    15. com.atlassian.event
      EventPublisherImpl.publish
      1. com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36)
      2. com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60)
      3. com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:28)
      4. com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:56)
      5. com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:151)
      6. com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:70)
      6 frames
    16. com.atlassian.plugin
      DefaultPluginEventManager.broadcast
      1. com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:88)
      1 frame
    17. com.atlassian.jira
      ConsistencyLauncher.contextInitialized
      1. com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:269)
      2. com.atlassian.jira.ComponentManager.start(ComponentManager.java:212)
      3. com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:63)
      4. com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:42)
      4 frames
    18. Glassfish Core
      Catalina.start
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
      3. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      4. org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
      5. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      6. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      7. org.apache.catalina.core.StandardService.start(StandardService.java:516)
      8. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      9. org.apache.catalina.startup.Catalina.start(Catalina.java:583)
      9 frames
    19. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    20. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      2 frames