org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dsoBean' defined in URL [bundleentry://61.fwk17320380/META-INF/spring/osgi-dso.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Unable to load class net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory. Initial cause was 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

Solutions on the web

via terracotta.org by Unknown author, 1 year ago
Error creating bean with name 'dsoBean' defined in URL [bundleentry://61.fwk17320380/META-INF/spring/osgi-dso.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Unable to load class net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory. Initial cause was java.lang.NullPointerException
via Terracotta by acs, 1 year ago
Error creating bean with name 'dsoBean' defined in URL [bundleentry://61.fwk17320380/META-INF/spring/osgi-dso.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Unable to load class net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory. Initial cause was java.lang.NullPointerException
via squashtest.org by Unknown author, 2 years ago
Error creating bean with name 'squashtest.tm.persistence.hibernate.SessionFactory' defined in URL [bundle://99.0:0/META-INF/spring/repository-context.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
via eclipse.org by Unknown author, 1 year ago
Error creating bean with name 'velocityConfig' defined in URL [bundleentry://120.fwk1722768956/META-INF/spring/general.xml]: Invocation of init method failed; nested exception is org.apache.velocity.exception.VelocityException: Velocimacro : Error using VM library : org/springframework/web/servlet/view/velocity/spring.vm
via eclipse.org by Unknown author, 1 year ago
Error creating bean with name 'dataSource' defined in URL [bundleentry://10.fwk21722195/META-INF/spring/module-context.xml]: Invocation of init method failed; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Wrong user name or password [8004-71])
via eclipse.org by Unknown author, 2 years ago
Error creating bean with name 'dataSource' defined in URL [bundleentry://10.fwk21722195/META-INF/spring/module-context.xml]: Invocation of init method failed; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Wrong user name or password [8004-71])
java.lang.NullPointerException:
at org.terracotta.express.loader.Util.fixUpUrl(Util.java:59)
at org.terracotta.express.ClientImpl.newTcJarUrl(ClientImpl.java:323)
at org.terracotta.express.ClientImpl.(ClientImpl.java:269)
at org.terracotta.express.ClientFactoryImpl.newClient(ClientFactoryImpl.java:194)
at org.terracotta.express.ClientFactoryImpl.createClient(ClientFactoryImpl.java:187)
at org.terracotta.express.ClientFactoryImpl.createClient(ClientFactoryImpl.java:174)
at org.terracotta.express.ClientFactoryImpl.getOrCreateClient(ClientFactoryImpl.java:152)
at org.terracotta.express.ClientFactory.getOrCreateClient(ClientFactory.java:28)
at net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory.(StandaloneTerracottaClusteredInstanceFactory.java:37)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at net.sf.ehcache.util.ClassLoaderUtil.createNewInstance(ClassLoaderUtil.java:92)
at net.sf.ehcache.terracotta.TerracottaClusteredInstanceHelper.newClusteredInstanceFactory(TerracottaClusteredInstanceHelper.java:178)
at net.sf.ehcache.terracotta.TerracottaClient.createNewClusteredInstanceFactory(TerracottaClient.java:199)
at net.sf.ehcache.terracotta.TerracottaClient.createClusteredInstanceFactory(TerracottaClient.java:151)
at net.sf.ehcache.CacheManager.init(CacheManager.java:340)
at net.sf.ehcache.CacheManager.(CacheManager.java:272)
at fr.grouperatp.ratp.i2v.service.dso.internal.Dso.init(Dso.java:43)
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.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1544)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
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.lang.Thread.run(Thread.java:662)

Users with the same issue

You are the first who have seen this exception.

Write tip

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