com.atlassian.plugin.PluginException: Plugins are allowed no more than 50 entities!

Atlassian JIRA | Andy Brook [The Plugin People] | 3 years ago
  1. 0

    Wow, I just found there is 50 Entity limit for add-ons. Uh, now what, I have nowhere to go. I have a huge object graph, am adding some great new config and now cannot do that because of this limitation. I can understand not wanting to allow runaway schema creation but this is a bit of a blocker. Failing that, I will have to start collapsing all those nice tables into XML, serializing them, such overhead! just like the bad old Bandana days ;( {noformat} 2013-11-14 15:44:42,073 UpmAsynchronousTaskManager:thread-2 ERROR admin 944x230x1 1lyufnm 192.168.0.17 /rest/plugins/1.0/ [plugin.osgi.factory.UnrecognizedModuleDescriptorServiceTrackerCustomizer] Unable to transform com.javahollic.jira.jemh-ui:jemh-ao-module into actual plugin module using factory com.atlassian.activeobjects.plugin.ActiveObjectsModuleDescriptorFactory@2a6e794d com.atlassian.plugin.PluginException: Plugins are allowed no more than 50 entities! at com.atlassian.activeobjects.NamesLengthAndOracleReservedWordsEntitiesValidator.check(NamesLengthAndOracleReservedWordsEntitiesValidator.java:35) at com.atlassian.activeobjects.plugin.ActiveObjectModuleDescriptor.init(ActiveObjectModuleDescriptor.java:82) at com.atlassian.plugin.osgi.factory.UnrecognizedModuleDescriptorServiceTrackerCustomizer.canFactoryResolveUnrecognizedDescriptor(UnrecognizedModuleDescriptorServiceTrackerCustomizer.java:85) at com.atlassian.plugin.osgi.factory.UnrecognizedModuleDescriptorServiceTrackerCustomizer.addingService(UnrecognizedModuleDescriptorServiceTrackerCustomizer.java:54) at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896) {noformat}

    Atlassian JIRA | 3 years ago | Andy Brook [The Plugin People]
    com.atlassian.plugin.PluginException: Plugins are allowed no more than 50 entities!
  2. 0

    Wow, I just found there is 50 Entity limit for add-ons. Uh, now what, I have nowhere to go. I have a huge object graph, am adding some great new config and now cannot do that because of this limitation. I can understand not wanting to allow runaway schema creation but this is a bit of a blocker. Failing that, I will have to start collapsing all those nice tables into XML, serializing them, such overhead! just like the bad old Bandana days ;( {noformat} 2013-11-14 15:44:42,073 UpmAsynchronousTaskManager:thread-2 ERROR admin 944x230x1 1lyufnm 192.168.0.17 /rest/plugins/1.0/ [plugin.osgi.factory.UnrecognizedModuleDescriptorServiceTrackerCustomizer] Unable to transform com.javahollic.jira.jemh-ui:jemh-ao-module into actual plugin module using factory com.atlassian.activeobjects.plugin.ActiveObjectsModuleDescriptorFactory@2a6e794d com.atlassian.plugin.PluginException: Plugins are allowed no more than 50 entities! at com.atlassian.activeobjects.NamesLengthAndOracleReservedWordsEntitiesValidator.check(NamesLengthAndOracleReservedWordsEntitiesValidator.java:35) at com.atlassian.activeobjects.plugin.ActiveObjectModuleDescriptor.init(ActiveObjectModuleDescriptor.java:82) at com.atlassian.plugin.osgi.factory.UnrecognizedModuleDescriptorServiceTrackerCustomizer.canFactoryResolveUnrecognizedDescriptor(UnrecognizedModuleDescriptorServiceTrackerCustomizer.java:85) at com.atlassian.plugin.osgi.factory.UnrecognizedModuleDescriptorServiceTrackerCustomizer.addingService(UnrecognizedModuleDescriptorServiceTrackerCustomizer.java:54) at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896) {noformat}

    Atlassian JIRA | 3 years ago | Andy Brook [The Plugin People]
    com.atlassian.plugin.PluginException: Plugins are allowed no more than 50 entities!
  3. 0

    [TT-241] JIRA Startup: Clean Up Grace Periods Job threw an unhandled Exception - JIRA

    jira.com | 11 months ago
    com.atlassian.plugin.PluginException: Didn't find any configuration service for bundle is.origo.jira.tempo-plugin nor any entities scanning for default AO packages.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    The Scheduler plugin update not working - JIRA Knowledge Base - Atlassian Documentation

    atlassian.com | 11 months ago
    com.atlassian.plugin.PluginException: Didn't find any configuration service for bundle is.origo.jira.tempo-plugin nor any entities scanning for default AO packages.
  6. 0

    Can we change the name of the Consumer and ServiceProvider TokenStore interfaces such that they are not the same (e.g. ConsumerTokenStore and ServiceProviderTokenStore)? The current implementation causes issues when providing them to plugins2 via pico: {noformat} 2009-06-11 14:05:33,318 main INFO [atlassian.plugin.loaders.DirectoryPluginLoader] Plugin Unit: /Users/andreask/tmp/jira/jira_home/plugins/.bundled-plugins/streams-jira-plugin-2.1.0.m7.jar (1244510056000) created 2009-06-11 14:05:39,065 SpringOsgiExtenderThread-15 WARN [beans.factory.support.DefaultListableBeanFactory] FactoryBean threw exception from getObjectType, despite the contract saying that it should return null if the type of its object cannot be determined yet com.atlassian.plugin.PluginException: Too many service references found for '(&(bean-name=tokenStore)(plugins-host=true))': [[com.atlassian.oauth.consumer.TokenStore], [com.atlassian.oauth.serviceprovider.TokenStore]] at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean.findService(HostComponentFactoryBean.java:75) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean.getObjectType(HostComponentFactoryBean.java:32) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getTypeForFactoryBean(FactoryBeanRegistrySupport.java:55) at org.springframework.beans.factory.support.AbstractBeanFactory.getTypeForFactoryBean(AbstractBeanFactory.java:1200) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryBean(AbstractAutowireCapableBeanFactory.java:627) at org.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(AbstractBeanFactory.java:450) at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:223) at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:187) at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:652) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:610) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:622) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:584) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:193) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:288) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:145) at java.lang.Thread.run(Thread.java:613) 2009-06-11 14:05:39,095 SpringOsgiExtenderThread-15 WARN [beans.factory.support.DefaultListableBeanFactory] FactoryBean threw exception from getObjectType, despite the contract saying that it should return null if the type of its object cannot be determined yet com.atlassian.plugin.PluginException: Too many service references found for '(&(bean-name=tokenStore)(plugins-host=true))': [[com.atlassian.oauth.consumer.TokenStore], [com.atlassian.oauth.serviceprovider.TokenStore]] at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean.findService(HostComponentFactoryBean.java:75) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean.getObjectType(HostComponentFactoryBean.java:32) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getTypeForFactoryBean(FactoryBeanRegistrySupport.java:55) at org.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(AbstractBeanFactory.java:419) at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:223) at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:187) at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:652) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:610) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:622) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:584) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:193) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:671) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:610) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:622) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:584) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:193) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:288) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:145) at java.lang.Thread.run(Thread.java:613) 2009-06-11 14:05:39,200 SpringOsgiExtenderThread-15 WARN [beans.factory.support.DefaultListableBeanFactory] FactoryBean threw exception from getObjectType, despite the contract saying that it should return null if the type of its object cannot be determined yet com.atlassian.plugin.PluginException: Too many service references found for '(&(bean-name=tokenStore)(plugins-host=true))': [[com.atlassian.oauth.consumer.TokenStore], [com.atlassian.oauth.serviceprovider.TokenStore]] at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean.findService(HostComponentFactoryBean.java:75) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean.getObjectType(HostComponentFactoryBean.java:32) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getTypeForFactoryBean(FactoryBeanRegistrySupport.java:55) at org.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(AbstractBeanFactory.java:419) at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:223) at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:187) at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:652) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:610) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:622) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:584) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:193) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:288) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:145) at java.lang.Thread.run(Thread.java:613) 2009-06-11 14:05:39,427 SpringOsgiExtenderThread-15 ERROR [osgi.context.support.OsgiBundleXmlApplicationContext] Post refresh error org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tokenStore_osgiService': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tokenStore': FactoryBean threw exception on object creation; nested exception is com.atlassian.plugin.PluginException: Too many service references found for '(&(bean-name=tokenStore)(plugins-host=true))': [[com.atlassian.oauth.consumer.TokenStore], [com.atlassian.oauth.serviceprovider.TokenStore]] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1337) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:288) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:145) at java.lang.Thread.run(Thread.java:613) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tokenStore': FactoryBean threw exception on object creation; nested exception is com.atlassian.plugin.PluginException: Too many service references found for '(&(bean-name=tokenStore)(plugins-host=true))': [[com.atlassian.oauth.consumer.TokenStore], [com.atlassian.oauth.serviceprovider.TokenStore]] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:127) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:116) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:91) at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1285) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:217) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean.afterPropertiesSet(OsgiServiceFactoryBean.java:236) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1368) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334) ... 14 more Caused by: com.atlassian.plugin.PluginException: Too many service references found for '(&(bean-name=tokenStore)(plugins-host=true))': [[com.atlassian.oauth.consumer.TokenStore], [com.atlassian.oauth.serviceprovider.TokenStore]] at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean.findService(HostComponentFactoryBean.java:75) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean.getObject(HostComponentFactoryBean.java:27) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:121) ... 24 more 2009-06-11 14:05:39,453 SpringOsgiExtenderThread-15 ERROR [plugin.osgi.factory.OsgiPlugin] Unable to start the Spring context for plugin com.atlassian.oauth.consumer.sal org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tokenStore_osgiService': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tokenStore': FactoryBean threw exception on object creation; nested exception is com.atlassian.plugin.PluginException: Too many service references found for '(&(bean-name=tokenStore)(plugins-host=true))': [[com.atlassian.oauth.consumer.TokenStore], [com.atlassian.oauth.serviceprovider.TokenStore]] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1337) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:288) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:145) at java.lang.Thread.run(Thread.java:613) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tokenStore': FactoryBean threw exception on object creation; nested exception is com.atlassian.plugin.PluginException: Too many service references found for '(&(bean-name=tokenStore)(plugins-host=true))': [[com.atlassian.oauth.consumer.TokenStore], [com.atlassian.oauth.serviceprovider.TokenStore]] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:127) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:116) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:91) at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1285) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:217) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean.afterPropertiesSet(OsgiServiceFactoryBean.java:236) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1368) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334) ... 14 more Caused by: com.atlassian.plugin.PluginException: Too many service references found for '(&(bean-name=tokenStore)(plugins-host=true))': [[com.atlassian.oauth.consumer.TokenStore], [com.atlassian.oauth.serviceprovider.TokenStore]] at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean.findService(HostComponentFactoryBean.java:75) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean.getObject(HostComponentFactoryBean.java:27) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:121) ... 24 more Exception in thread "SpringOsgiExtenderThread-15" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tokenStore_osgiService': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tokenStore': FactoryBean threw exception on object creation; nested exception is com.atlassian.plugin.PluginException: Too many service references found for '(&(bean-name=tokenStore)(plugins-host=true))': [[com.atlassian.oauth.consumer.TokenStore], [com.atlassian.oauth.serviceprovider.TokenStore]] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1337) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:288) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:145) at java.lang.Thread.run(Thread.java:613) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tokenStore': FactoryBean threw exception on object creation; nested exception is com.atlassian.plugin.PluginException: Too many service references found for '(&(bean-name=tokenStore)(plugins-host=true))': [[com.atlassian.oauth.consumer.TokenStore], [com.atlassian.oauth.serviceprovider.TokenStore]] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:127) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:116) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:91) at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1285) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:217) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean.afterPropertiesSet(OsgiServiceFactoryBean.java:236) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1368) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334) ... 14 more Caused by: com.atlassian.plugin.PluginException: Too many service references found for '(&(bean-name=tokenStore)(plugins-host=true))': [[com.atlassian.oauth.consumer.TokenStore], [com.atlassian.oauth.serviceprovider.TokenStore]] at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean.findService(HostComponentFactoryBean.java:75) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean.getObject(HostComponentFactoryBean.java:27) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:121) ... 24 more {noformat} Since we can only register interfaces and implementations in Pico (not string bean names like you can in Spring), we basically lookup a 'SpringLikeName' based on the interface for any component that is exported to plugins2.

    Ecosystem JIRA | 7 years ago | Andreas Knecht
    com.atlassian.plugin.PluginException: Too many service references found for '(&(bean-name=tokenStore)(plugins-host=true))': [[com.atlassian.oauth.consumer.TokenStore], [com.atlassian.oauth.serviceprovider.TokenStore]]

    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. com.atlassian.plugin.PluginException

      Plugins are allowed no more than 50 entities!

      at com.atlassian.activeobjects.NamesLengthAndOracleReservedWordsEntitiesValidator.check()
    2. com.atlassian.activeobjects
      ActiveObjectModuleDescriptor.init
      1. com.atlassian.activeobjects.NamesLengthAndOracleReservedWordsEntitiesValidator.check(NamesLengthAndOracleReservedWordsEntitiesValidator.java:35)
      2. com.atlassian.activeobjects.plugin.ActiveObjectModuleDescriptor.init(ActiveObjectModuleDescriptor.java:82)
      2 frames
    3. com.atlassian.plugin
      UnrecognizedModuleDescriptorServiceTrackerCustomizer.addingService
      1. com.atlassian.plugin.osgi.factory.UnrecognizedModuleDescriptorServiceTrackerCustomizer.canFactoryResolveUnrecognizedDescriptor(UnrecognizedModuleDescriptorServiceTrackerCustomizer.java:85)
      2. com.atlassian.plugin.osgi.factory.UnrecognizedModuleDescriptorServiceTrackerCustomizer.addingService(UnrecognizedModuleDescriptorServiceTrackerCustomizer.java:54)
      2 frames
    4. OSGi
      ServiceTracker$Tracked.customizerAdding
      1. org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896)
      1 frame