You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "durgapmenonmck (via GitHub)" <gi...@apache.org> on 2023/02/22 15:47:43 UTC

[GitHub] [camel-karavan] durgapmenonmck opened a new issue, #664: Deployment of Karavan REST Service on Spring Boot Runtime throws Jackson related errors

durgapmenonmck opened a new issue, #664:
URL: https://github.com/apache/camel-karavan/issues/664

   Hi Team,
   
   We were able to successfully create a REST Service from Karavan Designer and the REST Service works fine when executed on Camel JBang runtime. 
   
   After exporting the Karavan Integration to SpringBoot runtime, we triggered the Maven build to create the Karavan microservice for the integration. 
   
   On deploying the Spring Boot service locally, getting Jackson related errors as follows. Even though, the exception appears to be ignored, Spring Boot  application fails to start up and shuts down. 
           
   ```
    Error generating OpenAPI from Camel Rest DSL due to: Cannot invoke "String.length()" because "name" is null. This exception is ignored.
             com.fasterxml.jackson.databind.JsonMappingException: Cannot invoke "String.length()" because "name" is null
   
   ```
   
   Attaching the SpringBoot application start-up error log and the Karavan Integration Sources.
   
   [Karavan_Spring_Boot_Runtime_Stack_Trace__OpenAPI_exception.txt](https://github.com/apache/camel-karavan/files/10805618/Karavan_Spring_Boot_Runtime_Stack_Trace__OpenAPI_exception.txt)
   [Karavan_CRD_Sources.zip](https://github.com/apache/camel-karavan/files/10805628/Karavan_CRD_Sources.zip)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-karavan] durgapmenonmck closed issue #664: Deployment of Karavan REST Service on Spring Boot Runtime throws Jackson related errors

Posted by "durgapmenonmck (via GitHub)" <gi...@apache.org>.
durgapmenonmck closed issue #664: Deployment of Karavan REST Service on Spring Boot Runtime throws Jackson related errors
URL: https://github.com/apache/camel-karavan/issues/664


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-karavan] durgapmenonmck commented on issue #664: Deployment of Karavan REST Service on Spring Boot Runtime throws Jackson related errors

Posted by "durgapmenonmck (via GitHub)" <gi...@apache.org>.
durgapmenonmck commented on issue #664:
URL: https://github.com/apache/camel-karavan/issues/664#issuecomment-1441204120

   Issue is resolved.
   
   One of the params in the YAML DSL had empty value. Removed it.
   
   Application was still failing with bean not found in Camel registry.
   
   Along with @BindToRegistry, provided the @Named annotation to reference the bean.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org