org.springframework.beans.factory.BeanCreationException

Error creating bean with name 'IUserRoleListService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.pentaho.platform.plugin.services.security.userrole.memory.InMemoryUserRoleListService#0' defined in file [/Users/paula/Desktop/pdi-ee/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/applicationContext-pentaho-security-memory.xml]: Cannot resolve reference to bean 'singleTenantSystemAuthorities' while setting bean property 'systemRoles'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'singleTenantSystemAuthorities' is defined

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web19383

  • via Pentaho BI Platform Tracking by Paula Clemente, 11 months ago
    'org.pentaho.platform.plugin.services.security.userrole.memory.InMemoryUserRoleListService#0' defined in file [/Users/paula/Desktop/pdi-ee/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/applicationContext-pentaho-security-memory.xml]: Cannot resolve reference to
  • via Pentaho BI Platform Tracking by Paula Clemente, 1 year ago
    'org.pentaho.platform.plugin.services.security.userrole.memory.InMemoryUserRoleListService#0' defined in file [/Users/paula/Desktop/pdi-ee/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/applicationContext-pentaho-security-memory.xml]: Cannot resolve reference to
  • via Pentaho BI Platform Tracking by Jake Cornelius, 7 months ago
    Error creating bean with name 'filterChainProxy' defined in fil e [C:\PentahoSoftware\PDI\pdi-ee\data-integration\plugins\spoon\agile-bi\platform\pentaho-solutions\system\applicationCo ntext-spring-security.xml]: Invocation of init method failed
  • Stack trace

    • org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'IUserRoleListService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.pentaho.platform.plugin.services.security.userrole.memory.InMemoryUserRoleListService#0' defined in file [/Users/paula/Desktop/pdi-ee/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/applicationContext-pentaho-security-memory.xml]: Cannot resolve reference to bean 'singleTenantSystemAuthorities' while setting bean property 'systemRoles'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'singleTenantSystemAuthorities' is defined 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:1288) 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.pentaho.platform.engine.core.system.objfac.spring.SpringPentahoObjectReference.getObject(SpringPentahoObjectReference.java:69) at org.pentaho.platform.engine.core.system.objfac.AggregateObjectFactory.get(AggregateObjectFactory.java:276) at org.pentaho.platform.engine.core.system.objfac.AggregateObjectFactory.get(AggregateObjectFactory.java:136) at org.pentaho.platform.engine.core.system.PentahoSystem.get(PentahoSystem.java:721) at org.pentaho.platform.engine.core.system.PentahoSystem.get(PentahoSystem.java:622) at org.pentaho.platform.engine.security.SecurityHelper.getUserRoleListService(SecurityHelper.java:436) at org.pentaho.platform.engine.security.SecurityHelper.createAuthentication(SecurityHelper.java:314) at org.pentaho.platform.engine.security.SecurityHelper.runAsSystem(SecurityHelper.java:392) at pt.webdetails.cpf.repository.pentaho.unified.PluginRepositoryResourceAccess.getSystemAccessRepository(PluginRepositoryResourceAccess.java:48) at pt.webdetails.cpf.repository.pentaho.unified.PluginRepositoryResourceAccess.getRepository(PluginRepositoryResourceAccess.java:65) at pt.webdetails.cpf.repository.pentaho.unified.UnifiedRepositoryAccess.getRepositoryFile(UnifiedRepositoryAccess.java:142) at pt.webdetails.cpf.repository.pentaho.unified.UnifiedRepositoryAccess.fileExists(UnifiedRepositoryAccess.java:62) at pt.webdetails.cpf.CpfProperties.loadProperties(CpfProperties.java:51) at pt.webdetails.cpf.CpfProperties.loadSettings(CpfProperties.java:70) at pt.webdetails.cpf.CpfProperties.<init>(CpfProperties.java:40) at pt.webdetails.cpf.CpfProperties.getInstance(CpfProperties.java:45) at pt.webdetails.cpf.persistence.PersistenceEngine.<clinit>(PersistenceEngine.java:62) at pt.webdetails.cpf.SimpleLifeCycleListener.unLoaded(SimpleLifeCycleListener.java:42) at org.pentaho.platform.plugin.services.pluginmgr.PlatformPlugin.unLoaded(PlatformPlugin.java:216) at org.pentaho.platform.plugin.services.pluginmgr.DefaultPluginManager.unloadPlugins(DefaultPluginManager.java:128) at org.pentaho.platform.plugin.services.pluginmgr.DefaultPluginManager.unloadAllPlugins(DefaultPluginManager.java:770) at org.pentaho.platform.plugin.services.pluginmgr.PluginAdapter.shutdown(PluginAdapter.java:47) at org.pentaho.platform.engine.core.system.PentahoSystem.shutdown(PentahoSystem.java:1027) at org.pentaho.platform.web.http.context.SolutionContextListener.contextDestroyed(SolutionContextListener.java:243) at org.mortbay.jetty.handler.ContextHandler.doStop(ContextHandler.java:599) at org.mortbay.jetty.webapp.WebAppContext.doStop(WebAppContext.java:505) at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:76) at org.mortbay.jetty.handler.HandlerCollection.doStop(HandlerCollection.java:169) at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:76) at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrapper.java:142) at org.mortbay.jetty.Server.doStop(Server.java:283) at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:76) at org.pentaho.agilebi.platform.JettyServer.stopServer(JettyServer.java:87) at org.pentaho.di.core.lifecycle.pdi.AgileBILifecycleListener.onExit(AgileBILifecycleListener.java:137) at org.pentaho.di.core.lifecycle.LifecycleSupport.onExit(LifecycleSupport.java:113) at org.pentaho.di.ui.spoon.Spoon.quitFile(Spoon.java:4905) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:305) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:290) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:157) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:141) at org.pentaho.ui.xul.jface.tags.JfaceMenuitem.access$100(JfaceMenuitem.java:43) at org.pentaho.ui.xul.jface.tags.JfaceMenuitem$1.run(JfaceMenuitem.java:106) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1319) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7941) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9192) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:654) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.pentaho.platform.plugin.services.security.userrole.memory.InMemoryUserRoleListService#0' defined in file [/Users/paula/Desktop/pdi-ee/data-integration/plugins/spoon/agile-bi/platform/pentaho-solutions/system/applicationContext-pentaho-security-memory.xml]: Cannot resolve reference to bean 'singleTenantSystemAuthorities' while setting bean property 'systemRoles'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'singleTenantSystemAuthorities' is defined at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472) 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:222) 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.pentaho.platform.engine.core.system.objfac.spring.SpringPentahoObjectReference.getObject(SpringPentahoObjectReference.java:69) at org.pentaho.platform.engine.core.system.objfac.AggregateObjectFactory.get(AggregateObjectFactory.java:276) at org.pentaho.platform.engine.core.system.PentahoSystem.get(PentahoSystem.java:641) at org.pentaho.platform.engine.core.system.objfac.spring.BeanBuilder.getObject(BeanBuilder.java:81) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:121) ... 74 more Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'singleTenantSystemAuthorities' is defined at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:387) at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:971) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:246) 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.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269) ... 91 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    5 times, 11 hours ago
    3 times, 1 week ago
    95 more bugmates