-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
%
-
FIS 2.0 Sprint 9
Tried the salesforce component /w a FIS SB project. Got the following error:
java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:506) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NoSuchMethodError: org.apache.camel.component.salesforce.SalesforceHttpClient.getProtocolHandlers()Ljava/util/List; at org.apache.camel.component.salesforce.SalesforceHttpClient.doStart(SalesforceHttpClient.java:76) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.apache.camel.component.salesforce.SalesforceComponent.doStart(SalesforceComponent.java:251) at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) at org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:3371) at org.apache.camel.impl.DefaultCamelContext.initComponent(DefaultCamelContext.java:431) at org.apache.camel.impl.DefaultCamelContext.lambda$getComponent$0(DefaultCamelContext.java:411) at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660) at org.apache.camel.impl.DefaultCamelContext.getComponent(DefaultCamelContext.java:411) at org.apache.camel.impl.DefaultCamelContext.getComponent(DefaultCamelContext.java:402) at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:592) at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:79) at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:211) at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:108) at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:114) at org.apache.camel.model.SendDefinition.resolveEndpoint(SendDefinition.java:62) at org.apache.camel.model.SendDefinition.createProcessor(SendDefinition.java:56) at org.apache.camel.model.ProcessorDefinition.makeProcessorImpl(ProcessorDefinition.java:539) at org.apache.camel.model.ProcessorDefinition.makeProcessor(ProcessorDefinition.java:500) at org.apache.camel.model.ProcessorDefinition.addRoutes(ProcessorDefinition.java:221) at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:1068) at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:196) at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:1008) at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:3397) at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3128) at org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:182) at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2957) at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2953) at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:2976) at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:2953) at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:2920) at org.apache.camel.spring.boot.RoutesCollector.maybeStart(RoutesCollector.java:141) at org.apache.camel.spring.boot.RoutesCollector.onApplicationEvent(RoutesCollector.java:116) at org.apache.camel.spring.boot.RoutesCollector.onApplicationEvent(RoutesCollector.java:41) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:166) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:382) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:336) at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:877) at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:144) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544) at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371) at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175) at org.example.ipaas.Application.main(Application.java:35)
Seems like the salesforce client does not like the Jetty version being used:
[INFO] +- org.apache.camel:camel-salesforce-starter:jar:2.18.1.redhat-000005:compile [INFO] | +- org.apache.camel:camel-salesforce:jar:2.18.1.redhat-000005:compile [INFO] | | +- com.thoughtworks.xstream:xstream:jar:1.4.9:compile [INFO] | | | +- xmlpull:xmlpull:jar:1.1.3.1:compile [INFO] | | | \- xpp3:xpp3_min:jar:1.1.4c:compile [INFO] | | +- org.cometd.java:cometd-java-client:jar:3.0.10:compile [INFO] | | | +- org.cometd.java:bayeux-api:jar:3.0.10:compile [INFO] | | | \- org.cometd.java:cometd-java-common:jar:3.0.10:compile [INFO] | | \- org.slf4j:slf4j-api:jar:1.7.21:compile [INFO] | +- org.eclipse.jetty:jetty-client:jar:9.3.11.v20160721:compile [INFO] | | \- org.eclipse.jetty:jetty-http:jar:9.3.11.v20160721:compile [INFO] | +- org.eclipse.jetty:jetty-io:jar:9.3.11.v20160721:compile [INFO] | +- org.eclipse.jetty:jetty-util:jar:9.3.11.v20160721:compile [INFO] | \- org.eclipse.jetty:jetty-util-ajax:jar:9.3.11.v20160721:compile
- relates to
-
ENTESB-8848 camel-salesforce: backport Composite API support
- Closed
-
ENTESB-8981 Review content of fabric8-project-bom-camel-spring-boot BOM
- Closed