[jira] [Updated] (CAMEL-11610) UnsatisfiedDependencyException: Error creating bean with name 'openTracingEventNotifier'

2017-07-27 Thread Claus Ibsen (JIRA)

 [ 
https://issues.apache.org/jira/browse/CAMEL-11610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-11610:

Affects Version/s: 2.20.0
   2.19.2

> UnsatisfiedDependencyException: Error creating bean with name 
> 'openTracingEventNotifier'
> 
>
> Key: CAMEL-11610
> URL: https://issues.apache.org/jira/browse/CAMEL-11610
> Project: Camel
>  Issue Type: Bug
>Affects Versions: 2.19.2, 2.20.0
>Reporter: Gary Brown
>Assignee: Claus Ibsen
> Fix For: 2.19.2, 2.20.0
>
>
> 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 
> 

[jira] [Updated] (CAMEL-11610) UnsatisfiedDependencyException: Error creating bean with name 'openTracingEventNotifier'

2017-07-27 Thread Claus Ibsen (JIRA)

 [ 
https://issues.apache.org/jira/browse/CAMEL-11610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-11610:

Fix Version/s: 2.20.0

> UnsatisfiedDependencyException: Error creating bean with name 
> 'openTracingEventNotifier'
> 
>
> Key: CAMEL-11610
> URL: https://issues.apache.org/jira/browse/CAMEL-11610
> Project: Camel
>  Issue Type: Bug
>Affects Versions: 2.19.2, 2.20.0
>Reporter: Gary Brown
>Assignee: Claus Ibsen
> Fix For: 2.19.2, 2.20.0
>
>
> 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)
>