org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [OMERO.blitz], from group with resource name [classpath*:beanRe fContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'OMERO.blitz' defined in URL [jar:file:/opt/omero/omero_dist/li b/server/blitz.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'ome.server' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCrea tionException: Error creating bean with name 'ome.server' defined in URL [jar:file:/opt/omero/omero_dist/lib/server/server.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [ome.system.OmeroContext]: Constructor threw exception; nested exception is org.spri ngframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionManager' defined in class path resource [ome/services/sec-primitives.xml]: Cannot resolve referenc e to bean 'executor' while setting bean property 'executor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'executor' define d in class path resource [ome/services/services.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans .factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [ome/services/hibernate.xml]: Invocation of init method failed; nested exce ption is org.hibernate.HibernateException: Unable to initialize: FullText

openmicroscopy.org | 2 weeks ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Open Microscopy Environment • View topic - omero.server-5.0.0-ice35-b19 would not start on CentOS 6.2

    openmicroscopy.org | 2 years ago
    org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [OMERO.blitz], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'OMERO.blitz' defined in URL [jar:file:/usr/local/OMERO.server-5.0.0-ice35-b19/lib/server/blitz.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [ome.system.OmeroContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'omero.rtypes.RTypeObjectFactoryRegistry#0' defined in class path resource [ome/services/objectfactories.xml]: Cannot resolve reference to bean 'Ice.Communicator' while setting bean property 'iceCommunicator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configuration' defined in URL [jar:file:/usr/local/OMERO.server-5.0.0-ice35-b19/lib/server/blitz.jar!/ome/services/blitz-config.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [ome.services.blitz.util.BlitzConfiguration]: Constructor threw exception; nested exception is org.springframework.beans.FatalBeanException: Could not find Ice config for object adapter [ BlitzAdapter ]
  2. 0

    /OMERO still required after omero config set omero.data.dir ~/var/OMERO.data

    GitHub | 4 years ago | hugegreenbug
    org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [OMERO.blitz], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'OMERO.blitz' defined in URL [jar:file:/Users/hugh/Projects/openmicroscopy/dist/lib/server/blitz.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [ome.system.OmeroContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'legacyRepository' defined in URL [jar:file:/Users/hugh/Projects/openmicroscopy/dist/lib/server/blitz.jar!/ome/services/blitz-repositories.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [ome.services.blitz.repo.LegacyRepositoryI]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException: Invalid directory specified for file system service./OMERO
  3. 0

    Hi, We need to upgrade Spring to 3.2.4RELEASE in our project where we use Quartz 1.8.3 version on Websphere AS 8 version. We use org.springframework.scheduling.commonj.WorkManagerTaskExecutor for Thread Management for scheduling jobs. But on Spring Upgrade we get the below exception when starting the Scheduler application: org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath*:beanRefContext.xml], factory key [SchedulerContext]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SchedulerContext' defined in URL [beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jobManagerDelegate' defined in class path resource [SchedulerContext.xml]: Cannot resolve reference to bean 'schedulerFactoryBean' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerFactoryBean' defined in class path resource [SchedulerContext.xml]: Initialization of bean failed; nested exception is java.lang.reflect.MalformedParameterizedTypeException and below exception when scheduling jobs Cannot convert value of type [org.springframework.scheduling.commonj.WorkManagerTaskExecutor] to required type [java.util.concurrent.Executor] for property 'taskExecutor': no matching editors or conversion strategy found at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:254) org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath*:beanRefContext.xml], factory key [SchedulerContext]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SchedulerContext' defined in URL My bean definition xml containing the WorkManagerTaskExecutor definition looks as below: <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:task="http://www.springframework.org/schema/task" xmlns:context="http://www.springframework.org/schema/context" xmlns:jee="http://www.springframework.org/schema/jee" xsi:schemaLocation="http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.2.xsd http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-3.2.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd"> <bean id="workManagerTaskExecutor" class="org.springframework.scheduling.commonj.WorkManagerTaskExecutor"> <property name="workManagerName" value="wm/workManagerRef"/> <property name="resourceRef" value="true"/> </bean> Appreciate a response. Thanks, Bindu

    Spring JIRA | 3 years ago | Bindu Nagesh
    org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath*:beanRefContext.xml], factory key [SchedulerContext]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SchedulerContext' defined in URL [beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jobManagerDelegate' defined in class path resource [SchedulerContext.xml]: Cannot resolve reference to bean 'schedulerFactoryBean' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerFactoryBean' defined in class path resource [SchedulerContext.xml]: Initialization of bean failed; nested exception is java.lang.reflect.MalformedParameterizedTypeException and below exception when scheduling jobs
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NullPointerException when running for the first time the stable version

    GitHub | 4 months ago | anthony-o
    org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath*:beanRefContext.xml], factory key [ctx]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ctx' defined in URL [jar:file:/CMR/inspectit-cmr.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.support.PropertySourcesPlaceholderConfigurer#0': Cannot resolve reference to bean 'localPropertiesBean' while setting bean property 'properties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'localPropertiesBean' defined in class path resource [rocks/inspectit/server/property/PropertyManager.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [protected synchronized java.util.Properties rocks.inspectit.server.property.PropertyManager.getProperties()] threw exception; nested exception is java.lang.NullPointerException

    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.BeanInstantiationException

      Could not instantiate bean class [ome.system.OmeroContext]: Constructor threw exception; nested exception is org.springf ramework.beans.factory.BeanCreationException: Error creating bean with name 'sessionManager' defined in class path resource [ome/services/sec-primitives.xml]: Cannot resolve reference t o bean 'executor' while setting bean property 'executor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'executor' defined i n class path resource [ome/services/services.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.fa ctory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [ome/services/hibernate.xml]: Invocation of init method failed; nested excepti on is org.hibernate.HibernateException: Unable to initialize: FullText

      at org.springframework.beans.BeanUtils.instantiateClass()
    2. Spring Beans
      AbstractAutowireCapableBeanFactory$1.run
      1. org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
      2. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
      3. org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
      6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
      7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
      7 frames
    3. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    4. Spring Beans
      AbstractAutowireCapableBeanFactory$1.run
      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:221)
      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)
      7. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
      8. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
      9. org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:479)
      10. org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)
      11. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
      12. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
      13. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
      14. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
      14 frames
    5. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    6. 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:221)
      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:168)
      6 frames
    7. Spring Context
      AbstractApplicationContext.getBean
      1. org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:885)
      1 frame
    8. Spring Beans
      SingletonBeanFactoryLocator.useBeanFactory
      1. org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:397)
      1 frame
    9. ome.system
      OmeroContext.getInstance
      1. ome.system.OmeroContext.getInstance(OmeroContext.java:203)
      1 frame
    10. ome.services.blitz
      Entry.main
      1. ome.services.blitz.Entry.start(Entry.java:203)
      2. ome.services.blitz.Entry.main(Entry.java:121)
      2 frames