org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'companyxyzCacheManager' defined in class path resource [com/companyxyz/data/spring-config-data-common.xml]: Cannot create inner bean 'net.sf.ehcache.CacheManager#102ead5' of type [net.sf.ehcache.CacheManager] while setting bean property 'ehCacheManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'net.sf.ehcache.CacheManager#102ead5' defined in class path resource [com/companyxyz/data/spring-config-data-common.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static net.sf.ehcache.CacheManager net.sf.ehcache.CacheManager.create(java.net.URL) throws net.sf.ehcache.CacheException] threw exception; nested exception is java.lang.NullPointerException

Terracotta Project Issue Tracker | Kevin Schmidt | 5 years ago
  1. 0

    I am attempting to upgraded from EhCache 1.5.0 to EhCache 2.4.3. I am receiving a NullPointerException from the CacheManager.configure() method which has an obvious bug in the code base. The call to cacheManagerPeerListeners.putAll(configurationHelper.createCachePeerListeners()); on line 589 is causing the NullPointerException since ConfigurationHelper.createCachePeerListeners() can return null in the case that the className of the factory configuration is null. I removed company name references due to IT Policies with companyxyz. Here is the stack trace I am seeing on start-up. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'companyxyzCacheManager' defined in class path resource [com/companyxyz/data/spring-config-data-common.xml]: Cannot create inner bean 'net.sf.ehcache.CacheManager#102ead5' of type [net.sf.ehcache.CacheManager] while setting bean property 'ehCacheManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'net.sf.ehcache.CacheManager#102ead5' defined in class path resource [com/companyxyz/data/spring-config-data-common.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static net.sf.ehcache.CacheManager net.sf.ehcache.CacheManager.create(java.net.URL) throws net.sf.ehcache.CacheException] threw exception; 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: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.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380) at com.companyxyz.util.WebApplicationContextManager.initWebApplicationContext(WebApplicationContextManager.java:68) at com.companyxyz.web.servlet.filter.RootFilter.doFilter(RootFilter.java:135) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:619) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'net.sf.ehcache.CacheManager#102ead5' defined in class path resource [com/companyxyz/data/spring-config-data-common.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static net.sf.ehcache.CacheManager net.sf.ehcache.CacheManager.create(java.net.URL) throws net.sf.ehcache.CacheException] threw exception; nested exception is java.lang.NullPointerException at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:444) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:903) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:817) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) 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.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:219) ... 29 more Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static net.sf.ehcache.CacheManager net.sf.ehcache.CacheManager.create(java.net.URL) throws net.sf.ehcache.CacheException] threw exception; nested exception is java.lang.NullPointerException at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:127) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:435) ... 36 more Caused by: java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.putAll(ConcurrentHashMap.java:908) at net.sf.ehcache.CacheManager.configure(CacheManager.java:589) at net.sf.ehcache.CacheManager.init(CacheManager.java:358) at net.sf.ehcache.CacheManager.<init>(CacheManager.java:272) at net.sf.ehcache.CacheManager.create(CacheManager.java:770) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:115) ... 37 more Here is the Spring Configuration code I am using. <!-- Caching Beans. --> <bean id="companyxyzCacheManager" class="com.companyxyz.cache.impl.companyxyzCacheManager" scope="singleton"> <property name="ehCacheManager"> <bean class="net.sf.ehcache.CacheManager" factory-method="create"> <constructor-arg> <bean class="org.springframework.util.ResourceUtils" factory-method="getURL"> <constructor-arg><value>classpath:com/companyxyz/cache/impl/ehcache.xml</value></constructor-arg> </bean> </constructor-arg> </bean> </property> <property name="cacheBuilder" ref="cacheBuilder"/> </bean> Here is the EhCache Configuration file that I am using. <ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ehcache.xsd"> <diskStore path="java.io.tmpdir" /> <cacheManagerEventListenerFactory properties="" /> <cacheManagerPeerProviderFactory properties="" /> <cacheManagerPeerListenerFactory /> <defaultCache maxElementsInMemory="10000" eternal="false" timeToIdleSeconds="0" timeToLiveSeconds="0" overflowToDisk="false" memoryStoreEvictionPolicy="LRU" /> </ehcache> I have attached my EhCache Configuration to this bug report for reference.

    Terracotta Project Issue Tracker | 5 years ago | Kevin Schmidt
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'companyxyzCacheManager' defined in class path resource [com/companyxyz/data/spring-config-data-common.xml]: Cannot create inner bean 'net.sf.ehcache.CacheManager#102ead5' of type [net.sf.ehcache.CacheManager] while setting bean property 'ehCacheManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'net.sf.ehcache.CacheManager#102ead5' defined in class path resource [com/companyxyz/data/spring-config-data-common.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static net.sf.ehcache.CacheManager net.sf.ehcache.CacheManager.create(java.net.URL) throws net.sf.ehcache.CacheException] threw exception; nested exception is java.lang.NullPointerException
  2. 0

    I am attempting to upgraded from EhCache 1.5.0 to EhCache 2.4.3. I am receiving a NullPointerException from the CacheManager.configure() method which has an obvious bug in the code base. The call to cacheManagerPeerListeners.putAll(configurationHelper.createCachePeerListeners()); on line 589 is causing the NullPointerException since ConfigurationHelper.createCachePeerListeners() can return null in the case that the className of the factory configuration is null. I removed company name references due to IT Policies with companyxyz. Here is the stack trace I am seeing on start-up. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'companyxyzCacheManager' defined in class path resource [com/companyxyz/data/spring-config-data-common.xml]: Cannot create inner bean 'net.sf.ehcache.CacheManager#102ead5' of type [net.sf.ehcache.CacheManager] while setting bean property 'ehCacheManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'net.sf.ehcache.CacheManager#102ead5' defined in class path resource [com/companyxyz/data/spring-config-data-common.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static net.sf.ehcache.CacheManager net.sf.ehcache.CacheManager.create(java.net.URL) throws net.sf.ehcache.CacheException] threw exception; 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: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.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380) at com.companyxyz.util.WebApplicationContextManager.initWebApplicationContext(WebApplicationContextManager.java:68) at com.companyxyz.web.servlet.filter.RootFilter.doFilter(RootFilter.java:135) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:619) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'net.sf.ehcache.CacheManager#102ead5' defined in class path resource [com/companyxyz/data/spring-config-data-common.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static net.sf.ehcache.CacheManager net.sf.ehcache.CacheManager.create(java.net.URL) throws net.sf.ehcache.CacheException] threw exception; nested exception is java.lang.NullPointerException at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:444) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:903) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:817) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) 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.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:219) ... 29 more Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static net.sf.ehcache.CacheManager net.sf.ehcache.CacheManager.create(java.net.URL) throws net.sf.ehcache.CacheException] threw exception; nested exception is java.lang.NullPointerException at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:127) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:435) ... 36 more Caused by: java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.putAll(ConcurrentHashMap.java:908) at net.sf.ehcache.CacheManager.configure(CacheManager.java:589) at net.sf.ehcache.CacheManager.init(CacheManager.java:358) at net.sf.ehcache.CacheManager.<init>(CacheManager.java:272) at net.sf.ehcache.CacheManager.create(CacheManager.java:770) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:115) ... 37 more Here is the Spring Configuration code I am using. <!-- Caching Beans. --> <bean id="companyxyzCacheManager" class="com.companyxyz.cache.impl.companyxyzCacheManager" scope="singleton"> <property name="ehCacheManager"> <bean class="net.sf.ehcache.CacheManager" factory-method="create"> <constructor-arg> <bean class="org.springframework.util.ResourceUtils" factory-method="getURL"> <constructor-arg><value>classpath:com/companyxyz/cache/impl/ehcache.xml</value></constructor-arg> </bean> </constructor-arg> </bean> </property> <property name="cacheBuilder" ref="cacheBuilder"/> </bean> Here is the EhCache Configuration file that I am using. <ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ehcache.xsd"> <diskStore path="java.io.tmpdir" /> <cacheManagerEventListenerFactory properties="" /> <cacheManagerPeerProviderFactory properties="" /> <cacheManagerPeerListenerFactory /> <defaultCache maxElementsInMemory="10000" eternal="false" timeToIdleSeconds="0" timeToLiveSeconds="0" overflowToDisk="false" memoryStoreEvictionPolicy="LRU" /> </ehcache> I have attached my EhCache Configuration to this bug report for reference.

    Terracotta Project Issue Tracker | 5 years ago | Kevin Schmidt
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'companyxyzCacheManager' defined in class path resource [com/companyxyz/data/spring-config-data-common.xml]: Cannot create inner bean 'net.sf.ehcache.CacheManager#102ead5' of type [net.sf.ehcache.CacheManager] while setting bean property 'ehCacheManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'net.sf.ehcache.CacheManager#102ead5' defined in class path resource [com/companyxyz/data/spring-config-data-common.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static net.sf.ehcache.CacheManager net.sf.ehcache.CacheManager.create(java.net.URL) throws net.sf.ehcache.CacheException] threw exception; nested exception is java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Java net4j newEmbeddedDatabase failure

    Stack Overflow | 3 years ago | Nikita
    java.lang.NullPointerException
  5. 0

    GitHub comment 387#186367099

    GitHub | 10 months ago | mbernier85
    java.lang.NullPointerException

    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. java.lang.NullPointerException

      No message provided

      at java.util.concurrent.ConcurrentHashMap.putAll()
    2. Java RT
      ConcurrentHashMap.putAll
      1. java.util.concurrent.ConcurrentHashMap.putAll(ConcurrentHashMap.java:908)
      1 frame
    3. Ehcache
      CacheManager.create
      1. net.sf.ehcache.CacheManager.configure(CacheManager.java:589)
      2. net.sf.ehcache.CacheManager.init(CacheManager.java:358)
      3. net.sf.ehcache.CacheManager.<init>(CacheManager.java:272)
      4. net.sf.ehcache.CacheManager.create(CacheManager.java:770)
      4 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. Spring Beans
      AbstractAutowireCapableBeanFactory$1.run
      1. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:115)
      2. org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:435)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:903)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:817)
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
      6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
      6 frames
    6. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    7. Spring Beans
      AbstractAutowireCapableBeanFactory$1.run
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
      2. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:219)
      3. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:117)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
      6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
      7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
      7 frames
    8. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    9. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      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)
      7. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
      7 frames
    10. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
      2 frames
    11. com.companyxyz.util
      WebApplicationContextManager.initWebApplicationContext
      1. com.companyxyz.util.WebApplicationContextManager.initWebApplicationContext(WebApplicationContextManager.java:68)
      1 frame
    12. com.companyxyz.web
      RootFilter.doFilter
      1. com.companyxyz.web.servlet.filter.RootFilter.doFilter(RootFilter.java:135)
      1 frame
    13. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
      8 frames
    14. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      3 frames
    15. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame