Tomohisa Igarashi created CAMEL-11826:
-----------------------------------------

             Summary: [example] hystrix, opentracing - spring-boot:run throws 
NPE
                 Key: CAMEL-11826
                 URL: https://issues.apache.org/jira/browse/CAMEL-11826
             Project: Camel
          Issue Type: Sub-task
            Reporter: Tomohisa Igarashi


{code}
2017-09-22 20:16:29.684 ERROR 19603 --- [           main] 
o.s.boot.SpringApplication               : Application startup failed

org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
creating bean with name 'cacheAutoConfigurationValidatorPostProcessor' defined 
in class path resource 
[org/apache/camel/component/http/springboot/HttpComponentSSLAutoConfiguration.class]:
 Unsatisfied dependency expressed through method 
'cacheAutoConfigurationValidatorPostProcessor' parameter 0; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'camelContext' defined in class path resource 
[org/apache/camel/spring/boot/CamelAutoConfiguration.class]: Bean instantiation 
via factory method failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Failed to instantiate 
[org.apache.camel.CamelContext]: Factory method 'camelContext' threw exception; 
nested exception is org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name 'routesHealthCheckRepository' defined in class 
path resource 
[org/apache/camel/spring/boot/health/HealthCheckRoutesAutoConfiguration.class]: 
Bean instantiation via factory method failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Failed to instantiate 
[org.apache.camel.health.HealthCheckRepository]: Factory method 
'routesHealthCheckRepository' threw exception; nested exception is 
java.lang.NullPointerException
        at 
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
 ~[spring-beans-4.3.11.RELEASE.jar:4.3.11.RELEASE]
        at 
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:467)
 ~[spring-beans-4.3.11.RELEASE.jar:4.3.11.RELEASE]
.....
Caused by: java.lang.NullPointerException: null
        at 
org.apache.camel.spring.boot.health.HealthCheckRoutesAutoConfiguration.routesHealthCheckRepository(HealthCheckRoutesAutoConfiguration.java:50)
 ~[camel-spring-boot-2.20.0-SNAPSHOT.jar:2.20.0-SNAPSHOT]
        at 
org.apache.camel.spring.boot.health.HealthCheckRoutesAutoConfiguration$$EnhancerBySpringCGLIB$$aa43f327.CGLIB$routesHealthCheckRepository$0(<generated>)
 ~[camel-spring-boot-2.20.0-SNAPSHOT.jar:2.20.0-SNAPSHOT]
.....

{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to