org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'asynchronousTaskExecutor' defined in URL [bundle://78.0:0/META-INF/spring/spring-components.xml]: Cannot resolve reference to bean 'threadLocalDelegateExecutorFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'threadLocalDelegateExecutorFactory': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Invalid BundleContext.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by Thomas Krug, 1 year ago
Error creating bean with name 'asynchronousTaskExecutor' defined in URL [bundle://78.0:0/META-INF/spring/spring-components.xml]: Cannot resolve reference to bean 'threadLocalDelegateExecutorFactory' while setting constructor argument; nested
via Atlassian JIRA by Thomas Krug, 1 year ago
Error creating bean with name 'asynchronousTaskExecutor' defined in URL [bundle://78.0:0/META-INF/spring/spring-components.xml]: Cannot resolve reference to bean 'threadLocalDelegateExecutorFactory' while setting constructor argument; nested
via Atlassian JIRA by Husein Alatas [Atlassian], 1 year ago
Error creating bean with name 'calendarRenderer' defined in URL [bundle://71.0:0/META-INF/spring/spring-components.xml]: Cannot resolve reference to bean 'licenseAccessor' while setting constructor argument; nested exception is
via Atlassian JIRA by Husein Alatas [Atlassian], 1 year ago
Error creating bean with name 'calendarRenderer' defined in URL [bundle://71.0:0/META-INF/spring/spring-components.xml]: Cannot resolve reference to bean 'licenseAccessor' while setting constructor argument; nested exception is
via gis-lab.info by Unknown author, 1 year ago
setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DiskQuotaStore' defined in URL [jar:file:/home/maksim/Programms/apache-tomcat-7.0.20/webapps/geoserver/WEB-INF
via anggang.com by Unknown author, 1 year ago
Error creating bean with name 'jb7-installer' defined in URL [jar:file:/home/arul/Downloads/josso-1.8.8/lib/josso-gshell-install-1.8.8.jar!/META-INF/spring/josso-gshell.xml]: Cannot resolve reference to bean 'jb7' while setting constructor argument
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'asynchronousTaskExecutor' defined in URL [bundle://78.0:0/META-INF/spring/spring-components.xml]: Cannot resolve reference to bean 'threadLocalDelegateExecutorFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'threadLocalDelegateExecutorFactory': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Invalid BundleContext.
at org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:365)
at org.springframework.osgi.util.OsgiListenerUtils.registerListener(OsgiListenerUtils.java:99)
at org.springframework.osgi.util.OsgiListenerUtils.addSingleServiceListener(OsgiListenerUtils.java:166)
at org.springframework.osgi.util.OsgiListenerUtils.addSingleServiceListener(OsgiListenerUtils.java:140)
at org.springframework.osgi.service.importer.support.internal.aop.ServiceDynamicInterceptor.afterPropertiesSet(ServiceDynamicInterceptor.java:464)
at org.springframework.osgi.service.importer.support.OsgiServiceProxyFactoryBean.createProxy(OsgiServiceProxyFactoryBean.java:215)
at org.springframework.osgi.service.importer.support.AbstractServiceImporterProxyFactoryBean.getObject(AbstractServiceImporterProxyFactoryBean.java:86)
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.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)
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.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.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)
at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Know the solutions? Share your knowledge to help other developers to debug faster.