Springboot-Microservice icon indicating copy to clipboard operation
Springboot-Microservice copied to clipboard

I am facing the below issue

Open kshravan opened this issue 4 years ago • 0 comments

Facing below issue when trying to add Hystrix circuit breaker

[ERROR] contextLoads Time elapsed: 0.002 s <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: org.springframework.context.ApplicationContextException: Failed to start bean 'eurekaAutoServiceRegistration'; nested exception is java.lang.NullPointerException: Cannot invoke "org.springframework.cloud.netflix.eureka.CloudEurekaClient.getApplications()" because the return value of "org.springframework.cloud.netflix.eureka.serviceregistry.EurekaRegistration.getEurekaClient()" is null Caused by: java.lang.NullPointerException: Cannot invoke "org.springframework.cloud.netflix.eureka.CloudEurekaClient.getApplications()" because the return value of "org.springframework.cloud.netflix.eureka.serviceregistry.EurekaRegistration.getEurekaClient()" is null

kshravan avatar Jul 15 '21 18:07 kshravan