Gary Brown created CAMEL-11610:
----------------------------------
Summary: UnsatisfiedDependencyException: Error creating bean with
name 'openTracingEventNotifier'
Key: CAMEL-11610
URL: https://issues.apache.org/jira/browse/CAMEL-11610
Project: Camel
Issue Type: Bug
Reporter: Gary Brown
Fix For: 2.19.2
When testing the 2nd 2.19.2 release candidate, got the following when starting
up 'service1' in the camel-example-opentracing example. This service started
with no problems in the first release candidate, so not sure what has changed -
but from the initial messages it appears that something is still being started
up, i.e. "BeanCurrentlyInCreationException: Error creating bean with name
'camelContext': Requested bean is currently in creation: Is there an
unresolvable circular reference?"
{noformat}
2017-07-27 10:24:18.314 INFO 3829 --- [ main]
sample.camel.Service1Application : Starting Service1Application on
localhost.localdomain with PID 3829
(/home/gbrown/testing/apache/apache-camel-2.19.2/examples/camel-example-opentracing/service1/target/classes
started by gbrown in
/home/gbrown/testing/apache/apache-camel-2.19.2/examples/camel-example-opentracing/service1)
2017-07-27 10:24:18.316 INFO 3829 --- [ main]
sample.camel.Service1Application : No active profile set, falling back
to default profiles: default
2017-07-27 10:24:18.347 INFO 3829 --- [ main]
s.c.a.AnnotationConfigApplicationContext : Refreshing
org.springframework.context.annotation.AnnotationConfigApplicationContext@311592f:
startup date [Thu Jul 27 10:24:18 BST 2017]; root of context hierarchy
2017-07-27 10:24:19.098 WARN 3829 --- [ main]
s.c.a.AnnotationConfigApplicationContext : Exception encountered during context
initialization - cancelling refresh attempt:
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 'rest-configuration' defined in class path
resource
[org/apache/camel/model/rest/springboot/RestConfigurationDefinitionAutoConfiguration.class]:
Bean instantiation via factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.apache.camel.spi.RestConfiguration]: Factory method
'configureRestConfigurationDefinition' threw exception; nested exception is
java.lang.IllegalArgumentException: target must be specified
Related cause:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'openTracingEventNotifier' defined in
org.apache.camel.opentracing.starter.OpenTracingAutoConfiguration: Unsatisfied
dependency expressed through method 'openTracingEventNotifier' parameter 0;
nested exception is
org.springframework.beans.factory.BeanCurrentlyInCreationException: Error
creating bean with name 'camelContext': Requested bean is currently in
creation: Is there an unresolvable circular reference?
2017-07-27 10:24:19.102 ERROR 3829 --- [ main]
o.s.b.f.s.DefaultListableBeanFactory : Destroy method on bean with name
'org.springframework.boot.autoconfigure.internalCachingMetadataReaderFactory'
threw an exception
java.lang.IllegalStateException: ApplicationEventMulticaster not initialized -
call 'refresh' before multicasting events via the context:
org.springframework.context.annotation.AnnotationConfigApplicationContext@311592f:
startup date [Thu Jul 27 10:24:18 BST 2017]; root of context hierarchy
at
org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:414)
[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.context.support.ApplicationListenerDetector.postProcessBeforeDestruction(ApplicationListenerDetector.java:97)
~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:253)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578)
[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554)
[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:961)
[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523)
[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.destroySingletons(FactoryBeanRegistrySupport.java:230)
[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:968)
[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1030)
[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:556)
[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
[spring-boot-1.5.4.RELEASE.jar:1.5.4.RELEASE]
at
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)
[spring-boot-1.5.4.RELEASE.jar:1.5.4.RELEASE]
at
org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
[spring-boot-1.5.4.RELEASE.jar:1.5.4.RELEASE]
at
org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
[spring-boot-1.5.4.RELEASE.jar:1.5.4.RELEASE]
at
org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
[spring-boot-1.5.4.RELEASE.jar:1.5.4.RELEASE]
at sample.camel.Service1Application.main(Service1Application.java:37)
[classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.8.0_131]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
~[na:1.8.0_131]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.8.0_131]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131]
at
org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:527)
[spring-boot-maven-plugin-1.5.4.RELEASE.jar:1.5.4.RELEASE]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131]
2017-07-27 10:24:19.107 INFO 3829 --- [ main]
utoConfigurationReportLoggingInitializer :
Error starting ApplicationContext. To display the auto-configuration report
re-run your application with 'debug' enabled.
2017-07-27 10:24:19.110 ERROR 3829 --- [ 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 'rest-configuration' defined in class path
resource
[org/apache/camel/model/rest/springboot/RestConfigurationDefinitionAutoConfiguration.class]:
Bean instantiation via factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.apache.camel.spi.RestConfiguration]: Factory method
'configureRestConfigurationDefinition' threw exception; nested exception is
java.lang.IllegalArgumentException: target must be specified
at
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:467)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1173)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1067)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:174)
~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:687)
~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:525)
~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
[spring-boot-1.5.4.RELEASE.jar:1.5.4.RELEASE]
at
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)
[spring-boot-1.5.4.RELEASE.jar:1.5.4.RELEASE]
at
org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
[spring-boot-1.5.4.RELEASE.jar:1.5.4.RELEASE]
at
org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
[spring-boot-1.5.4.RELEASE.jar:1.5.4.RELEASE]
at
org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
[spring-boot-1.5.4.RELEASE.jar:1.5.4.RELEASE]
at sample.camel.Service1Application.main(Service1Application.java:37)
[classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.8.0_131]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
~[na:1.8.0_131]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.8.0_131]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131]
at
org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:527)
[spring-boot-maven-plugin-1.5.4.RELEASE.jar:1.5.4.RELEASE]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131]
Caused by: 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 'rest-configuration' defined in class path
resource
[org/apache/camel/model/rest/springboot/RestConfigurationDefinitionAutoConfiguration.class]:
Bean instantiation via factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.apache.camel.spi.RestConfiguration]: Factory method
'configureRestConfigurationDefinition' threw exception; nested exception is
java.lang.IllegalArgumentException: target must be specified
at
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1173)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1067)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
... 24 common frames omitted
Caused by: 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 'rest-configuration' defined in class path resource
[org/apache/camel/model/rest/springboot/RestConfigurationDefinitionAutoConfiguration.class]:
Bean instantiation via factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.apache.camel.spi.RestConfiguration]: Factory method
'configureRestConfigurationDefinition' threw exception; nested exception is
java.lang.IllegalArgumentException: target must be specified
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
... 37 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'rest-configuration' defined in class path resource
[org/apache/camel/model/rest/springboot/RestConfigurationDefinitionAutoConfiguration.class]:
Bean instantiation via factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.apache.camel.spi.RestConfiguration]: Factory method
'configureRestConfigurationDefinition' threw exception; nested exception is
java.lang.IllegalArgumentException: target must be specified
at
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1173)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1067)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:519)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:508)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1186)
~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.apache.camel.spring.boot.CamelAutoConfiguration.getSingleBeanOfType(CamelAutoConfiguration.java:449)
~[camel-spring-boot-2.19.2.jar:2.19.2]
at
org.apache.camel.spring.boot.CamelAutoConfiguration.afterPropertiesSet(CamelAutoConfiguration.java:414)
~[camel-spring-boot-2.19.2.jar:2.19.2]
at
org.apache.camel.spring.boot.CamelAutoConfiguration.camelContext(CamelAutoConfiguration.java:199)
~[camel-spring-boot-2.19.2.jar:2.19.2]
at
org.apache.camel.spring.boot.CamelAutoConfiguration$$EnhancerBySpringCGLIB$$b01df009.CGLIB$camelContext$8(<generated>)
~[camel-spring-boot-2.19.2.jar:2.19.2]
at
org.apache.camel.spring.boot.CamelAutoConfiguration$$EnhancerBySpringCGLIB$$b01df009$$FastClassBySpringCGLIB$$64f95473.invoke(<generated>)
~[camel-spring-boot-2.19.2.jar:2.19.2]
at
org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
~[spring-core-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:358)
~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.apache.camel.spring.boot.CamelAutoConfiguration$$EnhancerBySpringCGLIB$$b01df009.camelContext(<generated>)
~[camel-spring-boot-2.19.2.jar:2.19.2]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.8.0_131]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
~[na:1.8.0_131]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.8.0_131]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131]
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
... 38 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to
instantiate [org.apache.camel.spi.RestConfiguration]: Factory method
'configureRestConfigurationDefinition' threw exception; nested exception is
java.lang.IllegalArgumentException: target must be specified
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
... 62 common frames omitted
Caused by: java.lang.IllegalArgumentException: target must be specified
at org.apache.camel.util.ObjectHelper.notNull(ObjectHelper.java:313)
~[camel-core-2.19.2.jar:2.19.2]
at
org.apache.camel.util.IntrospectionSupport.getProperties(IntrospectionSupport.java:252)
~[camel-core-2.19.2.jar:2.19.2]
at
org.apache.camel.model.rest.springboot.RestConfigurationDefinitionAutoConfiguration.configureRestConfigurationDefinition(RestConfigurationDefinitionAutoConfiguration.java:60)
~[camel-core-starter-2.19.2.jar:2.19.2]
at
org.apache.camel.model.rest.springboot.RestConfigurationDefinitionAutoConfiguration$$EnhancerBySpringCGLIB$$4827afa9.CGLIB$configureRestConfigurationDefinition$0(<generated>)
~[camel-core-starter-2.19.2.jar:2.19.2]
at
org.apache.camel.model.rest.springboot.RestConfigurationDefinitionAutoConfiguration$$EnhancerBySpringCGLIB$$4827afa9$$FastClassBySpringCGLIB$$53cce885.invoke(<generated>)
~[camel-core-starter-2.19.2.jar:2.19.2]
at
org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
~[spring-core-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:358)
~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at
org.apache.camel.model.rest.springboot.RestConfigurationDefinitionAutoConfiguration$$EnhancerBySpringCGLIB$$4827afa9.configureRestConfigurationDefinition(<generated>)
~[camel-core-starter-2.19.2.jar:2.19.2]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.8.0_131]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
~[na:1.8.0_131]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.8.0_131]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131]
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
... 63 common frames omitted
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)