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 Spring JIRA by Udo Kohlmeyer, 1 year ago
Error creating bean with name 'ReceiverHub': Invocation of init method failed; nested exception is java.lang.NullPointerException
via Spring JIRA by Udo Kohlmeyer, 2 years ago
Error creating bean with name 'ReceiverHub': Invocation of init method failed; nested exception is java.lang.NullPointerException
via Stack Overflow by Sergio Rodríguez Calvo
, 2 years ago
Error creating bean with name 'clientRepository': Invocation of init method failed; nested exception is java.lang.NullPointerException
via Stack Overflow by Sandra
, 2 years ago
Error creating bean with name 'employeeRepo': Invocation of init method failed; nested exception is java.lang.AbstractMethodError
via Stack Overflow by Asad
, 2 years ago
Error creating bean with name 'person' defined in class path resource [spring.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ReceiverHub': Invocation of init method failed; nested exception is java.lang.NullPointerException at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455) 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:294) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:587) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:472) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93) at com.anz.markets.luxor.commons.ApplicationContextProvider.createApplicationContext(ApplicationContextProvider.java:124) at com.anz.markets.luxor.commons.ApplicationContextProvider.initContext(ApplicationContextProvider.java:72) at com.anz.markets.luxor.commons.ApplicationContextProvider.getInstance(ApplicationContextProvider.java:79) at com.anz.markets.luxor.server.TestServerLauncher.main(TestServerLauncher.java:35) 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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)Caused by: java.lang.NullPointerException at org.springframework.data.gemfire.wan.GatewayHubFactoryBean.doInit(GatewayHubFactoryBean.java:105) at org.springframework.data.gemfire.wan.AbstractWANComponentFactoryBean.afterPropertiesSet(AbstractWANComponentFactoryBean.java:71) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452) ... 20 more