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

Pentaho BI Platform Tracking | Paula Clemente | 12 months ago
  1. 0

    When closing Spoon we get a NoSuchBeanDefinitionException on the logs. Full stacktrace: {code} FATAL - Unable to get repository as system. 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 2015/12/16 19:32:01 - Spoon - Spoon has ended. stopping {code}

    Pentaho BI Platform Tracking | 12 months ago | Paula Clemente
    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
  2. 0

    When closing Spoon we get a NoSuchBeanDefinitionException on the logs. Full stacktrace: {code} FATAL - Unable to get repository as system. 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 2015/12/16 19:32:01 - Spoon - Spoon has ended. stopping {code}

    Pentaho BI Platform Tracking | 12 months ago | Paula Clemente
    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
  3. 0

    Trouble with the 5.0.1 Server

    pentaho.com | 11 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'filterChainProxy' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/applicationContext-spring-security.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'basicProcessingFilter' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/applicationContext-spring-security.xml]: Cannot resolve reference to bean 'authenticationManager' while setting bean property 'authenticationManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationManager' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/applicationContext-spring-security.xml]: Cannot create inner bean 'pen:bean#427b6cc7' of type [org.pentaho.platform.engine.core.system.objfac.spring.BeanBuilder] while setting bean property 'providers' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pen:bean#427b6cc7': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.providers.dao.DaoAuthenticationProvider#1' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/applicationContext-spring-security-jackrabbit.xml]: Cannot create inner bean 'pen:bean#335dcd0c' of type [org.pentaho.platform.engine.core.system.objfac.spring.BeanBuilder] while setting bean property 'userDetailsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pen:bean#335dcd0c': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cachingUserDetailsService' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/pentahoObjects.spring.xml]: Cannot resolve reference to bean 'UserDetailsService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UserDetailsService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDetailsService' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/applicationContext-spring-security-jackrabbit.xml]: Cannot resolve reference to bean 'userRoleDaoTxn' while setting bean property 'userRoleDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userRoleDaoTxn' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/repository.spring.xml]: Cannot resolve reference to bean 'userRoleDao' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userRoleDao' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/repository.spring.xml]: Cannot resolve reference to bean 'adminJcrTemplate' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminJcrTemplate' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/repository.spring.xml]: Cannot resolve reference to bean 'jcrAdminSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrAdminSessionFactory' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/repository.spring.xml]: Cannot resolve reference to bean 'jcrRepository' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrRepository' defined in file [/opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/repository.spring.xml]: Invocation of init method failed; nested exception is javax.jcr.RepositoryException: The repository home /opt/pentaho/5.0.1/biserver-ce/pentaho-solutions/system/jackrabbit/repository appears to be in use since the file named .lock is locked by another process.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring initWebApplicationContext error

    Stack Overflow | 4 years ago | kneves.vinicius
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource' defined in class path resource [spring/spring-framework-web.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.config.internalTransactionAdvisor': Cannot resolve reference to bean 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0' while setting bean property 'transactionAttributeSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0': Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut pointcutFindAndSearch
  6. 0

    Hibernate-validator: @NotEmpty does not work for null values

    Stack Overflow | 7 years ago | Alberthoven
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.myApp.persistence.tx.TransactionalAutoProxyCreator#0' defined in class path resource [com/myApp/backoffice/model/persistence.xml]: Cannot resolve reference to bean 'transactionalInterceptor' while setting bean property 'transactionalInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionalInterceptor' defined in class path resource [com/myApp/backoffice/model/persistence.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [com/myApp/backoffice/model/persistence.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [com/myApp/backoffice/model/persistence.xml]: Invocation of init method failed; nested exception is java.lang.ArrayStoreException: org.hibernate.validator.event.ValidateEventListener

    25 unregistered visitors
    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.springframework.beans.factory.NoSuchBeanDefinitionException

      No bean named 'singleTenantSystemAuthorities' is defined

      at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition()
    2. Spring Beans
      AbstractAutowireCapableBeanFactory$1.run
      1. org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:387)
      2. org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:971)
      3. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:246)
      4. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
      5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
      6. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
      7. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
      8. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
      9. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
      10. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
      11. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
      11 frames
    3. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    4. Spring Beans
      AbstractBeanFactory.getBean
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
      2. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
      3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
      5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
      6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
      6 frames
    5. org.pentaho.platform
      BeanBuilder.getObject
      1. org.pentaho.platform.engine.core.system.objfac.spring.SpringPentahoObjectReference.getObject(SpringPentahoObjectReference.java:69)
      2. org.pentaho.platform.engine.core.system.objfac.AggregateObjectFactory.get(AggregateObjectFactory.java:276)
      3. org.pentaho.platform.engine.core.system.PentahoSystem.get(PentahoSystem.java:641)
      4. org.pentaho.platform.engine.core.system.objfac.spring.BeanBuilder.getObject(BeanBuilder.java:81)
      4 frames
    6. Spring Beans
      FactoryBeanRegistrySupport$1.run
      1. org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:121)
      1 frame
    7. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    8. Spring Beans
      AbstractBeanFactory.getBean
      1. org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:116)
      2. org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:91)
      3. org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1288)
      4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:217)
      5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
      6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
      6 frames
    9. org.pentaho.platform
      SecurityHelper.runAsSystem
      1. org.pentaho.platform.engine.core.system.objfac.spring.SpringPentahoObjectReference.getObject(SpringPentahoObjectReference.java:69)
      2. org.pentaho.platform.engine.core.system.objfac.AggregateObjectFactory.get(AggregateObjectFactory.java:276)
      3. org.pentaho.platform.engine.core.system.objfac.AggregateObjectFactory.get(AggregateObjectFactory.java:136)
      4. org.pentaho.platform.engine.core.system.PentahoSystem.get(PentahoSystem.java:721)
      5. org.pentaho.platform.engine.core.system.PentahoSystem.get(PentahoSystem.java:622)
      6. org.pentaho.platform.engine.security.SecurityHelper.getUserRoleListService(SecurityHelper.java:436)
      7. org.pentaho.platform.engine.security.SecurityHelper.createAuthentication(SecurityHelper.java:314)
      8. org.pentaho.platform.engine.security.SecurityHelper.runAsSystem(SecurityHelper.java:392)
      8 frames
    10. pt.webdetails.cpf
      SimpleLifeCycleListener.unLoaded
      1. pt.webdetails.cpf.repository.pentaho.unified.PluginRepositoryResourceAccess.getSystemAccessRepository(PluginRepositoryResourceAccess.java:48)
      2. pt.webdetails.cpf.repository.pentaho.unified.PluginRepositoryResourceAccess.getRepository(PluginRepositoryResourceAccess.java:65)
      3. pt.webdetails.cpf.repository.pentaho.unified.UnifiedRepositoryAccess.getRepositoryFile(UnifiedRepositoryAccess.java:142)
      4. pt.webdetails.cpf.repository.pentaho.unified.UnifiedRepositoryAccess.fileExists(UnifiedRepositoryAccess.java:62)
      5. pt.webdetails.cpf.CpfProperties.loadProperties(CpfProperties.java:51)
      6. pt.webdetails.cpf.CpfProperties.loadSettings(CpfProperties.java:70)
      7. pt.webdetails.cpf.CpfProperties.<init>(CpfProperties.java:40)
      8. pt.webdetails.cpf.CpfProperties.getInstance(CpfProperties.java:45)
      9. pt.webdetails.cpf.persistence.PersistenceEngine.<clinit>(PersistenceEngine.java:62)
      10. pt.webdetails.cpf.SimpleLifeCycleListener.unLoaded(SimpleLifeCycleListener.java:42)
      10 frames
    11. org.pentaho.platform
      SolutionContextListener.contextDestroyed
      1. org.pentaho.platform.plugin.services.pluginmgr.PlatformPlugin.unLoaded(PlatformPlugin.java:216)
      2. org.pentaho.platform.plugin.services.pluginmgr.DefaultPluginManager.unloadPlugins(DefaultPluginManager.java:128)
      3. org.pentaho.platform.plugin.services.pluginmgr.DefaultPluginManager.unloadAllPlugins(DefaultPluginManager.java:770)
      4. org.pentaho.platform.plugin.services.pluginmgr.PluginAdapter.shutdown(PluginAdapter.java:47)
      5. org.pentaho.platform.engine.core.system.PentahoSystem.shutdown(PentahoSystem.java:1027)
      6. org.pentaho.platform.web.http.context.SolutionContextListener.contextDestroyed(SolutionContextListener.java:243)
      6 frames
    12. Jetty Server
      WebAppContext.doStop
      1. org.mortbay.jetty.handler.ContextHandler.doStop(ContextHandler.java:599)
      2. org.mortbay.jetty.webapp.WebAppContext.doStop(WebAppContext.java:505)
      2 frames
    13. Jetty Util
      AbstractLifeCycle.stop
      1. org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:76)
      1 frame
    14. Jetty Server
      HandlerCollection.doStop
      1. org.mortbay.jetty.handler.HandlerCollection.doStop(HandlerCollection.java:169)
      1 frame
    15. Jetty Util
      AbstractLifeCycle.stop
      1. org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:76)
      1 frame
    16. Jetty Server
      Server.doStop
      1. org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrapper.java:142)
      2. org.mortbay.jetty.Server.doStop(Server.java:283)
      2 frames
    17. Jetty Util
      AbstractLifeCycle.stop
      1. org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:76)
      1 frame
    18. org.pentaho.agilebi
      JettyServer.stopServer
      1. org.pentaho.agilebi.platform.JettyServer.stopServer(JettyServer.java:87)
      1 frame
    19. org.pentaho.di
      Spoon.quitFile
      1. org.pentaho.di.core.lifecycle.pdi.AgileBILifecycleListener.onExit(AgileBILifecycleListener.java:137)
      2. org.pentaho.di.core.lifecycle.LifecycleSupport.onExit(LifecycleSupport.java:113)
      3. org.pentaho.di.ui.spoon.Spoon.quitFile(Spoon.java:4905)
      3 frames
    20. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    21. org.pentaho.ui
      JfaceMenuitem$1.run
      1. org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:305)
      2. org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:290)
      3. org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:157)
      4. org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:141)
      5. org.pentaho.ui.xul.jface.tags.JfaceMenuitem.access$100(JfaceMenuitem.java:43)
      6. org.pentaho.ui.xul.jface.tags.JfaceMenuitem$1.run(JfaceMenuitem.java:106)
      6 frames
    22. JFace
      ActionContributionItem$5.handleEvent
      1. org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
      2. org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545)
      3. org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
      4. org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
      4 frames
    23. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      2. org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      6. org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source)
      7. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      8. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      8 frames
    24. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1319)
      2. org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7941)
      3. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9192)
      4. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:654)
      4 frames
    25. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    26. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)
      1 frame