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

Samebug tips1

Typo in the name of the bean in the beans.xml

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

Solutions on the web19461

  • via Spring JIRA by Andy Piper, 1 year ago
    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
  • via Spring JIRA by Andy Piper, 1 year ago
    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
  • via spring.io by Unknown author, 1 year ago
    Error creating bean with name 'wlevs:processor#958f49': Invocation of init method failed; nested exception is java.lang.NullPointerException
  • Stack trace

    • 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.resolveInnerBean(BeanDefinitionValueResolver.java:230) 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.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.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)

    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, 9 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    24 more bugmates