-
Bug
-
Resolution: Done
-
Major
-
camel-quarkus-2.2-GA
-
False
-
False
-
-
0
See error:
__ ____ __ _____ ___ __ ____ ______ --/ __ \/ / / / _ | / _ \/ //_/ / / / __/ -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \ --\___\_\____/_/ |_/_/|_/_/|_|\____/___/ 2021-11-01 17:30:01,689 INFO [org.apa.cam.qua.cor.CamelBootstrapRecorder] (main) Bootstrap runtime: org.apache.camel.quarkus.main.CamelMainRuntime 2021-11-01 17:30:01,695 INFO [org.apa.cam.mai.BaseMainSupport] (main) Auto-configuration summary 2021-11-01 17:30:01,695 INFO [org.apa.cam.mai.BaseMainSupport] (main) camel.component.salesforce.userName=xxxxxx 2021-11-01 17:30:01,695 INFO [org.apa.cam.mai.BaseMainSupport] (main) camel.component.salesforce.password=xxxxxx 2021-11-01 17:30:01,696 INFO [org.apa.cam.mai.BaseMainSupport] (main) camel.component.salesforce.clientSecret=xxxxxx 2021-11-01 17:30:01,696 INFO [org.apa.cam.mai.BaseMainSupport] (main) camel.component.salesforce.loginUrl=https://login.salesforce.com 2021-11-01 17:30:01,696 INFO [org.apa.cam.mai.BaseMainSupport] (main) camel.component.salesforce.clientId=3MVG99qusVZJwhsmVwtsfEQDmRgc.czFxZScCBW.YXtNP6dkKvbIRS3etAopTC2kbpEnUyEhgFRsmEiqtmDeQ 2021-11-01 17:30:01,697 INFO [org.apa.cam.sup.jss.SSLContextParameters] (main) Available providers: SUN version 11. 2021-11-01 17:30:01,704 INFO [org.apa.cam.com.sal.int.SalesforceSession] (main) Login at Salesforce loginUrl: https://login.salesforce.com/services/oauth2/token 2021-11-01 17:30:07,832 INFO [org.apa.cam.com.sal.int.SalesforceSession] (main) Login successful 2021-11-01 17:30:07,832 WARN [org.apa.cam.com.sal.SalesforceComponent] (main) Missing property packages, getSObject* operations will NOT work without property rawPayload=true 2021-11-01 17:30:13,800 INFO [org.apa.cam.com.sal.int.str.PushTopicHelper] (main) Found existing topic kamelet-topic1: Error in toString Cannot locate field CreatedById on class org.apache.camel.component.salesforce.internal.dto.PushTopic (through reference chain: org.apache.camel.component.salesforce.internal.dto.PushTopic["CreatedById"]) 2021-11-01 17:30:13,800 INFO [org.apa.cam.com.sal.int.str.PushTopicHelper] (main) Updating Topic kamelet-topic1 with Query [SELECT Id,FirstName,LastName,Email,Company FROM Lead where Email ='b811etnbTests@email.com'] 2021-11-01 17:30:13,801 ERROR [org.apa.cam.imp.eng.AbstractCamelContext] (main) Error starting CamelContext (camel-1) due to exception thrown: org.apache.camel.CamelException: Error updating topic kamelet-topic1 with query [SELECT Id,FirstName,LastName,Email,Company FROM Lead where Email ='b811etnbTests@email.com'] : Cannot locate field CreatedById on class org.apache.camel.component.salesforce.internal.dto.PushTopic (through reference chain: org.apache.camel.component.salesforce.internal.dto.PushTopic["CreatedById"]): org.apache.camel.RuntimeCamelException: org.apache.camel.CamelException: Error updating topic kamelet-topic1 with query [SELECT Id,FirstName,LastName,Email,Company FROM Lead where Email ='b811etnbTests@email.com'] : Cannot locate field CreatedById on class org.apache.camel.component.salesforce.internal.dto.PushTopic (through reference chain: org.apache.camel.component.salesforce.internal.dto.PushTopic["CreatedById"]) at org.apache.camel.support.service.BaseService.doFail(BaseService.java:413) at org.apache.camel.support.service.BaseService.fail(BaseService.java:342) at org.apache.camel.support.service.BaseService.start(BaseService.java:132) at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:113) at org.apache.camel.impl.engine.AbstractCamelContext.startService(AbstractCamelContext.java:3464) at org.apache.camel.impl.engine.InternalRouteStartupManager.doStartOrResumeRouteConsumers(InternalRouteStartupManager.java:401) at org.apache.camel.impl.engine.InternalRouteStartupManager.doStartRouteConsumers(InternalRouteStartupManager.java:319) at org.apache.camel.impl.engine.InternalRouteStartupManager.safelyStartRouteServices(InternalRouteStartupManager.java:213) at org.apache.camel.impl.engine.InternalRouteStartupManager.doStartOrResumeRoutes(InternalRouteStartupManager.java:147) at org.apache.camel.impl.engine.AbstractCamelContext.doStartCamel(AbstractCamelContext.java:3167) at org.apache.camel.impl.engine.AbstractCamelContext.doStartContext(AbstractCamelContext.java:2847) at org.apache.camel.impl.engine.AbstractCamelContext.doStart(AbstractCamelContext.java:2798) at org.apache.camel.support.service.BaseService.start(BaseService.java:119) at org.apache.camel.impl.engine.AbstractCamelContext.start(AbstractCamelContext.java:2494) at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:245) at org.apache.camel.quarkus.main.CamelMain.doStart(CamelMain.java:94) at org.apache.camel.support.service.BaseService.start(BaseService.java:119) at org.apache.camel.quarkus.main.CamelMain.startEngine(CamelMain.java:139) at org.apache.camel.quarkus.main.CamelMainRuntime.start(CamelMainRuntime.java:49) at org.apache.camel.quarkus.core.CamelBootstrapRecorder.start(CamelBootstrapRecorder.java:45) at io.quarkus.deployment.steps.CamelBootstrapProcessor$boot-173480958.deploy_0(CamelBootstrapProcessor$boot-173480958.zig:101) at io.quarkus.deployment.steps.CamelBootstrapProcessor$boot-173480958.deploy(CamelBootstrapProcessor$boot-173480958.zig:40) at io.quarkus.runner.ApplicationImpl.doStart(ApplicationImpl.zig:537) at io.quarkus.runtime.Application.start(Application.java:101) at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:101) at io.quarkus.runtime.Quarkus.run(Quarkus.java:66) at io.quarkus.runtime.Quarkus.run(Quarkus.java:42) at io.quarkus.runtime.Quarkus.run(Quarkus.java:119) at io.quarkus.runner.GeneratedMain.main(GeneratedMain.zig:29) Caused by: org.apache.camel.CamelException: Error updating topic kamelet-topic1 with query [SELECT Id,FirstName,LastName,Email,Company FROM Lead where Email ='b811etnbTests@email.com'] : Cannot locate field CreatedById on class org.apache.camel.component.salesforce.internal.dto.PushTopic (through reference chain: org.apache.camel.component.salesforce.internal.dto.PushTopic["CreatedById"]) at org.apache.camel.component.salesforce.internal.streaming.PushTopicHelper.updateTopic(PushTopicHelper.java:240) at org.apache.camel.component.salesforce.internal.streaming.PushTopicHelper.createOrUpdateTopic(PushTopicHelper.java:118) at org.apache.camel.component.salesforce.SalesforceConsumer.doStart(SalesforceConsumer.java:301) at org.apache.camel.support.service.BaseService.start(BaseService.java:119) ... 26 more Caused by: com.fasterxml.jackson.databind.JsonMappingException: Cannot locate field CreatedById on class org.apache.camel.component.salesforce.internal.dto.PushTopic (through reference chain: org.apache.camel.component.salesforce.internal.dto.PushTopic["CreatedById"]) at com.fasterxml.jackson.databind.ser.std.StdSerializer.wrapAndThrow(StdSerializer.java:316) at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFieldsFiltered(BeanSerializerBase.java:830) at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:176) at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider._serialize(DefaultSerializerProvider.java:480) at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:319) at com.fasterxml.jackson.databind.ObjectMapper._writeValueAndClose(ObjectMapper.java:4487) at com.fasterxml.jackson.databind.ObjectMapper.writeValueAsBytes(ObjectMapper.java:3765) at org.apache.camel.component.salesforce.internal.streaming.PushTopicHelper.updateTopic(PushTopicHelper.java:219) ... 29 more Caused by: java.lang.IllegalArgumentException: Cannot locate field CreatedById on class org.apache.camel.component.salesforce.internal.dto.PushTopic at org.apache.commons.lang3.Validate.isTrue(Validate.java:158) at org.apache.commons.lang3.reflect.FieldUtils.readField(FieldUtils.java:469) at org.apache.camel.component.salesforce.api.FieldsToNullPropertyFilter.serializeAsField(FieldsToNullPropertyFilter.java:34) at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFieldsFiltered(BeanSerializerBase.java:822) ... 35 more 2021-11-01 17:30:13,801 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Apache Camel 3.11.1.fuse-800025-redhat-00001 (camel-1) shutting down 2021-11-01 17:30:13,802 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Routes shutdown summary (total:1 stopped:1) 2021-11-01 17:30:13,802 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Stopped route1 (salesforce://kamelet-topic1) 2021-11-01 17:30:14,037 INFO [org.apa.cam.com.sal.int.SalesforceSession] (main) Logout successful 2021-11-01 17:30:14,039 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Apache Camel 3.11.1.fuse-800025-redhat-00001 (camel-1) shutdown in 238ms (uptime:12s342ms) 2021-11-01 17:30:14,039 WARN [org.apa.cam.imp.eng.AbstractCamelContext] (main) Lifecycle strategy org.apache.camel.impl.engine.OnCamelContextLifecycleStrategy@5b9fe883 failed on CamelContext (camel-1) due to: null. This exception will be ignored 2021-11-01 17:30:14,039 ERROR [org.apa.cam.qua.mai.CamelMainRuntime] (main) Failed to start application: org.apache.camel.RuntimeCamelException: org.apache.camel.CamelException: Error updating topic kamelet-topic1 with query [SELECT Id,FirstName,LastName,Email,Company FROM Lead where Email ='b811etnbTests@email.com'] : Cannot locate field CreatedById on class org.apache.camel.component.salesforce.internal.dto.PushTopic (through reference chain: org.apache.camel.component.salesforce.internal.dto.PushTopic["CreatedById"]) at org.apache.camel.support.service.BaseService.doFail(BaseService.java:413) at org.apache.camel.support.service.BaseService.fail(BaseService.java:342) at org.apache.camel.support.service.BaseService.start(BaseService.java:132) at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:113) at org.apache.camel.impl.engine.AbstractCamelContext.startService(AbstractCamelContext.java:3464) at org.apache.camel.impl.engine.InternalRouteStartupManager.doStartOrResumeRouteConsumers(InternalRouteStartupManager.java:401) at org.apache.camel.impl.engine.InternalRouteStartupManager.doStartRouteConsumers(InternalRouteStartupManager.java:319) at org.apache.camel.impl.engine.InternalRouteStartupManager.safelyStartRouteServices(InternalRouteStartupManager.java:213) at org.apache.camel.impl.engine.InternalRouteStartupManager.doStartOrResumeRoutes(InternalRouteStartupManager.java:147) at org.apache.camel.impl.engine.AbstractCamelContext.doStartCamel(AbstractCamelContext.java:3167) at org.apache.camel.impl.engine.AbstractCamelContext.doStartContext(AbstractCamelContext.java:2847) at org.apache.camel.impl.engine.AbstractCamelContext.doStart(AbstractCamelContext.java:2798) at org.apache.camel.support.service.BaseService.start(BaseService.java:119) at org.apache.camel.impl.engine.AbstractCamelContext.start(AbstractCamelContext.java:2494) at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:245) at org.apache.camel.quarkus.main.CamelMain.doStart(CamelMain.java:94) at org.apache.camel.support.service.BaseService.start(BaseService.java:119) at org.apache.camel.quarkus.main.CamelMain.startEngine(CamelMain.java:139) at org.apache.camel.quarkus.main.CamelMainRuntime.start(CamelMainRuntime.java:49) at org.apache.camel.quarkus.core.CamelBootstrapRecorder.start(CamelBootstrapRecorder.java:45) at io.quarkus.deployment.steps.CamelBootstrapProcessor$boot-173480958.deploy_0(CamelBootstrapProcessor$boot-173480958.zig:101) at io.quarkus.deployment.steps.CamelBootstrapProcessor$boot-173480958.deploy(CamelBootstrapProcessor$boot-173480958.zig:40) at io.quarkus.runner.ApplicationImpl.doStart(ApplicationImpl.zig:537) at io.quarkus.runtime.Application.start(Application.java:101) at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:101) at io.quarkus.runtime.Quarkus.run(Quarkus.java:66) at io.quarkus.runtime.Quarkus.run(Quarkus.java:42) at io.quarkus.runtime.Quarkus.run(Quarkus.java:119) at io.quarkus.runner.GeneratedMain.main(GeneratedMain.zig:29) Caused by: org.apache.camel.CamelException: Error updating topic kamelet-topic1 with query [SELECT Id,FirstName,LastName,Email,Company FROM Lead where Email ='b811etnbTests@email.com'] : Cannot locate field CreatedById on class org.apache.camel.component.salesforce.internal.dto.PushTopic (through reference chain: org.apache.camel.component.salesforce.internal.dto.PushTopic["CreatedById"]) at org.apache.camel.component.salesforce.internal.streaming.PushTopicHelper.updateTopic(PushTopicHelper.java:240) at org.apache.camel.component.salesforce.internal.streaming.PushTopicHelper.createOrUpdateTopic(PushTopicHelper.java:118) at org.apache.camel.component.salesforce.SalesforceConsumer.doStart(SalesforceConsumer.java:301) at org.apache.camel.support.service.BaseService.start(BaseService.java:119) ... 26 more Caused by: com.fasterxml.jackson.databind.JsonMappingException: Cannot locate field CreatedById on class org.apache.camel.component.salesforce.internal.dto.PushTopic (through reference chain: org.apache.camel.component.salesforce.internal.dto.PushTopic["CreatedById"]) at com.fasterxml.jackson.databind.ser.std.StdSerializer.wrapAndThrow(StdSerializer.java:316) at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFieldsFiltered(BeanSerializerBase.java:830) at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:176) at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider._serialize(DefaultSerializerProvider.java:480) at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:319) at com.fasterxml.jackson.databind.ObjectMapper._writeValueAndClose(ObjectMapper.java:4487) at com.fasterxml.jackson.databind.ObjectMapper.writeValueAsBytes(ObjectMapper.java:3765) at org.apache.camel.component.salesforce.internal.streaming.PushTopicHelper.updateTopic(PushTopicHelper.java:219) ... 29 more Caused by: java.lang.IllegalArgumentException: Cannot locate field CreatedById on class org.apache.camel.component.salesforce.internal.dto.PushTopic at org.apache.commons.lang3.Validate.isTrue(Validate.java:158) at org.apache.commons.lang3.reflect.FieldUtils.readField(FieldUtils.java:469) at org.apache.camel.component.salesforce.api.FieldsToNullPropertyFilter.serializeAsField(FieldsToNullPropertyFilter.java:34) at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFieldsFiltered(BeanSerializerBase.java:822) ... 35 more 2021-11-01 17:30:14,039 ERROR [io.qua.run.Application] (main) Failed to start application (with profile prod): java.lang.IllegalArgumentException: Cannot locate field CreatedById on class org.apache.camel.component.salesforce.internal.dto.PushTopic at org.apache.commons.lang3.Validate.isTrue(Validate.java:158) at org.apache.commons.lang3.reflect.FieldUtils.readField(FieldUtils.java:469) at org.apache.camel.component.salesforce.api.FieldsToNullPropertyFilter.serializeAsField(FieldsToNullPropertyFilter.java:34) at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFieldsFiltered(BeanSerializerBase.java:822) at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:176) at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider._serialize(DefaultSerializerProvider.java:480) at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:319) at com.fasterxml.jackson.databind.ObjectMapper._writeValueAndClose(ObjectMapper.java:4487) at com.fasterxml.jackson.databind.ObjectMapper.writeValueAsBytes(ObjectMapper.java:3765) at org.apache.camel.component.salesforce.internal.streaming.PushTopicHelper.updateTopic(PushTopicHelper.java:219) at org.apache.camel.component.salesforce.internal.streaming.PushTopicHelper.createOrUpdateTopic(PushTopicHelper.java:118) at org.apache.camel.component.salesforce.SalesforceConsumer.doStart(SalesforceConsumer.java:301) at org.apache.camel.support.service.BaseService.start(BaseService.java:119) at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:113) at org.apache.camel.impl.engine.AbstractCamelContext.startService(AbstractCamelContext.java:3464) at org.apache.camel.impl.engine.InternalRouteStartupManager.doStartOrResumeRouteConsumers(InternalRouteStartupManager.java:401) at org.apache.camel.impl.engine.InternalRouteStartupManager.doStartRouteConsumers(InternalRouteStartupManager.java:319) at org.apache.camel.impl.engine.InternalRouteStartupManager.safelyStartRouteServices(InternalRouteStartupManager.java:213) at org.apache.camel.impl.engine.InternalRouteStartupManager.doStartOrResumeRoutes(InternalRouteStartupManager.java:147) at org.apache.camel.impl.engine.AbstractCamelContext.doStartCamel(AbstractCamelContext.java:3167) at org.apache.camel.impl.engine.AbstractCamelContext.doStartContext(AbstractCamelContext.java:2847) at org.apache.camel.impl.engine.AbstractCamelContext.doStart(AbstractCamelContext.java:2798) at org.apache.camel.support.service.BaseService.start(BaseService.java:119) at org.apache.camel.impl.engine.AbstractCamelContext.start(AbstractCamelContext.java:2494) at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:245) at org.apache.camel.quarkus.main.CamelMain.doStart(CamelMain.java:94) at org.apache.camel.support.service.BaseService.start(BaseService.java:119) at org.apache.camel.quarkus.main.CamelMain.startEngine(CamelMain.java:139) at org.apache.camel.quarkus.main.CamelMainRuntime.start(CamelMainRuntime.java:49) at org.apache.camel.quarkus.core.CamelBootstrapRecorder.start(CamelBootstrapRecorder.java:45) at io.quarkus.deployment.steps.CamelBootstrapProcessor$boot-173480958.deploy_0(CamelBootstrapProcessor$boot-173480958.zig:101) at io.quarkus.deployment.steps.CamelBootstrapProcessor$boot-173480958.deploy(CamelBootstrapProcessor$boot-173480958.zig:40) at io.quarkus.runner.ApplicationImpl.doStart(ApplicationImpl.zig:537) at io.quarkus.runtime.Application.start(Application.java:101) at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:101) at io.quarkus.runtime.Quarkus.run(Quarkus.java:66) at io.quarkus.runtime.Quarkus.run(Quarkus.java:42) at io.quarkus.runtime.Quarkus.run(Quarkus.java:119) at io.quarkus.runner.GeneratedMain.main(GeneratedMain.zig:29)
- is duplicated by
-
ENTESB-17755 Failure in Salesforce component in Native with CQ5
- Done
1.
|
Documentation | Closed | Unassigned | ||
2.
|
Productization | Closed | Unassigned | ||
3.
|
Review Test | Closed | Unassigned | ||
4.
|
Development | Closed | Unassigned |