[ 
https://issues.apache.org/jira/browse/CAMEL-12378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16408910#comment-16408910
 ] 

Tomohisa Igarashi edited comment on CAMEL-12378 at 3/22/18 11:27 PM:
---------------------------------------------------------------------

-For example this commit added @Ignore on some of ServiceCall tests-

-[https://github.com/apache/camel/commit/7ea22963f245b1090b52c8d56de0658af62d9c07]-

It seems not related. While many of above now passes, consumer for this example 
still fails.
{code:java}
19:08:47.453 [main ] ERROR amework.boot.SpringApplication - Application run 
failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
creating bean with name 
'org.springframework.cloud.client.serviceregistry.AutoServiceRegistrationAutoConfiguration':
 Unsatisfied dependency expressed through field 'autoServiceRegistration'; 
nested exception is 
org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
creating bean with name 'consulAutoServiceRegistration' defined in class path 
resource 
[org/springframework/cloud/consul/serviceregistry/ConsulAutoServiceRegistrationAutoConfiguration.class]:
 Unsatisfied dependency expressed through method 
'consulAutoServiceRegistration' parameter 3; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'consulRegistration' defined in class path resource 
[org/springframework/cloud/consul/serviceregistry/ConsulAutoServiceRegistrationAutoConfiguration.class]:
 Bean instantiation via factory method failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Failed to instantiate 
[org.springframework.cloud.consul.serviceregistry.ConsulAutoRegistration]: 
Factory method 'consulRegistration' threw exception; nested exception is 
java.lang.IllegalArgumentException: Consul service ids must not be empty, must 
start with a letter, end with a letter or digit, and have as interior 
characters only letters, digits, and hyphen: null
at 
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:587)
at 
org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91)

...

Caused by: java.lang.IllegalArgumentException: Consul service ids must not be 
empty, must start with a letter, end with a letter or digit, and have as 
interior characters only letters, digits, and hyphen: null
at 
org.springframework.cloud.consul.serviceregistry.ConsulAutoRegistration.normalizeForDns(ConsulAutoRegistration.java:179)
at 
org.springframework.cloud.consul.serviceregistry.ConsulAutoRegistration.getInstanceId(ConsulAutoRegistration.java:170){code}


was (Author: igarashitm):
For example this commit added @Ignore on some of ServiceCall tests

[https://github.com/apache/camel/commit/7ea22963f245b1090b52c8d56de0658af62d9c07]

> Spring Boot 2 - Fix the camel-example-spring-cloud-servicecall
> --------------------------------------------------------------
>
>                 Key: CAMEL-12378
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12378
>             Project: Camel
>          Issue Type: Sub-task
>            Reporter: Claus Ibsen
>            Assignee: Tomohisa Igarashi
>            Priority: Major
>             Fix For: 2.22.0
>
>
> This example fails with starting the consumer. Some weird SB classpath 
> problem.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to