org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'wlevs:stream#3e3672': Cannot resolve reference to bean 'monitor' while setting bean property 'listeners' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'monitor' defined in URL [bundleentry://135/META-INF/spring/com.bea.wlevs.monitor.xml]: Cannot create inner bean 'wlevs:processor#958f49' of type [com.bea.wlevs.spring.ProcessorFactoryBean] while setting bean property 'processor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'wlevs:processor#958f49': Invocation of init method failed; nested exception is java.lang.NullPointerException

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

Samebug tips

,
via Stack Overflow by Saravanan Sivaji

Spring Security detects beans in the root context. Move the detection of the bean (or declare it explictly) in the root context.

,
via spring.io by Unknown author

Mixed JpaTransactionManager with JTA transaction type in the beans.xml and persistence.xml

Solutions on the web

via Spring JIRA by Andy Piper, 1 year ago
with name 'monitor' defined in URL [bundleentry://135/META-INF/spring/com.bea.wlevs.monitor.xml]: Cannot create inner bean 'wlevs:processor#958f49' of type [com.bea.wlevs.spring.ProcessorFactoryBean] while setting bean property 'processor'; nested
via Spring JIRA by Andy Piper, 1 year ago
with name 'monitor' defined in URL [bundleentry://135/META-INF/spring/com.bea.wlevs.monitor.xml]: Cannot create inner bean 'wlevs:processor#958f49' of type [com.bea.wlevs.spring.ProcessorFactoryBean] while setting bean property 'processor'; nested
via spring.io by Unknown author, 2 years ago
Error creating bean with name 'wlevs:processor#958f49': Invocation of init method failed; nested exception is java.lang.NullPointerException
via Oracle Community by 985686, 1 year ago
Error creating bean with name 'FabricMeshTarget' defined in ServletContext resource [WEB-INF/fabric-config.xml]: Cannot resolve reference to bean 'WSServiceBC' while setting bean property 'bindingComponents' with key [0]; nested exception is
via Stack Overflow by Pathik
, 2 years ago
Error creating bean with name 'myBean5' defined in ServletContext resource [/WEB-INF/v2_0/myApplicationContext.xml]: Cannot resolve reference to bean 'myBean1' while setting bean property 'myProperty3' with key [3]; nested exception is
via tagwith.com by Unknown author, 1 year ago
/xws-spring-ws-servlet.xml]: Cannot resolve reference to bean 'springSecurityHandler' while setting bean property 'callbackHandlers' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'wlevs:stream#3e3672': Cannot resolve reference to bean 'monitor' while setting bean property 'listeners' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'monitor' defined in URL [bundleentry://135/META-INF/spring/com.bea.wlevs.monitor.xml]: Cannot create inner bean 'wlevs:processor#958f49' of type [com.bea.wlevs.spring.ProcessorFactoryBean] while setting bean property 'processor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'wlevs:processor#958f49': Invocation of init method failed; nested exception is java.lang.NullPointerException
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.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:287)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:126)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1172)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:940)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:437)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:383)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:353)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:219)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:117)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1172)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:940)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:437)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:383)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:353)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:169)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:136)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 9 months ago
Once, 1 year ago
274 more bugmates

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